get_vin_info
To get the unit VIN information, use the unit/get_vin_info command.
svc=unit/get_vin_info¶ms={"vin":<text>}
Parameters
The request must contain the vin parameter, specifying the VIN number.
Response
If the request is completed successfully, the unit VIN information is returned.
{
{
"vin_lookup_result":{
"pflds":[ /* Profile fields */
{
"n":<text>, /* Field name */
"v":<text> /* Field value */
},
...
]
}
}
}
If the request fails, a response of the following format is returned:
{
"vin_lookup_result":{
"error":<bool>, /* True if there is an error */
"message":<text>, /* Error message */
"reasons":[ /* Error reasons */
<text>,
...
]
}
}
Error codes
Error code | Description |
---|---|
6 | Failed to obtain VIN information. |
7 | Access to the avl_vin billing service denied. |