PUT api/TransactionTravelBus/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "0309688f-9e4d-449b-87ca-f34f106adfdf",
"BusID": "58ee1920-0d6e-4421-8646-0f694a46accc",
"TeacherID": "e317311c-a149-4601-a309-09b5303c8ec1",
"SchoolID": "a585f0b9-3d75-4af6-ac8d-c42cf06ca407",
"WorkDate": "2025-12-14T23:49:28.1225278+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:49:28.1225278+07:00",
"UpdateBy": "sample string 7",
"UpdateDate": "2025-12-14T23:49:28.1225278+07:00"
}
application/xml, text/xml
Sample:
<TransactionTravelBu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParentAPI.Models"> <BusID>58ee1920-0d6e-4421-8646-0f694a46accc</BusID> <CreateBy>sample string 6</CreateBy> <CreateDate>2025-12-14T23:49:28.1225278+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>a585f0b9-3d75-4af6-ac8d-c42cf06ca407</SchoolID> <Speed>1</Speed> <Status>1</Status> <TeacherID>e317311c-a149-4601-a309-09b5303c8ec1</TeacherID> <TravelBusID>0309688f-9e4d-449b-87ca-f34f106adfdf</TravelBusID> <UpdateBy>sample string 7</UpdateBy> <UpdateDate>2025-12-14T23:49:28.1225278+07:00</UpdateDate> <WorkDate>2025-12-14T23:49:28.1225278+07:00</WorkDate> </TransactionTravelBu>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.