GET localidade/codibge/{uf}/{cidade}
Recebe a unidade federativa (UF) e o nome da cidade e devolve o código do IBGE (Se não localizar devolve zero(0))
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
uf | string |
Required |
|
cidade | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Código do IBGE da cidade
integerResponse Formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>