POST API/Vehicle/GetVehicleInfo
Request Information
URI Parameters
None.
Body Parameters
VehicleInfoM| Name | Description | Type | Additional 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": "7803d3c5-0571-4c90-bfa0-a73ca4fa3153",
"vehicle_id": "89469ea6-efdf-4052-bd60-592b601bf3b9",
"regNumber": "sample string 2",
"mileage": 1,
"disabled": true,
"createDate": "2026-01-17T05:34:19.1205831+05:00",
"updateDate": "2026-01-17T05:34:19.1205831+05:00",
"updatePerson_id": "16e58517-9d4c-42e8-ab96-bfabf4d7a5bb",
"disabledDate": "2026-01-17T05:34:19.1205831+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:34:19.1205831+05:00</createDate> <disabled>true</disabled> <disabledDate>2026-01-17T05:34:19.1205831+05:00</disabledDate> <id>7803d3c5-0571-4c90-bfa0-a73ca4fa3153</id> <mileage>1</mileage> <regNumber>sample string 2</regNumber> <updateDate>2026-01-17T05:34:19.1205831+05:00</updateDate> <updatePerson_id>16e58517-9d4c-42e8-ab96-bfabf4d7a5bb</updatePerson_id> <vehicle_id>89469ea6-efdf-4052-bd60-592b601bf3b9</vehicle_id> </VehicleInfoM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>