Obtener una localidad por id
curl --request GET \
--url https://api.fegora.com/localidad/{id}const options = {method: 'GET'};
fetch('https://api.fegora.com/localidad/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fegora.com/localidad/{id}"
response = requests.get(url)
print(response.text){
"id": "GT.GU.CG",
"idLocalidadSuperior": "GT-GU",
"nombre": "Ciudad de Guatemala"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"traceId": "<string>"
}Catálogos
Obtener una localidad por id
GET
https://api.fegora.com
/
localidad
/
{id}
Obtener una localidad por id
curl --request GET \
--url https://api.fegora.com/localidad/{id}const options = {method: 'GET'};
fetch('https://api.fegora.com/localidad/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fegora.com/localidad/{id}"
response = requests.get(url)
print(response.text){
"id": "GT.GU.CG",
"idLocalidadSuperior": "GT-GU",
"nombre": "Ciudad de Guatemala"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"traceId": "<string>"
}