POST api/Vehicle/UpdateVehicle
Request Information
URI Parameters
None.
Body Parameters
VehicleModal| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId | integer |
None. |
|
| MemberId | integer |
None. |
|
| SerialNumber | string |
None. |
|
| VehicleSubTypeId | integer |
None. |
|
| RCNumber | string |
None. |
|
| PermitType | string |
None. |
|
| VehicleNo | string |
None. |
|
| InsuranceExpiry | date |
None. |
|
| Status | byte |
None. |
|
| RCPath | HttpPostedFileBase |
None. |
|
| InsurancePath | HttpPostedFileBase |
None. |
|
| PermitPath | HttpPostedFileBase |
None. |
Request Formats
application/json, text/json
Sample:
{
"VehicleId": 1,
"MemberId": 2,
"SerialNumber": "sample string 3",
"VehicleSubTypeId": 4,
"RCNumber": "sample string 5",
"PermitType": "sample string 6",
"VehicleNo": "sample string 7",
"InsuranceExpiry": "2026-05-27T17:31:37.0163861+00:00",
"Status": 64,
"RCPath": null,
"InsurancePath": null,
"PermitPath": null
}
application/xml, text/xml
Sample:
<VehicleModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnionOwnersBackend.Models"> <InsuranceExpiry>2026-05-27T17:31:37.0163861+00:00</InsuranceExpiry> <InsurancePath xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <MemberId>2</MemberId> <PermitPath xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <PermitType>sample string 6</PermitType> <RCNumber>sample string 5</RCNumber> <RCPath xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <SerialNumber>sample string 3</SerialNumber> <Status>64</Status> <VehicleId>1</VehicleId> <VehicleNo>sample string 7</VehicleNo> <VehicleSubTypeId>4</VehicleSubTypeId> </VehicleModal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />