POST api/transportaion/SaveBusDriver

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "medialist": [
    {
      "mediaData": "sample string 1",
      "mediaExtension": "sample string 2",
      "caption": "sample string 3",
      "mediaType": "sample string 4",
      "mediaPath": "sample string 5"
    },
    {
      "mediaData": "sample string 1",
      "mediaExtension": "sample string 2",
      "caption": "sample string 3",
      "mediaType": "sample string 4",
      "mediaPath": "sample string 5"
    },
    {
      "mediaData": "sample string 1",
      "mediaExtension": "sample string 2",
      "caption": "sample string 3",
      "mediaType": "sample string 4",
      "mediaPath": "sample string 5"
    }
  ],
  "busDriverId": 1,
  "delFlg": true,
  "createdOn": "2021-10-27T22:45:48.175584+05:30",
  "createdBy": "755044b9-41e5-49cc-a5b9-255f7cbd1ca3",
  "updatedOn": "2021-10-27T22:45:48.175584+05:30",
  "updatedBy": "d83f1a87-c260-4262-8547-305d656be87f",
  "schoolId": 5,
  "firstName": "sample string 6",
  "middleName": "sample string 7",
  "lastName": "sample string 8",
  "title": "sample string 9",
  "message": "sample string 10",
  "gender": "sample string 11",
  "maritalStatus": "sample string 12",
  "assignBusNo": "sample string 13",
  "religion": "sample string 14",
  "fatherFirstName": "sample string 15",
  "fatherLastName": "sample string 16",
  "spouseFirstName": "sample string 17",
  "spouseLastName": "sample string 18",
  "dateOfBirth": "2021-10-27T22:45:48.175584+05:30",
  "dateOfJoining": "2021-10-27T22:45:48.175584+05:30",
  "dateOfLeaving": "2021-10-27T22:45:48.175584+05:30",
  "country": "sample string 19",
  "state": "sample string 20",
  "city": "sample string 21",
  "addressLine1": "sample string 22",
  "addressLine2": "sample string 23",
  "policeStation": "sample string 24",
  "postCode": "sample string 25",
  "phone1": "sample string 26",
  "Phone2": "sample string 27",
  "Phone3": "sample string 28",
  "fax1": "sample string 29",
  "emailAddress": "sample string 30",
  "remarks": "sample string 31",
  "attachment": "57b370d8-3a09-4dc1-8093-ce128619ab97",
  "indianAadhaarCard": "sample string 32",
  "indianPAN": "sample string 33",
  "serviceStatus": "sample string 34",
  "serviceStartDate": "2021-10-27T22:45:48.1765818+05:30",
  "emergencyContact": "sample string 35",
  "emergencyContactNumber": "sample string 36",
  "experience": "sample string 37",
  "eSICNo": "sample string 38",
  "pfAccountNo": "sample string 39",
  "caption": "sample string 40",
  "mediaExtension": "sample string 41",
  "fileNameInS3": "sample string 42",
  "subDirectoryInBucket": "sample string 43",
  "busDriverName": "sample string 44"
}

application/xml, text/xml

Sample:
<BusDriversModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaviSchoolsService.Utility.PresenterModel">
  <Phone2>sample string 27</Phone2>
  <Phone3>sample string 28</Phone3>
  <addressLine1>sample string 22</addressLine1>
  <addressLine2>sample string 23</addressLine2>
  <assignBusNo>sample string 13</assignBusNo>
  <attachment>57b370d8-3a09-4dc1-8093-ce128619ab97</attachment>
  <busDriverId>1</busDriverId>
  <busDriverName>sample string 44</busDriverName>
  <caption>sample string 40</caption>
  <city>sample string 21</city>
  <country>sample string 19</country>
  <createdBy>755044b9-41e5-49cc-a5b9-255f7cbd1ca3</createdBy>
  <createdOn>2021-10-27T22:45:48.175584+05:30</createdOn>
  <dateOfBirth>2021-10-27T22:45:48.175584+05:30</dateOfBirth>
  <dateOfJoining>2021-10-27T22:45:48.175584+05:30</dateOfJoining>
  <dateOfLeaving>2021-10-27T22:45:48.175584+05:30</dateOfLeaving>
  <delFlg>true</delFlg>
  <eSICNo>sample string 38</eSICNo>
  <emailAddress>sample string 30</emailAddress>
  <emergencyContact>sample string 35</emergencyContact>
  <emergencyContactNumber>sample string 36</emergencyContactNumber>
  <experience>sample string 37</experience>
  <fatherFirstName>sample string 15</fatherFirstName>
  <fatherLastName>sample string 16</fatherLastName>
  <fax1>sample string 29</fax1>
  <fileNameInS3>sample string 42</fileNameInS3>
  <firstName>sample string 6</firstName>
  <gender>sample string 11</gender>
  <indianAadhaarCard>sample string 32</indianAadhaarCard>
  <indianPAN>sample string 33</indianPAN>
  <lastName>sample string 8</lastName>
  <maritalStatus>sample string 12</maritalStatus>
  <mediaExtension>sample string 41</mediaExtension>
  <medialist>
    <mediastreamModel>
      <caption>sample string 3</caption>
      <mediaData>sample string 1</mediaData>
      <mediaExtension>sample string 2</mediaExtension>
      <mediaPath>sample string 5</mediaPath>
      <mediaType>sample string 4</mediaType>
    </mediastreamModel>
    <mediastreamModel>
      <caption>sample string 3</caption>
      <mediaData>sample string 1</mediaData>
      <mediaExtension>sample string 2</mediaExtension>
      <mediaPath>sample string 5</mediaPath>
      <mediaType>sample string 4</mediaType>
    </mediastreamModel>
    <mediastreamModel>
      <caption>sample string 3</caption>
      <mediaData>sample string 1</mediaData>
      <mediaExtension>sample string 2</mediaExtension>
      <mediaPath>sample string 5</mediaPath>
      <mediaType>sample string 4</mediaType>
    </mediastreamModel>
  </medialist>
  <message>sample string 10</message>
  <middleName>sample string 7</middleName>
  <pfAccountNo>sample string 39</pfAccountNo>
  <phone1>sample string 26</phone1>
  <policeStation>sample string 24</policeStation>
  <postCode>sample string 25</postCode>
  <religion>sample string 14</religion>
  <remarks>sample string 31</remarks>
  <schoolId>5</schoolId>
  <serviceStartDate>2021-10-27T22:45:48.1765818+05:30</serviceStartDate>
  <serviceStatus>sample string 34</serviceStatus>
  <spouseFirstName>sample string 17</spouseFirstName>
  <spouseLastName>sample string 18</spouseLastName>
  <state>sample string 20</state>
  <subDirectoryInBucket>sample string 43</subDirectoryInBucket>
  <title>sample string 9</title>
  <updatedBy>d83f1a87-c260-4262-8547-305d656be87f</updatedBy>
  <updatedOn>2021-10-27T22:45:48.175584+05:30</updatedOn>
</BusDriversModel>

application/x-www-form-urlencoded

Sample:

Sample not available.