sgrListaCidadesCliente
Returns a list of cities used in the client's routes.
PARAMETERS
| Field | Type | Req.? | Description |
|---|---|---|---|
| accesskey | 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. |
| type | string | No | Enter “d” or “D” for destination cities, and “o” or “O” for origin cities. By default, the method returns the origin cities. |
METHOD RETURN:*
ReturnDataset: If the access key entered is valid, the dataset will display:
| Field | Type | Description |
|---|---|---|
| CDCID | integer | City Code |
| DSCIDADE | string | City Name |
| DSUF | string | State Acronym |
| CDIBGE | integer | IBGE City Code |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There are no cities available! |