POST API/Vehicle/SetVehicleInfo_History

Request Information

URI Parameters

None.

Body Parameters

VehicleInfo_HistoryM
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Vehicle_ID

globally unique identifier

None.

RegNumber

string

None.

Mileage

integer

None.

Disabled

boolean

None.

UpdatePerson_ID

globally unique identifier

None.

CreateDate

date

None.

DisabledDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "008ec0fb-2dc5-4e5d-a7bc-0f6e8231b27f",
  "Vehicle_ID": "b8b8b568-8bd0-4f24-9832-7f375eeb7101",
  "RegNumber": "sample string 3",
  "Mileage": 1,
  "Disabled": true,
  "UpdatePerson_ID": "c88aaaaf-016c-4a0a-8f02-6428ee17154c",
  "CreateDate": "2026-03-18T05:01:41.8742199+05:00",
  "DisabledDate": "2026-03-18T05:01:41.8742199+05:00"
}

application/xml, text/xml

Sample:
<VehicleInfo_HistoryM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Basic">
  <CreateDate>2026-03-18T05:01:41.8742199+05:00</CreateDate>
  <Disabled>true</Disabled>
  <DisabledDate>2026-03-18T05:01:41.8742199+05:00</DisabledDate>
  <ID>008ec0fb-2dc5-4e5d-a7bc-0f6e8231b27f</ID>
  <Mileage>1</Mileage>
  <RegNumber>sample string 3</RegNumber>
  <UpdatePerson_ID>c88aaaaf-016c-4a0a-8f02-6428ee17154c</UpdatePerson_ID>
  <Vehicle_ID>b8b8b568-8bd0-4f24-9832-7f375eeb7101</Vehicle_ID>
</VehicleInfo_HistoryM>

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>