sgrFinalizarViagem
Finalizes the Shipment Authorization.
PARAMETERS
Field | Type | Required? | Description |
---|---|---|---|
accessKey | 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. |
cdviagem | integer | Yes | Boarding authorization number. |
METHOD RETURN:
When the trip is completed, the ReturnID field will return the value 0 (zero).
ReturnDescription: If there is an error in the execution of the method, the property will display:
Error | Description |
---|---|
Unable to complete the trip. Error in the execution of the SP | For this error, the method may contain the details listed in Table 8. |