sgrRelRotaCliente
List of customer routes.
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. |
| typorelatorio | string | No | Report type. Send “d” to view the report with the detailed snippets. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
| Field | Type | Description |
|---|---|---|
| CLIENT | string | Client name |
| CDROTA | integer | Route code |
| DSROTA | string | Route name |
If the detailed report is selected, there will be another set of data (sgrTrechos):
| Field | Type | Description |
|---|---|---|
| CDROTA | integer | Route code |
| CDTRECHO | integer | Section code |
| CDROD | char(7) | Highway |
| DSTRECTION | string | Section name |
| VLSEQ | integer | Section sequence |