Skip to main content

sgrRetornaRotaCliente

Returns the route in Opentech from the previously registered customer route code.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
cdrotacliintegerYesCustomer route code

METHOD RETURN:

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

FieldTypeDescription
CDROTAintegerOpentech route code
DSROTAstringRoute name
CDROTACLIstringRoute code on client
CDORIGintegerOrigin city code
DSNOMECIDORIGstringName of city of origin
UFOchar(2)Origin state acronym
CDDESTintegerDestination city code
DSNOMECIDDESTstringName of destination city
UFDchar(2)Acronym of destination state

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

ErrorDescription
There are no routes with the given parameter!