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": "e9f2ba41-6186-4bf8-a344-add2dd6d56b5",
  "vehicle_id": "6be17507-9222-4621-9865-d8e16b592fd7",
  "regNumber": "sample string 2",
  "mileage": 1,
  "disabled": true,
  "createDate": "2026-03-18T05:02:07.29902+05:00",
  "updateDate": "2026-03-18T05:02:07.29902+05:00",
  "updatePerson_id": "bb020fe1-c330-4396-81ee-15af244c84ac",
  "disabledDate": "2026-03-18T05:02:07.29902+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-03-18T05:02:07.29902+05:00</createDate>
  <disabled>true</disabled>
  <disabledDate>2026-03-18T05:02:07.29902+05:00</disabledDate>
  <id>e9f2ba41-6186-4bf8-a344-add2dd6d56b5</id>
  <mileage>1</mileage>
  <regNumber>sample string 2</regNumber>
  <updateDate>2026-03-18T05:02:07.29902+05:00</updateDate>
  <updatePerson_id>bb020fe1-c330-4396-81ee-15af244c84ac</updatePerson_id>
  <vehicle_id>6be17507-9222-4621-9865-d8e16b592fd7</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>