PUT api/BusDrivers/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
BusDriver| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverID | globally unique identifier |
None. |
|
| BusID | globally unique identifier |
None. |
|
| SchoolID | globally unique identifier |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| IDCard | string |
None. |
|
| UserPic | string |
None. |
|
| DateOfBirth | date |
None. |
|
| Sex | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| SubDistrictID | globally unique identifier |
None. |
|
| DistrictID | globally unique identifier |
None. |
|
| ProvinceID | globally unique identifier |
None. |
|
| Country | string |
None. |
|
| ZipCode | string |
None. |
|
| Tel | string |
None. |
|
| string |
None. |
||
| IsActive | integer |
None. |
|
| CreateBy | string |
None. |
|
| CreateDate | date |
None. |
|
| UpdateBy | string |
None. |
|
| UpdateDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverID": "9dec800b-344d-414b-bf94-e0eba15d1397",
"BusID": "b6d79cfe-f087-4a25-93f1-d399c04cc2f3",
"SchoolID": "61e22379-c820-4164-8615-4296cff80a1c",
"UserName": "sample string 2",
"Password": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"IDCard": "sample string 6",
"UserPic": "sample string 7",
"DateOfBirth": "2026-07-24T23:03:46.8270172+07:00",
"Sex": "sample string 8",
"Address1": "sample string 9",
"Address2": "sample string 10",
"SubDistrictID": "1714f6bf-cef4-488d-96e1-0ee0a775ea6a",
"DistrictID": "3f90306a-c0c0-41ac-adf4-3ef921b99b96",
"ProvinceID": "306a9954-11ae-4d55-9f2d-e401555f6df3",
"Country": "sample string 11",
"ZipCode": "sample string 12",
"Tel": "sample string 13",
"Email": "sample string 14",
"IsActive": 15,
"CreateBy": "sample string 16",
"CreateDate": "2026-07-24T23:03:46.8270172+07:00",
"UpdateBy": "sample string 17",
"UpdateDate": "2026-07-24T23:03:46.8270172+07:00"
}
application/xml, text/xml
Sample:
<BusDriver xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParentAPI.Models"> <Address1>sample string 9</Address1> <Address2>sample string 10</Address2> <BusID>b6d79cfe-f087-4a25-93f1-d399c04cc2f3</BusID> <Country>sample string 11</Country> <CreateBy>sample string 16</CreateBy> <CreateDate>2026-07-24T23:03:46.8270172+07:00</CreateDate> <DateOfBirth>2026-07-24T23:03:46.8270172+07:00</DateOfBirth> <DistrictID>3f90306a-c0c0-41ac-adf4-3ef921b99b96</DistrictID> <DriverID>9dec800b-344d-414b-bf94-e0eba15d1397</DriverID> <Email>sample string 14</Email> <FirstName>sample string 4</FirstName> <IDCard>sample string 6</IDCard> <IsActive>15</IsActive> <LastName>sample string 5</LastName> <Password>sample string 3</Password> <ProvinceID>306a9954-11ae-4d55-9f2d-e401555f6df3</ProvinceID> <SchoolID>61e22379-c820-4164-8615-4296cff80a1c</SchoolID> <Sex>sample string 8</Sex> <SubDistrictID>1714f6bf-cef4-488d-96e1-0ee0a775ea6a</SubDistrictID> <Tel>sample string 13</Tel> <UpdateBy>sample string 17</UpdateBy> <UpdateDate>2026-07-24T23:03:46.8270172+07:00</UpdateDate> <UserName>sample string 2</UserName> <UserPic>sample string 7</UserPic> <ZipCode>sample string 12</ZipCode> </BusDriver>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.