POST api/businessTrip/travelOrder/vehicleTravelPlan

Request Information

URI Parameters

None.

Body Parameters

vehicle_drives_request
NameDescriptionTypeAdditional information
usr_id

integer

None.

date_from

date

None.

date_to

date

None.

obj_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "usr_id": 1,
  "date_from": "2025-05-22T18:36:10.7032937+02:00",
  "date_to": "2025-05-22T18:36:10.7032937+02:00",
  "obj_id": 4
}

application/xml, text/xml

Sample:
<vehicle_drives_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <date_from>2025-05-22T18:36:10.7032937+02:00</date_from>
  <date_to>2025-05-22T18:36:10.7032937+02:00</date_to>
  <obj_id>4</obj_id>
  <usr_id>1</usr_id>
</vehicle_drives_request>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.