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": "747e2c55-4e99-42c0-ad89-12ba9c54fbaa",
  "Vehicle_ID": "9ebbb435-62d0-4d7d-8c93-9c03601162dd",
  "RegNumber": "sample string 3",
  "Mileage": 1,
  "Disabled": true,
  "UpdatePerson_ID": "0874fcba-5cde-4fd6-956e-2f8e512b8950",
  "CreateDate": "2026-01-17T05:35:16.0864492+05:00",
  "DisabledDate": "2026-01-17T05:35:16.0864492+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-01-17T05:35:16.0864492+05:00</CreateDate>
  <Disabled>true</Disabled>
  <DisabledDate>2026-01-17T05:35:16.0864492+05:00</DisabledDate>
  <ID>747e2c55-4e99-42c0-ad89-12ba9c54fbaa</ID>
  <Mileage>1</Mileage>
  <RegNumber>sample string 3</RegNumber>
  <UpdatePerson_ID>0874fcba-5cde-4fd6-956e-2f8e512b8950</UpdatePerson_ID>
  <Vehicle_ID>9ebbb435-62d0-4d7d-8c93-9c03601162dd</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>