sgrListaEmpresasRastreamento
Returns the registered tracking companies.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| chaveacesso | 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. |
METHOD RETURN:
ReturnDataset: If the parameters are informed correctly, the dataset will display:
| Field | Type | Description |
|---|---|---|
| CDEMPRASTREA | integer | Tracking company code |
| DSNOME | string | Tracking company name |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There are no tracking companies linked to the company! |