GET api/BusDrivers/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
{
"DriverID": "ee211ab2-2c07-4d10-b3ee-23254b2425db",
"BusID": "be462410-ed6c-4029-b005-58310fde3863",
"SchoolID": "1578c65a-4e82-4731-a446-690b7a59a9fd",
"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:58:37.3528291+07:00",
"Sex": "sample string 8",
"Address1": "sample string 9",
"Address2": "sample string 10",
"SubDistrictID": "922766c5-2bd7-47e8-a492-54e67a1123f8",
"DistrictID": "5ed03e88-2e6d-4fc2-96b4-4912cbed8b18",
"ProvinceID": "5493c45e-6da9-486e-be24-abe32799536e",
"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:58:37.3684567+07:00",
"UpdateBy": "sample string 17",
"UpdateDate": "2025-12-14T23:58:37.3684567+07:00"
}
application/xml, text/xml
Sample:
<BusDriver xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models"> <Address1>sample string 9</Address1> <Address2>sample string 10</Address2> <BusID>be462410-ed6c-4029-b005-58310fde3863</BusID> <Country>sample string 11</Country> <CreateBy>sample string 16</CreateBy> <CreateDate>2025-12-14T23:58:37.3684567+07:00</CreateDate> <DateOfBirth>2025-12-14T23:58:37.3528291+07:00</DateOfBirth> <DistrictID>5ed03e88-2e6d-4fc2-96b4-4912cbed8b18</DistrictID> <DriverID>ee211ab2-2c07-4d10-b3ee-23254b2425db</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>5493c45e-6da9-486e-be24-abe32799536e</ProvinceID> <SchoolID>1578c65a-4e82-4731-a446-690b7a59a9fd</SchoolID> <Sex>sample string 8</Sex> <SubDistrictID>922766c5-2bd7-47e8-a492-54e67a1123f8</SubDistrictID> <Tel>sample string 13</Tel> <UpdateBy>sample string 17</UpdateBy> <UpdateDate>2025-12-14T23:58:37.3684567+07:00</UpdateDate> <UserName>sample string 2</UserName> <UserPic>sample string 7</UserPic> <ZipCode>sample string 12</ZipCode> </BusDriver>