POST api/my/basura/trucks/maps

Request Information

URI Parameters

None.

Body Parameters

TruckDateRangeDTO
NameDescriptionTypeAdditional information
date

date

None.

truckid

integer

None.

typeid

integer

None.

personnel

string

None.

status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2025-07-13T19:32:48.6020232+08:00",
  "truckid": 2,
  "typeid": 1,
  "personnel": "sample string 3",
  "status": true
}

application/xml, text/xml

Sample:
<TruckDateRangeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <date>2025-07-13T19:32:48.6020232+08:00</date>
  <personnel>sample string 3</personnel>
  <status>true</status>
  <truckid>2</truckid>
  <typeid>1</typeid>
</TruckDateRangeDTO>

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 'TruckDateRangeDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.