POST api/my/basura/personnel/createTripTicket

Request Information

URI Parameters

None.

Body Parameters

PersonnelTripTicketDTO
NameDescriptionTypeAdditional information
tripTicket

string

None.

truckId

integer

None.

createdDate

date

None.

password

string

None.

groupId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tripTicket": "sample string 1",
  "truckId": 2,
  "createdDate": "2025-07-13T18:51:51.328192+08:00",
  "password": "sample string 4",
  "groupId": 5
}

application/xml, text/xml

Sample:
<PersonnelTripTicketDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <createdDate>2025-07-13T18:51:51.328192+08:00</createdDate>
  <groupId>5</groupId>
  <password>sample string 4</password>
  <tripTicket>sample string 1</tripTicket>
  <truckId>2</truckId>
</PersonnelTripTicketDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.