POST api/TransactionTravelBus
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"TravelBusID": "53318a60-6ac3-412d-99a6-141c81587838",
"BusID": "0f5769bc-6dd6-4173-91cf-1505ccb74384",
"TeacherID": "14077646-fcc9-4f72-9916-c74f2319b277",
"SchoolID": "9d89430d-826a-4041-bbf1-b19bb19d6c25",
"WorkDate": "2026-06-02T05:33:14.918218+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": "2026-06-02T05:33:14.918218+07:00",
"UpdateBy": "sample string 7",
"UpdateDate": "2026-06-02T05:33:14.918218+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>0f5769bc-6dd6-4173-91cf-1505ccb74384</BusID> <CreateBy>sample string 6</CreateBy> <CreateDate>2026-06-02T05:33:14.918218+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>9d89430d-826a-4041-bbf1-b19bb19d6c25</SchoolID> <Speed>1</Speed> <Status>1</Status> <TeacherID>14077646-fcc9-4f72-9916-c74f2319b277</TeacherID> <TravelBusID>53318a60-6ac3-412d-99a6-141c81587838</TravelBusID> <UpdateBy>sample string 7</UpdateBy> <UpdateDate>2026-06-02T05:33:14.918218+07:00</UpdateDate> <WorkDate>2026-06-02T05:33:14.918218+07:00</WorkDate> </TransactionTravelBu>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "09c7496e-8766-4a46-96fc-f71d88681926",
"BusID": "9ad07f60-ea6d-484f-b69d-977e9a965399",
"TeacherID": "c73a1cb2-e8a2-4073-a374-1994547126b6",
"SchoolID": "8b30e3d5-b0c3-46b3-ad33-070f59426a62",
"WorkDate": "2026-06-02T05:33:14.918218+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": "2026-06-02T05:33:14.918218+07:00",
"UpdateBy": "sample string 7",
"UpdateDate": "2026-06-02T05:33:14.918218+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>9ad07f60-ea6d-484f-b69d-977e9a965399</BusID> <CreateBy>sample string 6</CreateBy> <CreateDate>2026-06-02T05:33:14.918218+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>8b30e3d5-b0c3-46b3-ad33-070f59426a62</SchoolID> <Speed>1</Speed> <Status>1</Status> <TeacherID>c73a1cb2-e8a2-4073-a374-1994547126b6</TeacherID> <TravelBusID>09c7496e-8766-4a46-96fc-f71d88681926</TravelBusID> <UpdateBy>sample string 7</UpdateBy> <UpdateDate>2026-06-02T05:33:14.918218+07:00</UpdateDate> <WorkDate>2026-06-02T05:33:14.918218+07:00</WorkDate> </TransactionTravelBu>