Skip to main content

sgrRetornaRotaOriDest

Returns a list of the company's routes according to the origin and destination parameters.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
cdcidorigemintegerYesOrigin city code, returned by the sgrListCities method.
cdciddestinationintegerYesDestination city code, returned by the sgrListCities method.

METHOD RETURN:

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

FieldTypeDescription
CDROTAintegerRoute code
DSROTAstringRoute Description

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

ErrorDescription
There are no routes with the given parameter!