POST api/my/basura/trucks/booking/vehicle/maps

Request Information

URI Parameters

None.

Body Parameters

TruckDateRangeVehicleDTO
NameDescriptionTypeAdditional information
date

date

None.

truckid

integer

None.

typeid

integer

None.

personnel

string

None.

status

boolean

None.

vehicleNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2025-12-10T17:27:17.5928826+08:00",
  "truckid": 2,
  "typeid": 1,
  "personnel": "sample string 3",
  "status": true,
  "vehicleNo": "sample string 4"
}

application/xml, text/xml

Sample:
<TruckDateRangeVehicleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <date>2025-12-10T17:27:17.5928826+08:00</date>
  <personnel>sample string 3</personnel>
  <status>true</status>
  <truckid>2</truckid>
  <typeid>1</typeid>
  <vehicleNo>sample string 4</vehicleNo>
</TruckDateRangeVehicleDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TruckDateRangeVehicleDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.