Skip to main content

sgrAtualizaParametrosTemperatura

Includes/changes the customer's temperature parameters.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
cdtpsenstempintegerYesSensor type code. This code is returned by the sgrListTypesSensorsTemperature method.
vltolerasupintegerYesUpper tolerated temperature.
vlidealsupintegerYesIdeal temperature higher.
vlidealinfintegerYesLower ideal temperature.
vltolerainfintegerYesLower tolerated temperature.

**METHOD RETURN

If the parameters are correct, the sgrData object will display ReturnID=0 (zero) and ReturnDescription=OK, indicating that the temperatures have been changed successfully.

ReturnDescription: If there is an error when executing the method, the property will display:

ErrorDescription
The person informed is not registeredFollow the steps in the item DRIVER CONSULTATION AND REGISTRATION
Photo recording failed! Try againhis error may be caused by an incorrect parameter, the field to be corrected will be indicated in the returnDataset property. This means you need to check the parameters and run the method again. It may also indicate a timeout or a dropped connection to the database. It is necessary to pass on the data entered, as well as the name of the method, the issue time and the customer code to the following e-mail address: [email protected] so that the error can be validated.