sgrListaTrechosRota
Method for adding products to customer orders.
PARAMETERS
Field | Type | Required? | Description |
---|---|---|---|
chaveacesso | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
cdcliente | integer | Yes | Client code, returned by the sgrListaEmpresasPASUsuario method. |
cdrota | integer | Yes | Route Code. This code is returned by the sgrListaRotas method. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
Field | Type | Description |
---|---|---|
CDSEQ | integer | Itinerary sequence order |
DSTRECHO | string | Leg Name |
CDTRECHO | integer | Route section code |
CDROD | integer | Highway |
ReturnDescription: If there is an error when executing the method, the property will display:
Error | Description |
---|---|
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. |