Skip to main content

sgrRetornaRotasAlteradas

Returns a list of changed routes for a given customer as of a given date.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
dtAlterdatetimeYesDate for search.

METHOD RETURN:

If the parameters are correct, the ReturnDataset property of the sgrData object will display:

FieldTypeDescription
CDROTAintegerOpentech route code
DSROTAstringRoute name
FLATsmallintRoute status (1-ACTIVE; 0-INACTIVE)

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

ErrorDescription
Period entered exceeds 365 daysYou need to decrease the query interval, and try again.
There are no route changes with the parameters entered!