POST api/my/basura/bookings/personnel/routes/create
Request Information
URI Parameters
None.
Body Parameters
PersonnelRoutesCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| refNumber | string |
None. |
|
| location | string |
None. |
|
| createdDate | date |
None. |
|
| startTime | date |
None. |
|
| endTime | date |
None. |
|
| isBooking | boolean |
None. |
|
| lat | decimal number |
None. |
|
| lon | decimal number |
None. |
|
| groupId | integer |
None. |
|
| tripTicket | string |
None. |
|
| truckNo | string |
None. |
|
| truckId | integer |
None. |
|
| personnelName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"refNumber": "sample string 1",
"location": "sample string 2",
"createdDate": "2025-12-10T17:26:11.4324992+08:00",
"startTime": "2025-12-10T17:26:11.4324992+08:00",
"endTime": "2025-12-10T17:26:11.4324992+08:00",
"isBooking": true,
"lat": 3.1,
"lon": 4.1,
"groupId": 5,
"tripTicket": "sample string 6",
"truckNo": "sample string 7",
"truckId": 8,
"personnelName": "sample string 9"
}
application/xml, text/xml
Sample:
<PersonnelRoutesCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <createdDate>2025-12-10T17:26:11.4324992+08:00</createdDate> <endTime>2025-12-10T17:26:11.4324992+08:00</endTime> <groupId>5</groupId> <isBooking>true</isBooking> <lat>3.1</lat> <location>sample string 2</location> <lon>4.1</lon> <personnelName>sample string 9</personnelName> <refNumber>sample string 1</refNumber> <startTime>2025-12-10T17:26:11.4324992+08:00</startTime> <tripTicket>sample string 6</tripTicket> <truckId>8</truckId> <truckNo>sample string 7</truckNo> </PersonnelRoutesCreate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.