sgrRelInstRastreamento
Tracking Instruction Report
PARAMETERS
| Field | Type | Req. | 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. |
| cdViag | integer | No | Shipment authorization number |
| cdOperacao | integer | No | Operation code. This code is returned by the sgrListaOperacoesCliente method. |
| cdVeic | integer | Yes | Vehicle code, returned by the sgrConsultaVeic method. |
| dtIni | datetime | Yes | Start date for the search. |
| dtEnd | datetime | Yes | End date for the search |
METHOD RETURN:
If the parameters are filled in correctly, the ReturnDataset property will display:
| Field | Type | Description |
|---|---|---|
| CDINSTRURASTR | integer | Tracking instruction code |
| CDOPERATION | integer | Operation code |
| DTPROGRAMMED | datetime | Scheduled date |
| DTINCL | datetime | Instruction inclusion date |
| DTINI | datetime | Instruction start date |
| DTFIM | datetime | Instruction end date |
| CDVIAG | integer | Shipment authorization number |
| NRPLACA | char(7) | Vehicle license plate |
| DSNOME | string | Driver's name |
| DSNOMECLI | string | Customer name |
| DSDESC | string | Type of instruction |
| DSNOMEALVO | datetime | Target name |
| DSNAMEACCESS | char(10) | Operator that included the instruction |
| DSCRIACAOROUTE | text | Route creation request text |