Skip to main content

sgrListaRotas

Lists the registered routes.

SoapAction

PARAMETERS

FieldTypeRequired?Description
chaveacessostringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesClient code, returned by the sgrListaEmpresasPASUsuario method.

METHOD RETURN:

ReturnDataset: If the parameters are valid, the property will display:

FieldTypeDescription
CDROTAintegerRoute code
DSROTAstringRoute name
VLKMTOTALfloat(8)Total route mileage
CDROTACLIstringRoute code on the client

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

ErrorDescription
There are no routes linked to the company!