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": "f19dab48-7b95-4205-ba3f-cb49cb825c47",
"BusID": "82ebeab5-a02d-4960-a631-a3e5522d6b7a",
"SchoolID": "7065fd72-25ff-41c8-8b4b-03fe3942d9de",
"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": "2025-12-14T23:51:57.4509131+07:00",
"Sex": "sample string 8",
"Address1": "sample string 9",
"Address2": "sample string 10",
"SubDistrictID": "c75f021c-ef82-412c-aac1-302bb0158400",
"DistrictID": "8a8d05a3-91f8-4c2f-9e5b-1eaef5578e2f",
"ProvinceID": "40835e81-97a5-40c3-930e-66178b63cf88",
"Country": "sample string 11",
"ZipCode": "sample string 12",
"Tel": "sample string 13",
"Email": "sample string 14",
"IsActive": 15,
"CreateBy": "sample string 16",
"CreateDate": "2025-12-14T23:51:57.4509131+07:00",
"UpdateBy": "sample string 17",
"UpdateDate": "2025-12-14T23:51:57.4509131+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>82ebeab5-a02d-4960-a631-a3e5522d6b7a</BusID> <Country>sample string 11</Country> <CreateBy>sample string 16</CreateBy> <CreateDate>2025-12-14T23:51:57.4509131+07:00</CreateDate> <DateOfBirth>2025-12-14T23:51:57.4509131+07:00</DateOfBirth> <DistrictID>8a8d05a3-91f8-4c2f-9e5b-1eaef5578e2f</DistrictID> <DriverID>f19dab48-7b95-4205-ba3f-cb49cb825c47</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>40835e81-97a5-40c3-930e-66178b63cf88</ProvinceID> <SchoolID>7065fd72-25ff-41c8-8b4b-03fe3942d9de</SchoolID> <Sex>sample string 8</Sex> <SubDistrictID>c75f021c-ef82-412c-aac1-302bb0158400</SubDistrictID> <Tel>sample string 13</Tel> <UpdateBy>sample string 17</UpdateBy> <UpdateDate>2025-12-14T23:51:57.4509131+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:
Response Information
Resource Description
None.