POST ShortTerm/UpdateTransunionVehicleData
Request Information
URI Parameters
None.
Body Parameters
UpdateTransunionVehicleData| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId | integer |
None. |
|
| ColorId | integer |
None. |
|
| VehicleCondition | string |
None. |
|
| VehicleMileage | integer |
None. |
|
| SumInsured | decimal number |
None. |
|
| VehicleIdentificationNumber | string |
None. |
|
| EngineNumber | string |
None. |
|
| RegistrationNumber | string |
None. |
|
| FinanceHouse | string |
None. |
|
| SecurityKey | string |
None. |
|
| PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"VehicleId": 1,
"ColorId": 2,
"VehicleCondition": "sample string 3",
"VehicleMileage": 4,
"SumInsured": 5.0,
"VehicleIdentificationNumber": "sample string 6",
"EngineNumber": "sample string 7",
"RegistrationNumber": "sample string 8",
"FinanceHouse": "sample string 9",
"SecurityKey": "sample string 10",
"PolicyId": 11
}
application/xml, text/xml
Sample:
<UpdateTransunionVehicleData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <PolicyId>11</PolicyId> <SecurityKey>sample string 10</SecurityKey> <ColorId>2</ColorId> <EngineNumber>sample string 7</EngineNumber> <FinanceHouse>sample string 9</FinanceHouse> <RegistrationNumber>sample string 8</RegistrationNumber> <SumInsured>5</SumInsured> <VehicleCondition>sample string 3</VehicleCondition> <VehicleId>1</VehicleId> <VehicleIdentificationNumber>sample string 6</VehicleIdentificationNumber> <VehicleMileage>4</VehicleMileage> </UpdateTransunionVehicleData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Entity | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Entity": 3
}
application/xml, text/xml
Sample:
<ResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity>3</Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfint>