sgrListaCidades
Returns a list of cities.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| accesskey | string | Yes | Key returned by the sgrLogin method. |
METHOD RETURN:
ReturnDataset: If the access key provided is valid, the dataset will display:
| Field | Type | Description |
|---|---|---|
| CDCID | integer | City Code |
| DSCIDADE | string | City Name |
| DSUF | string | State Acronym |
| DSPAIS | string | Country Name |
| NRDDD | smallint | City Area Code |
| 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! |