To get unit VIN info, use command unit/get_vin_info:
svc=unit/get_vin_info¶ms={"vin":<text>}
Name | Description |
---|---|
vin | VIN number |
If success:
{ { "vin_lookup_result":{ "pflds":[ /* profile fields */ {"n":<text>, /* field name */ "v":<text>}, /* field value */ ... ] } } }
If fail:
{ "vin_lookup_result":{ "error":<bool>, /* true if error */ "message":<text>, /* error message */ "reasons":[ /* error reasons */ <text>, ... ] } }
|