POST api/my/basura/trucks/routes/sites/new

Request Information

URI Parameters

None.

Body Parameters

GroupsScheduleDateNewDTO
NameDescriptionTypeAdditional information
startDate

date

None.

endDate

date

None.

vehicleNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "startDate": "2025-07-13T20:31:31.5926186+08:00",
  "endDate": "2025-07-13T20:31:31.5926186+08:00",
  "vehicleNo": "sample string 3"
}

application/xml, text/xml

Sample:
<GroupsScheduleDateNewDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <endDate>2025-07-13T20:31:31.5926186+08:00</endDate>
  <startDate>2025-07-13T20:31:31.5926186+08:00</startDate>
  <vehicleNo>sample string 3</vehicleNo>
</GroupsScheduleDateNewDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.