sgrRetornaDocumentosReferenciaTempo
List the trips that are in progress.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
| Field | Type | Description |
|---|---|---|
| DATAULTIMAPOSICAO | datetime | Date of last position |
| REFERENCEPOSITION | string | Reference point |
| DATAPREVENTED DELIVERY | datetime | Expected delivery date |
| FLIGNITION | smallint | Ignition status (1-On) |
| FLVEICMOV | char(1) | Vehicle status (P-Still, M-Moving) |
| VLDISTANCIARESTANTE | float | Remaining distance |
| NRCONTROLLER1 | string | Customer control 1 |
| NRCONTROLLIENT2 | string | Client control 2 |
| NRCONTROLLER3 | string | Client control 3 |
| NRCONTROLLER4 | string | Client control 4 |
| NRCONTROLLIENT5 | string | Client control 5 |
| NRCONTROLLIENT6 | string | Client control 6 |
| TRAVEL | integer | Boarding authorization number |
| DOCUMENT | string | Document number |
| VEHICLE | char(7) | Vehicle license plate |
| FLEET | char(7) | Vehicle fleet |