sgrSituacaoViagem
Indicates the current status of the trip.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdclient | integer | Yes | Customer code, returned by the sgrListCompaniesPASUser method. |
| cdtravel | integer | Yes | Shipment authorization number. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
| Field | Type | Description |
|---|---|---|
| CDVIAG | integer | Shipment authorization number |
| FLSITUACAO | smallint | Indicates the status of the trip |
| DSSITUATION | string | Situation |
| DTINI | datetime | Trip start date |
| DTFIM | datetime | Trip end date |