POST API/Vehicle/SetVehicleInfo

Request Information

URI Parameters

None.

Body Parameters

VehicleInfoM
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

vehicle_id

globally unique identifier

None.

regNumber

string

None.

mileage

integer

None.

disabled

boolean

None.

createDate

date

None.

updateDate

date

None.

updatePerson_id

globally unique identifier

None.

disabledDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "c1fd328f-e109-42c2-b5a7-2a93441e98cb",
  "vehicle_id": "58b08e48-de05-4d01-9ab4-32152273915e",
  "regNumber": "sample string 2",
  "mileage": 1,
  "disabled": true,
  "createDate": "2026-01-17T05:33:54.6870143+05:00",
  "updateDate": "2026-01-17T05:33:54.6870143+05:00",
  "updatePerson_id": "a7a4aee6-ce88-4340-ab1d-d5061b6f2a07",
  "disabledDate": "2026-01-17T05:33:54.6870143+05:00"
}

application/xml, text/xml

Sample:
<VehicleInfoM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Basic">
  <createDate>2026-01-17T05:33:54.6870143+05:00</createDate>
  <disabled>true</disabled>
  <disabledDate>2026-01-17T05:33:54.6870143+05:00</disabledDate>
  <id>c1fd328f-e109-42c2-b5a7-2a93441e98cb</id>
  <mileage>1</mileage>
  <regNumber>sample string 2</regNumber>
  <updateDate>2026-01-17T05:33:54.6870143+05:00</updateDate>
  <updatePerson_id>a7a4aee6-ce88-4340-ab1d-d5061b6f2a07</updatePerson_id>
  <vehicle_id>58b08e48-de05-4d01-9ab4-32152273915e</vehicle_id>
</VehicleInfoM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>