GET api/TransactionTravelBus/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
TransactionTravelBu| Name | Description | Type | Additional information |
|---|---|---|---|
| TravelBusID | globally unique identifier |
None. |
|
| BusID | globally unique identifier |
None. |
|
| TeacherID | globally unique identifier |
None. |
|
| SchoolID | globally unique identifier |
None. |
|
| WorkDate | date |
None. |
|
| Round | integer |
None. |
|
| Status | integer |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| LocationName | string |
None. |
|
| Speed | integer |
None. |
|
| PictureUrl | string |
None. |
|
| CreateBy | string |
None. |
|
| CreateDate | date |
None. |
|
| UpdateBy | string |
None. |
|
| UpdateDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"TravelBusID": "9ef17152-8275-4639-9170-500d800051cd",
"BusID": "d3610451-d040-461c-ad8c-18f891db1671",
"TeacherID": "556e8381-96b9-41b3-8035-3102f21ae300",
"SchoolID": "8ec292e2-ddac-4957-b8cb-48e89f2427fd",
"WorkDate": "2025-12-14T23:39:41.3257305+07:00",
"Round": 1,
"Status": 1,
"Latitude": "sample string 2",
"Longitude": "sample string 3",
"LocationName": "sample string 4",
"Speed": 1,
"PictureUrl": "sample string 5",
"CreateBy": "sample string 6",
"CreateDate": "2025-12-14T23:39:41.3257305+07:00",
"UpdateBy": "sample string 7",
"UpdateDate": "2025-12-14T23:39:41.3257305+07:00"
}
application/xml, text/xml
Sample:
<TransactionTravelBu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models"> <BusID>d3610451-d040-461c-ad8c-18f891db1671</BusID> <CreateBy>sample string 6</CreateBy> <CreateDate>2025-12-14T23:39:41.3257305+07:00</CreateDate> <Latitude>sample string 2</Latitude> <LocationName>sample string 4</LocationName> <Longitude>sample string 3</Longitude> <PictureUrl>sample string 5</PictureUrl> <Round>1</Round> <SchoolID>8ec292e2-ddac-4957-b8cb-48e89f2427fd</SchoolID> <Speed>1</Speed> <Status>1</Status> <TeacherID>556e8381-96b9-41b3-8035-3102f21ae300</TeacherID> <TravelBusID>9ef17152-8275-4639-9170-500d800051cd</TravelBusID> <UpdateBy>sample string 7</UpdateBy> <UpdateDate>2025-12-14T23:39:41.3257305+07:00</UpdateDate> <WorkDate>2025-12-14T23:39:41.3257305+07:00</WorkDate> </TransactionTravelBu>