Skip to main content

sgrListaCidades

Returns a list of cities.

SoapAction

PARAMETERS

FieldTypeRequired?Description
accesskeystringYesKey returned by the sgrLogin method.

METHOD RETURN:

ReturnDataset: If the access key provided is valid, the dataset will display:

FieldTypeDescription
CDCIDintegerCity Code
DSCIDADEstringCity Name
DSUFstringState Acronym
DSPAISstringCountry Name
NRDDDsmallintCity Area Code
CDIBGEintegerIBGE City Code

ReturnDescription: If there is an error executing the method, the property will display:

ErrorDescription
There are no cities available!