Skip to main content

sgrListaTrechosRota

Method for adding products to customer orders.

SoapAction

PARAMETERS

FieldTypeRequired?Description
chaveacessostringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesClient code, returned by the sgrListaEmpresasPASUsuario method.
cdrotaintegerYesRoute Code. This code is returned by the sgrListaRotas method.

METHOD RETURN:

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

FieldTypeDescription
CDSEQintegerItinerary sequence order
DSTRECHOstringLeg Name
CDTRECHOintegerRoute section code
CDRODintegerHighway

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

ErrorDescription
The requested route does not exist, is not linked to the company or does not have any linked sections!No section was found in the searched route. It is necessary to check if the route code was entered correctly.