POST api/businessTrip/vehicles/private/add

Request Information

URI Parameters

None.

Body Parameters

NewPersonalVehicleRqst
NameDescriptionTypeAdditional information
obj_name

string

None.

obj_registration

string

None.

obj_owner

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "obj_name": "sample string 1",
  "obj_registration": "sample string 2",
  "obj_owner": 3
}

application/xml, text/xml

Sample:
<NewPersonalVehicleRqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <obj_name>sample string 1</obj_name>
  <obj_owner>3</obj_owner>
  <obj_registration>sample string 2</obj_registration>
</NewPersonalVehicleRqst>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.