Constructor
# new GetVehicleVariableValuesList(userConfigopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
userConfig |
FetchConfig |
<optional> |
User configuration options to construct the class with. |
Methods
# async GetVehicleVariableValuesList(variableValue) → {Promise.<GetVehicleVariableValuesListResponse>}
This provides a list of all the accepted values for a given variable that are stored in the vPIC dataset.
This applies to only "Look up" type of variables.
variableValue
can either be a:- Variable Name ("battery type" in first example, please use full name, not just part of it),
- or Variable ID (number).
Parameters:
Name | Type | Description |
---|---|---|
variableValue |
string | number | The variable you want to get a values list of. |
Api Response object.
Promise.<GetVehicleVariableValuesListResponse>