sgrAtualizaSensoresTemperaturaVeiculo
Includes or modifies vehicle temperature sensors.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method |
| cdpaisorigem | integer | No | Field not used. Always send 0 (zero). |
| nrplate | string | Yes | Vehicle plate. |
| sensors | List | No | List of Temperature Sensors. To use this parameter, an array of type sgrSensorTemperature must be created. When no temperature parameters are entered, send an empty array. |
METHOD RETURN:
If the parameters are correct, the sgrData object will returnDescription=OK, indicating that the sensor data has been successfully included/amended.
ReturnDescription: If there is an error when executing the method, the property will display:
| Error | Description |
|---|---|
| Vehicle not found! | Follow the steps in VEHICLE CONSULTATION AND REGISTRATION. |