Lista Cidades
GET
/api/v2/country/state/{id_state}/city
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.corbee.com.br/api/v2/country/state//city'
Response Response Example
{
"status": true,
"message": "Listagem de Cidades",
"data": [
{
"id": 1,
"uf_id": "1",
"city": "ACRELANDIA",
"uf": "AC"
},
{
"id": 2,
"uf_id": "1",
"city": "ASSIS BRASIL",
"uf": "AC"
},
{
"id": 3,
"uf_id": "1",
"city": "BRASILEIA",
"uf": "AC"
},
{
"id": 4,
"uf_id": "1",
"city": "BUJARI",
"uf": "AC"
},
{
"id": 5,
"uf_id": "1",
"city": "CAPIXABA",
"uf": "AC"
},
{
"id": 6,
"uf_id": "1",
"city": "CRUZEIRO DO SUL",
"uf": "AC"
}
]
}
Requisição
Parâmetros Path
id_state
string
requerido
https://docs.gestao.corbee.com.br/estados