MENU navbar-image

Introduction

Esta documentación tiene como objetivo proporcionar toda la información que necesita para trabajar con nuestra API.

Connection via webhook

Para ser notificado de las actualizaciones con respecto a sus servicios usted deberá proporcionar un Endpoint de tipo POST.

Este endpoint no debe tener ningún tipo de autenticación ni devolver ningún dato.

Debe recibir los siguientes parámetos:

Body Parameters

id_service    integer  

Identificador del servicio lanzado.

status_id    integer  

Identificador del estado actual del servicio.

lat    float  

Latitud de la última localización registrada del aliado.

lng    float  

Longitud de la última localización registrada del aliado.

created_at    datetime  

Fecha y hora de notificación de actualización.

name_messenger    string  

Nombre del aliado.

phone_messenger    string  

Teléfono del aliado.

Base URL

https://prod-api-franchises.citix.com.co

Authenticating requests

This API is authenticated by sending a query parameter API_KEY in the request.

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

Endpoints

Coordenadas de dirección

requires authentication

Dada una dirección y una ciudad devuelve las coordenadas del lugar.

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddress"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "address": "et",
    "city": "distinctio"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddress',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
        'json' => [
            'address' => 'et',
            'city' => 'distinctio',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddress'
payload = {
    "address": "et",
    "city": "distinctio"
}
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()
curl --request POST \
    "https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddress?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"address\": \"et\",
    \"city\": \"distinctio\"
}"

Example response (200):


{
    "coordinates": [
        -73.13068003073832,
        7.117109986542303
    ],
    "properties": {
        "address": "Calle 35 9 81, García Rovira, Centro, Bucaramanga, Santander",
        "city": "Bucaramanga",
        "provided_by": "arcgis"
    }
}
 

Request      

POST api/v1/geocoder/getAddress

Query Parameters

API_KEY  string  

Authentication key.

Body Parameters

address  string  

Dirección a buscar.

city  string  

Ciudad de la dirección.

Response

Response Fields

coordinates  string[]  

Coordenadas de la dirección.

properties.address  string  

Dirección completa encontrada.

properties.city    

Ciudad encontrada.

properties.provided_by    

Servicio que provee la dirección.

Coordenadas de candidatos de direcciones

requires authentication

Dada una dirección y una ciudad devuelve un arrleglo de los candidatos coordenadas del lugar.

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddressCandidates"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "address": "velit",
    "city": "molestiae"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddressCandidates',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
        'json' => [
            'address' => 'velit',
            'city' => 'molestiae',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddressCandidates'
payload = {
    "address": "velit",
    "city": "molestiae"
}
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()
curl --request POST \
    "https://prod-api-franchises.citix.com.co/api/v1/geocoder/getAddressCandidates?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"address\": \"velit\",
    \"city\": \"molestiae\"
}"

Example response (200):


[
    {
        "coordinates": [
            -73.13068003073832,
            7.117109986542303
        ],
        "properties": {
            "address": "Calle 35 9 81, García Rovira, Centro, Bucaramanga, Santander",
            "city": "Bucaramanga",
            "provided_by": "arcgis"
        }
    },
    {
        "coordinates": [
            -74.13068003073832,
            71.1171099865423
        ],
        "properties": {
            "address": "Calle 12 1 2, Sánchez Rovira, Centro, Bucaramanga, Santander",
            "city": "Bucaramanga",
            "provided_by": "arcgis"
        }
    }
]
 

Request      

POST api/v1/geocoder/getAddressCandidates

Query Parameters

API_KEY  string  

Authentication key.

Body Parameters

address  string  

Dirección a buscar.

city  string  

Ciudad de la dirección.

Response

Response Fields

coordinates  string[]  

Coordenadas de la dirección.

properties.address  string  

Dirección completa encontrada.

properties.city    

Ciudad encontrada.

properties.provided_by    

Servicio que provee la dirección.

Información del usuario

requires authentication

Esta petición devuelve los datos del usuario.

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/account/me"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://prod-api-franchises.citix.com.co/api/v1/account/me',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/account/me'
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()
curl --request GET \
    --get "https://prod-api-franchises.citix.com.co/api/v1/account/me?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 59
x-ratelimit-remaining: 58
access-control-allow-origin: *
 

[
    {
        "id": 193,
        "backend": "FRANCHISES",
        "first_name": "Tienda de Prueba",
        "last_name": "CitixBga",
        "phone": "3235867224",
        "email": "[email protected]",
        "status": "ENABLED",
        "payment_method": "CASH",
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    }
]
 

Request      

GET api/v1/account/me

Query Parameters

API_KEY  string  

Authentication key.

Response

Response Fields

id  number  

Identificador del usuario.

first_name  string  

Primer nombre del usuario.

last_name  string  

Segundo nombre del usuario.

phone  string  

Número de teléfono.

email  string  

Correo electrónico.

status  boolean  

Estado de la cuenta.

city  object  

Ciudad.

city.id  integer  

Identificador de la ciudad.

city.name  string  

Nombre de la ciudad.

Tiendas

requires authentication

Esta petición devuelve todas las tiendas relacionadas con el usuario.

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/account/franchises"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://prod-api-franchises.citix.com.co/api/v1/account/franchises',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/account/franchises'
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()
curl --request GET \
    --get "https://prod-api-franchises.citix.com.co/api/v1/account/franchises?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 59
x-ratelimit-remaining: 57
access-control-allow-origin: *
 

{
    "message": "No tienes ninguna franquicia asociada, por favor crea una."
}
 

Request      

GET api/v1/account/franchises

Query Parameters

API_KEY  string  

Authentication key.

Response

Response Fields

id  number  

Identificador de la franquicia.

nit  string  

NIT del la franquicia.

name  string  

Nombre de la franquicia.

address  string  

Dirección.

phone  string  

Número de celular.

coordinates  object[]  

Coordenadas.

coordinates[].lat    

Latitud geográfica.

coordinates[].lng    

Longitud geográfica.

hashid  string  

Identificador por Hash.

Novedades

requires authentication

Esta petición crea novedades.

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/account/noveltie"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://prod-api-franchises.citix.com.co/api/v1/account/noveltie',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/account/noveltie'
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('POST', url, headers=headers, params=params)
response.json()
curl --request POST \
    "https://prod-api-franchises.citix.com.co/api/v1/account/noveltie?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):


{
    "name": "example2",
    "observation": "observacion segura",
    "service_id": 123
}
 

Request      

POST api/v1/account/noveltie

Query Parameters

API_KEY  string  

Authentication key.

Response

Response Fields

name  string  

Nombre de la novedad.

observation  string  

Observación de la novedad.

service_id  number  

Identificador del servicio.

Calcular costo de servicio

requires authentication

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/services/calculate_cost"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "coordinates": {
        "lat": 814218.5488201,
        "lng": 2804.2
    },
    "round_trip": true,
    "franchise_hashid": "temporibus",
    "city_id": "fugiat"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://prod-api-franchises.citix.com.co/api/v1/services/calculate_cost',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
        'json' => [
            'coordinates' => [
                'lat' => 814218.5488201,
                'lng' => 2804.2,
            ],
            'round_trip' => true,
            'franchise_hashid' => 'temporibus',
            'city_id' => 'fugiat',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/services/calculate_cost'
payload = {
    "coordinates": {
        "lat": 814218.5488201,
        "lng": 2804.2
    },
    "round_trip": true,
    "franchise_hashid": "temporibus",
    "city_id": "fugiat"
}
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()
curl --request POST \
    "https://prod-api-franchises.citix.com.co/api/v1/services/calculate_cost?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"coordinates\": {
        \"lat\": 814218.5488201,
        \"lng\": 2804.2
    },
    \"round_trip\": true,
    \"franchise_hashid\": \"temporibus\",
    \"city_id\": \"fugiat\"
}"

Example response (200):


{
    "base": {
        "value": 4500
    },
    "distancia": {
        "text": "4 km",
        "value": 700
    },
    "tiempo": {
        "text": "10 min",
        "value": 0
    },
    "paradas": {
        "text": 0,
        "value": 0
    },
    "round_trip": {
        "text": "false",
        "value": 1040
    },
    "consolidado": 6240
}
 

Request      

POST api/v1/services/calculate_cost

Query Parameters

API_KEY  string  

Authentication key.

Body Parameters

coordinates  object  

Coordenadas del destino, se tomará como origen la ubicación de la franquicia.

coordinates.lat  number  

Latitud geográfica.

coordinates.lng  number  

Longitud geográfica.

round_trip  boolean  

Indica si el servicio es de ida y vuelta.

franchise_hashid  string  

Identificador de franquicia.

city_id  string  

Identificador de ciudad.

Response

Response Fields

base.value  number  

Valor base del servicio.

distancia.text    

Distancia del servicio.

distancia.value    

Valor de la distancia del servicio.

tiempo.text    

Tiempo estimado del servicio.

tiempo.value    

Valor de tiempo estimado del servicio.

paradas.text    

Número de paradas.

paradas.value    

Valor de paradas.

round_trip.text    

Indica si el servicio es de ida y vuelta.

round_trip.value    

Valor de ida y vuelta.

consolidado  integer  

Valor total del servicio.

Estados de servicio

requires authentication

Devuelve todos los estados posibles de un servicio logístico.

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/services/status"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://prod-api-franchises.citix.com.co/api/v1/services/status',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/services/status'
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()
curl --request GET \
    --get "https://prod-api-franchises.citix.com.co/api/v1/services/status?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 59
x-ratelimit-remaining: 56
access-control-allow-origin: *
 

[
    {
        "id": 1,
        "name": "Lanzado",
        "code": "CREATED",
        "sequence": 1
    },
    {
        "id": 2,
        "name": "Cancelado",
        "code": "CANCELLED",
        "sequence": 6
    },
    {
        "id": 3,
        "name": "Tomado",
        "code": "TAKEN",
        "sequence": 2
    },
    {
        "id": 4,
        "name": "Finalizado",
        "code": "DONE",
        "sequence": 5
    },
    {
        "id": 6,
        "name": "Recogido",
        "code": "PICKED",
        "sequence": 4
    },
    {
        "id": 8,
        "name": "Arribo",
        "code": "ARRIVED",
        "sequence": 3
    }
]
 

Request      

GET api/v1/services/status

Query Parameters

API_KEY  string  

Authentication key.

Response

Response Fields

id  integer  

Identificador del estado.

name  string  

Nombre del estado.

code  string  

Código.

sequence  integer  

Orden de secuencia.

Solicitar servicio

requires authentication

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/services/request_service"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "coordinates": {
        "lat": 32569.59387,
        "lng": 17.028
    },
    "round_trip": false,
    "franchise_hashid": "tempora",
    "city_id": 3,
    "description": "voluptas",
    "value": 9,
    "invoice": "itaque",
    "order_value": 12,
    "address": "voluptatem",
    "payment_method": "occaecati",
    "programmed_at": "placeat",
    "destinatary": {
        "name": "dolor",
        "street": "voluptatem",
        "phone": "aliquid"
    }
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://prod-api-franchises.citix.com.co/api/v1/services/request_service',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
        'json' => [
            'coordinates' => [
                'lat' => 32569.59387,
                'lng' => 17.028,
            ],
            'round_trip' => false,
            'franchise_hashid' => 'tempora',
            'city_id' => 3,
            'description' => 'voluptas',
            'value' => 9,
            'invoice' => 'itaque',
            'order_value' => 12,
            'address' => 'voluptatem',
            'payment_method' => 'occaecati',
            'programmed_at' => 'placeat',
            'destinatary' => [
                'name' => 'dolor',
                'street' => 'voluptatem',
                'phone' => 'aliquid',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/services/request_service'
payload = {
    "coordinates": {
        "lat": 32569.59387,
        "lng": 17.028
    },
    "round_trip": false,
    "franchise_hashid": "tempora",
    "city_id": 3,
    "description": "voluptas",
    "value": 9,
    "invoice": "itaque",
    "order_value": 12,
    "address": "voluptatem",
    "payment_method": "occaecati",
    "programmed_at": "placeat",
    "destinatary": {
        "name": "dolor",
        "street": "voluptatem",
        "phone": "aliquid"
    }
}
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()
curl --request POST \
    "https://prod-api-franchises.citix.com.co/api/v1/services/request_service?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"coordinates\": {
        \"lat\": 32569.59387,
        \"lng\": 17.028
    },
    \"round_trip\": false,
    \"franchise_hashid\": \"tempora\",
    \"city_id\": 3,
    \"description\": \"voluptas\",
    \"value\": 9,
    \"invoice\": \"itaque\",
    \"order_value\": 12,
    \"address\": \"voluptatem\",
    \"payment_method\": \"occaecati\",
    \"programmed_at\": \"placeat\",
    \"destinatary\": {
        \"name\": \"dolor\",
        \"street\": \"voluptatem\",
        \"phone\": \"aliquid\"
    }
}"

Example response (200):


{
    "id": 4693,
    "payment_method": "CREDIT",
    "round_trip": 1,
    "description": "Descripción",
    "directions": [
        {
            "address": "Calle 18 24 61, Bucaramanga, Santander",
            "coordinates": {
                "lat": 7.131026020255418,
                "lng": -73.12180234665564
            },
            "description": "Descripción"
        },
        {
            "address": "El Centro",
            "coordinates": {
                "lat": 7.144303,
                "lng": -73.124718
            },
            "description": "Descripción"
        }
    ],
    "value": 6240,
    "franchise_id": 120,
    "created_at": "2021-09-22T00:14:11.000000Z",
    "hashid": "JqKlD",
    "state": {
        "id": 1,
        "name": "Lanzado",
        "code": "CREATED",
        "sequence": 1
    }
}
 

Request      

POST api/v1/services/request_service

Query Parameters

API_KEY  string  

Authentication key.

Body Parameters

coordinates  object  

Coordenadas del destino, se tomará como origen la ubicación de la franquicia.

coordinates.lat  number  

Latitud geográfica.

coordinates.lng  number  

Longitud geográfica.

round_trip  boolean  

Indica si el servicio es de ida y vuelta.

franchise_hashid  string  

Identificador Hash de la franquicia.

city_id  integer  

Identificador de la ciudad.

description  string  

Descripción del servicio. Se incluirá en la descripción del punto destino.

value  integer optional  

[Opcional] Valor del servicio. Necesita permiso de edición de valor de servicio. Si no cuenta con el permiso, este campo se ignorará.

invoice  string optional  

[Opcional] Factura del servicio. De carácter informativo. Necesita permiso de edición de factura. Si no cuenta con el permiso, este campo se ignorará.

order_value  integer optional  

[Opcional] Valor del pedido. De carácter informativo. Necesita permiso de edición de valor del pedido. Si no cuenta con el permiso, este campo se ignorará.

address  string  

Dirección formateada o Barrio del punto destino.

payment_method  `CASH` optional  

o CREDIT [Opcional] Método de pago del pedido.

programmed_at  datetime optional  

[Opcional] Fecha programada del servicio. Solo enviar cuando se requiera programar el servicio.

destinatary  object  

Cliente destino del pedido.

destinatary.name  string  

Nombre del destinatario.

destinatary.street  string  

Dirección del destinatario.

destinatary.phone  string  

Teléfono del destinatario. Lo identifica como cliente único.

Response

Response Fields

id  integer  

Identificador del servicio.

payment_method  string  

CASH o CREDIT Método de pago del servicio: efectivo o crédito

round_trip  boolean  

Indica si el servicio es de ida y vuelta.

description  string  

Descripción del servicio.

directions  string[]  

Recorrido completo del servicio.

value  integer  

Valor del servicio.

franchise_id  integer  

Identificador de la franquicia.

created_at  string  

datetime Fecha de lanzamiento del servicio.

hashid  string  

Identificador Hash de la franquicia.

state  object  

Estado actual del servicio.

state.id  integer  

Identificador del estado.

state.name  string  

Código del estado.

state.sequence  integer  

Orden de secuencia.

Barrios

requires authentication

Devuelve todos los barrios disponibles para las ciudades de: Bucaramanga, Piedecuesta

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/neighborhoods/all"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://prod-api-franchises.citix.com.co/api/v1/neighborhoods/all',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/neighborhoods/all'
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()
curl --request GET \
    --get "https://prod-api-franchises.citix.com.co/api/v1/neighborhoods/all?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 59
x-ratelimit-remaining: 55
access-control-allow-origin: *
 

[
    {
        "id": 2061,
        "name": "Colorados",
        "coordinates": [
            7.177367,
            -73.134909
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2062,
        "name": "Café Madrid",
        "coordinates": [
            7.161465,
            -73.141211
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2063,
        "name": "Las Hamacas",
        "coordinates": [
            7.156981,
            -73.137184
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2064,
        "name": "Altos del Kennedy",
        "coordinates": [
            7.156579,
            -73.1364
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2065,
        "name": "Kennedy",
        "coordinates": [
            7.151746,
            -73.134522
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2066,
        "name": "Balcones del Kennedy",
        "coordinates": [
            7.154463,
            -73.138497
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2067,
        "name": "Las Olas",
        "coordinates": [
            7.153558,
            -73.134829
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2068,
        "name": "Villa Rosa (sector I)",
        "coordinates": [
            7.153888,
            -73.131231
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2069,
        "name": "Villa Rosa (sector  II)",
        "coordinates": [
            7.154155,
            -73.129742
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2070,
        "name": "Villa Rosa (sector III)",
        "coordinates": [
            7.154743,
            -73.128749
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2071,
        "name": "Omagá (sector I)",
        "coordinates": [
            7.149699463648253,
            -73.13390968724319
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2072,
        "name": "Minuto de Dios",
        "coordinates": [
            7.148436,
            -73.133036
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2073,
        "name": "Tejar Norte (sector I )",
        "coordinates": [
            7.150374,
            -73.135164
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2074,
        "name": "Tejar Norte (sector II)",
        "coordinates": [
            7.151277,
            -73.135962
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2075,
        "name": "Altos del Progreso",
        "coordinates": [
            7.153446,
            -73.13281
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2076,
        "name": "María Paz",
        "coordinates": [
            7.148672,
            -73.139355
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2077,
        "name": "Colseguros Norte",
        "coordinates": [
            7.146968,
            -73.132286
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2078,
        "name": "Villa Helena I",
        "coordinates": [
            7.15038,
            -73.1259
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2079,
        "name": "Bavaria empresa",
        "coordinates": [
            7.1647076,
            -73.1383655
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2080,
        "name": "Bavaria I",
        "coordinates": [
            7.152842892330421,
            -73.1437485186872
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2081,
        "name": "Bavaria II",
        "coordinates": [
            7.150583870880161,
            -73.14918053150942
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2082,
        "name": "Villas de san ignacio II",
        "coordinates": [
            7.149806522952433,
            -73.1473195393844
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2083,
        "name": "Villa Helena II",
        "coordinates": [
            7.152402,
            -73.126983
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2084,
        "name": "Esperanza I",
        "coordinates": [
            7.145031,
            -73.125227
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2085,
        "name": "Esperanza II",
        "coordinates": [
            7.14622,
            -73.126274
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2086,
        "name": "Esperanza III",
        "coordinates": [
            7.148619,
            -73.126074
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2087,
        "name": "Lizcano I",
        "coordinates": [
            7.148692,
            -73.125135
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2088,
        "name": "Lizcano II",
        "coordinates": [
            7.149988,
            -73.124639
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2089,
        "name": "Regadero Norte",
        "coordinates": [
            7.144303,
            -73.124718
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2090,
        "name": "Transición I",
        "coordinates": [
            7.143141,
            -73.130285
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2091,
        "name": "Transición II",
        "coordinates": [
            7.144119,
            -73.127535
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2092,
        "name": "Transición III",
        "coordinates": [
            7.143986,
            -73.124057
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2093,
        "name": "La Independencia",
        "coordinates": [
            7.093988,
            -73.120449
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2094,
        "name": "Villa Mercedes",
        "coordinates": [
            7.144674,
            -73.134425
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2095,
        "name": "Bosque Norte",
        "coordinates": [
            7.159008,
            -73.137293
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2096,
        "name": "Olitas",
        "coordinates": [
            7.144061,
            -73.133271
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2097,
        "name": "Olas II",
        "coordinates": [
            7.155949,
            -73.134442
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2098,
        "name": "Norte Bajo",
        "coordinates": [
            7.143318,
            -73.136122
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2099,
        "name": "San Rafael",
        "coordinates": [
            7.140493,
            -73.134884
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2100,
        "name": "Chapinero",
        "coordinates": [
            7.137343,
            -73.132015
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2101,
        "name": "Comuneros",
        "coordinates": [
            7.139159,
            -73.12748
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2102,
        "name": "La Universidad",
        "coordinates": [
            7.137266,
            -73.123579
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2103,
        "name": "Mutualidad",
        "coordinates": [
            7.13209,
            -73.128728
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2104,
        "name": "Modelo",
        "coordinates": [
            7.132101,
            -73.129511
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2105,
        "name": "San Francisco",
        "coordinates": [
            7.131685,
            -73.122505
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2106,
        "name": "Alarcón",
        "coordinates": [
            7.126828,
            -73.121512
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2107,
        "name": "Puerto Rico",
        "coordinates": [
            7.140599,
            -73.116096
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2108,
        "name": "UIS",
        "coordinates": [
            7.1383153047797485,
            -73.1203663378986
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2109,
        "name": "Gaitán",
        "coordinates": [
            7.130445,
            -73.131007
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2110,
        "name": "Granadas",
        "coordinates": [
            7.117821,
            -73.137074
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2111,
        "name": "Nariño",
        "coordinates": [
            7.125445,
            -73.135691
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2112,
        "name": "Girardot",
        "coordinates": [
            7.121632,
            -73.136143
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2113,
        "name": "La Feria",
        "coordinates": [
            7.120082,
            -73.141232
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2114,
        "name": "paseo la feria",
        "coordinates": [
            7.121211676253234,
            -73.13954866193221
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2115,
        "name": "Nápoles",
        "coordinates": [
            7.118233,
            -73.145215
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2116,
        "name": "Pío Xll",
        "coordinates": [
            7.118608,
            -73.136315
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2117,
        "name": "23 de Junio",
        "coordinates": [
            7.117054,
            -73.136373
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2118,
        "name": "Santander",
        "coordinates": [
            7.115576384315,
            -73.13951234033699
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2119,
        "name": "Don Bosco",
        "coordinates": [
            7.115569,
            -73.142136
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2120,
        "name": "12 de Octubre",
        "coordinates": [
            7.111021,
            -73.147047
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2121,
        "name": "La Gloria",
        "coordinates": [
            7.112553,
            -73.14571
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2122,
        "name": "Camilo Torres",
        "coordinates": [
            7.12185637333146,
            -73.13853389159765
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2123,
        "name": "Quinta Estrella",
        "coordinates": [
            7.101082926877444,
            -73.14306906660208
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2124,
        "name": "Alfonso López",
        "coordinates": [
            7.114701,
            -73.132318
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2125,
        "name": "La Joya",
        "coordinates": [
            7.109887314311435,
            -73.14135948513054
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2126,
        "name": "Chorreras de Don Juan",
        "coordinates": [
            7.116407,
            -73.125861
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2127,
        "name": "Campohermoso",
        "coordinates": [
            7.105421,
            -73.137971
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2128,
        "name": "La Estrella",
        "coordinates": [
            7.100597,
            -73.144745
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2129,
        "name": "Primero de Mayo",
        "coordinates": [
            7.102345,
            -73.142261
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2130,
        "name": "Villa Romero",
        "coordinates": [
            7.111322,
            -73.129095
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2131,
        "name": "La Esmeralda",
        "coordinates": [
            7.086294,
            -73.165214
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2132,
        "name": "Los angeles",
        "coordinates": [
            7.15294465948781,
            -73.12439583648728
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2133,
        "name": "villa sara",
        "coordinates": [
            7.081833544106193,
            -73.12315000658731
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2134,
        "name": "Villa Helena",
        "coordinates": [
            7.152187485272479,
            -73.12636417672014
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2135,
        "name": "Villa alicia",
        "coordinates": [
            7.085493355839078,
            -73.12203650754036
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2136,
        "name": "Nuevo fontana",
        "coordinates": [
            7.088273430334196,
            -73.12158448687434
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2137,
        "name": "Punta Estrella",
        "coordinates": [
            7.089069454543018,
            -73.14475832858702
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2138,
        "name": "Nuevo sotomayor",
        "coordinates": [
            7.112330560611889,
            -73.11792367620497
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2139,
        "name": "Coaviconsa",
        "coordinates": [
            7.086429242090508,
            -73.12305553521114
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2140,
        "name": "Naranjos",
        "coordinates": [
            7.101354855435309,
            -73.12703623136744
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2141,
        "name": "Manzanares",
        "coordinates": [
            7.0949733942896485,
            -73.13914139532936
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2142,
        "name": "altos de pan de azucar",
        "coordinates": [
            7.112770556033362,
            -73.10332573137238
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2143,
        "name": "Pan de Azúcar bajos",
        "coordinates": [
            7.115572534733784,
            -73.10114062767829
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2144,
        "name": "La Concordia",
        "coordinates": [
            7.112254,
            -73.117295
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2145,
        "name": "San Miguel",
        "coordinates": [
            7.110744,
            -73.12283
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2146,
        "name": "Candiles",
        "coordinates": [
            7.10851,
            -73.127138
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2147,
        "name": "Gómez Niño",
        "coordinates": [
            7.107394,
            -73.120529
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2148,
        "name": "Ricaurte",
        "coordinates": [
            7.107138,
            -73.118079
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2149,
        "name": "La Ceiba",
        "coordinates": [
            7.104054,
            -73.115415
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2150,
        "name": "La Salle",
        "coordinates": [
            7.102057,
            -73.112193
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2151,
        "name": "La Victoria",
        "coordinates": [
            7.099971,
            -73.116451
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2152,
        "name": "Sotomayor",
        "coordinates": [
            7.114745,
            -73.113757
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2153,
        "name": "Antiguo Campestre",
        "coordinates": [
            7.112777,
            -73.112241
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2154,
        "name": "Bolarquí",
        "coordinates": [
            7.110321,
            -73.112785
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2155,
        "name": "Mercedes",
        "coordinates": [
            7.108756,
            -73.111934
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2156,
        "name": "Puerta del Sol",
        "coordinates": [
            7.103601,
            -73.112188
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2157,
        "name": "Conucos",
        "coordinates": [
            7.108369,
            -73.110842
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2158,
        "name": "El Jardín",
        "coordinates": [
            7.114024,
            -73.105628
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2159,
        "name": "Pan de Azúcar",
        "coordinates": [
            7.113919,
            -73.102897
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2160,
        "name": "Los Cedros",
        "coordinates": [
            7.117699,
            -73.10184
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2161,
        "name": "Terrazas",
        "coordinates": [
            7.10963,
            -73.105238
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2162,
        "name": "La Floresta",
        "coordinates": [
            7.105858,
            -73.105382
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2163,
        "name": "Cabecera del Llano",
        "coordinates": [
            7.121406,
            -73.109626
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2164,
        "name": "Ciudadela Real de Minas.",
        "coordinates": [
            7.103019,
            -73.121256
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2165,
        "name": "Macaregua",
        "coordinates": [
            7.106329,
            -73.120696
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2166,
        "name": "Los Almendros",
        "coordinates": [
            7.100666,
            -73.122538
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2167,
        "name": "San Gerardo",
        "coordinates": [
            7.098265,
            -73.124519
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2168,
        "name": "La Hoyada.",
        "coordinates": [
            7.094377,
            -73.126465
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2169,
        "name": "Los Canelos",
        "coordinates": [
            7.098024,
            -73.122745
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2170,
        "name": "Barrio Bucaramanga",
        "coordinates": [
            7.092679,
            -73.12525
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2171,
        "name": "Cordoncillo I y II",
        "coordinates": [
            7.098608,
            -73.119789
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2172,
        "name": "Pablo VI",
        "coordinates": [
            7.096293,
            -73.119646
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2173,
        "name": "20 de Julio",
        "coordinates": [
            7.094148,
            -73.122521
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2174,
        "name": "Africa",
        "coordinates": [
            7.095116,
            -73.120775
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2175,
        "name": "Juan XXIII",
        "coordinates": [
            7.096832,
            -73.120444
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2176,
        "name": "Los Laureles",
        "coordinates": [
            7.106298,
            -73.124682
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2177,
        "name": "Ciudad Bolívar",
        "coordinates": [
            7.0967,
            -73.125864
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2178,
        "name": "Manzana 10 del barrio Bucaramanga",
        "coordinates": [
            7.093376,
            -73.127125
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2179,
        "name": "Quebrada la Iglesia",
        "coordinates": [
            7.099621,
            -73.109646
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2180,
        "name": "Los Guayacanes.",
        "coordinates": [
            7.097611,
            -73.125706
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2181,
        "name": "Urbanizacion el sol I",
        "coordinates": [
            7.101564,
            -73.108735
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2182,
        "name": "Urbanizacion el sol II",
        "coordinates": [
            7.100094,
            -73.110033
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2183,
        "name": "Antonia Santos Sur",
        "coordinates": [
            7.101738,
            -73.110655
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2184,
        "name": "San Pedro Claver",
        "coordinates": [
            7.099327,
            -73.110731
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2185,
        "name": "San Martín",
        "coordinates": [
            7.100353,
            -73.110134
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2186,
        "name": "Nueva Granada",
        "coordinates": [
            7.097263,
            -73.114198
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2187,
        "name": "La Pedregosa",
        "coordinates": [
            7.096028,
            -73.107166
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2188,
        "name": "La Libertad",
        "coordinates": [
            7.094573,
            -73.107016
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2189,
        "name": "Diamante I",
        "coordinates": [
            7.091855,
            -73.106613
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2190,
        "name": "Villa Inés",
        "coordinates": [
            7.091346,
            -73.106217
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2191,
        "name": "Asturias",
        "coordinates": [
            7.089773,
            -73.1073
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2192,
        "name": "Las Casitas",
        "coordinates": [
            7.093575,
            -73.107155
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2193,
        "name": "Torres de Alejandría I",
        "coordinates": [
            7.09675,
            -73.110409
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2194,
        "name": "Torres de Alejandría II",
        "coordinates": [
            7.096664,
            -73.108925
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2195,
        "name": "Diamante II",
        "coordinates": [
            7.091116,
            -73.111123
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2196,
        "name": "Neptuno",
        "coordinates": [
            7.095551,
            -73.111146
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2197,
        "name": "San Luis",
        "coordinates": [
            7.092507,
            -73.117875
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2198,
        "name": "Provenza",
        "coordinates": [
            7.08491,
            -73.115439
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2199,
        "name": "El Cristal Alto",
        "coordinates": [
            7.076781,
            -73.118085
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2200,
        "name": "Fontana",
        "coordinates": [
            7.088435,
            -73.116117
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2201,
        "name": "Granjas de Provenza",
        "coordinates": [
            7.080222,
            -73.116316
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2202,
        "name": "Ciudad Venecia",
        "coordinates": [
            7.088989,
            -73.126348
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2203,
        "name": "Condado de Gibraltar",
        "coordinates": [
            7.086722,
            -73.126534
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2204,
        "name": "Villa Alicia",
        "coordinates": [
            7.088541,
            -73.121683
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2205,
        "name": "El Rocío",
        "coordinates": [
            7.0841,
            -73.12055
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2206,
        "name": "Toledo Plata",
        "coordinates": [
            7.082095,
            -73.122582
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2207,
        "name": "Dangond",
        "coordinates": [
            7.077254,
            -73.12466
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2208,
        "name": "Manuela Beltrán I y II",
        "coordinates": [
            7.082925,
            -73.123718
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2209,
        "name": "Igzabelar",
        "coordinates": [
            7.080876,
            -73.133101
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2210,
        "name": "Santa María",
        "coordinates": [
            7.079813,
            -73.132773
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2211,
        "name": "Los Robles",
        "coordinates": [
            7.081954,
            -73.122108
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2212,
        "name": "Granjas de Julio Rincón",
        "coordinates": [
            7.072581,
            -73.122701
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2213,
        "name": "Jardines de Coaviconsa",
        "coordinates": [
            7.086916,
            -73.124423
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2214,
        "name": "El Candado",
        "coordinates": [
            7.08143,
            -73.120854
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2215,
        "name": "Malpaso",
        "coordinates": [
            7.082121,
            -73.123642
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2216,
        "name": "El Porvenir",
        "coordinates": [
            7.081721,
            -73.129582
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2217,
        "name": "Las Delicias",
        "coordinates": [
            7.082421,
            -73.122765
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2218,
        "name": "Los Pinos",
        "coordinates": [
            7.135233,
            -73.110038
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2219,
        "name": "San Alonso",
        "coordinates": [
            7.13193,
            -73.11677
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2220,
        "name": "Galán",
        "coordinates": [
            7.130427,
            -73.112757
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2221,
        "name": "La Aurora",
        "coordinates": [
            7.123782,
            -73.114377
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2222,
        "name": "Batallón",
        "coordinates": [
            7.132305,
            -73.112587
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2223,
        "name": "Estadio",
        "coordinates": [
            7.135987,
            -73.117964
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2224,
        "name": "Las Américas",
        "coordinates": [
            7.128557,
            -73.107002
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2225,
        "name": "El Prado",
        "coordinates": [
            7.123719,
            -73.110013
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2226,
        "name": "Mejoras Públicas",
        "coordinates": [
            7.120877,
            -73.1149
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2227,
        "name": "Alvarez",
        "coordinates": [
            7.127379,
            -73.109507
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2228,
        "name": "El Diviso",
        "coordinates": [
            7.136914,
            -73.106502
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2229,
        "name": "Morrorico",
        "coordinates": [
            7.131155,
            -73.101297
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2230,
        "name": "Vegas de Morrorico",
        "coordinates": [
            7.137304,
            -73.107099
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2231,
        "name": "Albania",
        "coordinates": [
            7.129142,
            -73.105504
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2232,
        "name": "Miraflores",
        "coordinates": [
            7.13137,
            -73.101841
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2233,
        "name": "Buenos Aires",
        "coordinates": [
            7.130492,
            -73.099842
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2234,
        "name": "Limoncito",
        "coordinates": [
            7.06502,
            -73.079269
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2235,
        "name": "Los Sauces",
        "coordinates": [
            7.101247,
            -73.108514
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2236,
        "name": "Bolívar",
        "coordinates": [
            7.119401,
            -73.119485
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2237,
        "name": "Antonia Santos",
        "coordinates": [
            7.120487,
            -73.120011
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2238,
        "name": "Centro",
        "coordinates": [
            7.120917,
            -73.125851
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2239,
        "name": "Garcia Rovira",
        "coordinates": [
            7.117174,
            -73.130338
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2240,
        "name": "Lagos del Cacique",
        "coordinates": [
            7.104634,
            -73.097059
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2241,
        "name": "Udes",
        "coordinates": [
            7.106781,
            -73.095646
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2242,
        "name": "El Tejar",
        "coordinates": [
            7.097314,
            -73.10536
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2243,
        "name": "San Expedito",
        "coordinates": [
            7.098777,
            -73.094057
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2244,
        "name": "Altos del Lago",
        "coordinates": [
            7.10067,
            -73.095316
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2245,
        "name": "Bosques del Cacique",
        "coordinates": [
            7.096508,
            -73.094434
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2246,
        "name": "Mutis",
        "coordinates": [
            7.100099,
            -73.129739
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2247,
        "name": "Urbanizaciones: Prados del Mutis.",
        "coordinates": [
            7.095407,
            -73.136158
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2248,
        "name": "Balconcitos",
        "coordinates": [
            7.104088,
            -73.131157
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2249,
        "name": "Monterredondo",
        "coordinates": [
            7.093698,
            -73.1324
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2250,
        "name": "Heroes",
        "coordinates": [
            7.096393,
            -73.129565
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2251,
        "name": "Estoraques I",
        "coordinates": [
            7.089806,
            -73.144009
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2252,
        "name": "Estoraques II",
        "coordinates": [
            7.092898,
            -73.14188
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2253,
        "name": "Provincia de Soto I",
        "coordinates": [
            7.086454,
            -73.134967
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2254,
        "name": "Provincia de Soto II",
        "coordinates": [
            7.083707,
            -73.137682
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2255,
        "name": "Prados del Mutis",
        "coordinates": [
            7.095259,
            -73.135859
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2451,
        "name": "Hospital Internacional",
        "coordinates": [
            7.036262885222218,
            -73.06856665395645
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2452,
        "name": "Calatrava",
        "coordinates": [
            7.029431492619662,
            -73.06424270788192
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2453,
        "name": "Comfenalco",
        "coordinates": [
            7.044878119092698,
            -73.07768854889873
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2454,
        "name": "Menzuly",
        "coordinates": [
            7.033110912422034,
            -73.07083248664627
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2455,
        "name": "Bariloche",
        "coordinates": [
            6.987457,
            -73.05715
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2456,
        "name": "Barroblanco",
        "coordinates": [
            6.96695,
            -73.066471
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2457,
        "name": "Buenos Aires",
        "coordinates": [
            6.987094,
            -73.055588
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2458,
        "name": "Cabecera del Llano",
        "coordinates": [
            6.990608,
            -73.044316
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2459,
        "name": "Callejuelas",
        "coordinates": [
            6.998977,
            -73.054745
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2460,
        "name": "Campo verde",
        "coordinates": [
            6.990967,
            -73.055395
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2461,
        "name": "Arvoreto",
        "coordinates": [
            6.998628,
            -73.060926
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2462,
        "name": "Cataluña",
        "coordinates": [
            6.992441,
            -73.054939
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2463,
        "name": "Chacarita",
        "coordinates": [
            6.99254,
            -73.051321
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2464,
        "name": "Chcarita II",
        "coordinates": [
            6.988093,
            -73.055856
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2465,
        "name": "Camelot",
        "coordinates": [
            6.985759,
            -73.053374
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2466,
        "name": "Divino Niño",
        "coordinates": [
            6.998724,
            -73.060032
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2467,
        "name": "El centro",
        "coordinates": [
            6.98499,
            -73.052142
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2468,
        "name": "El trapiche",
        "coordinates": [
            6.996043,
            -73.060074
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2469,
        "name": "El refugio",
        "coordinates": [
            6.99801,
            -73.062724
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2470,
        "name": "El molino",
        "coordinates": [
            6.985305,
            -73.043988
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2471,
        "name": "Halcon de granada",
        "coordinates": [
            6.994942,
            -73.043941
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2472,
        "name": "Hoyo chiquito",
        "coordinates": [
            6.989763,
            -73.050581
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2473,
        "name": "Hoyo Grande",
        "coordinates": [
            6.977648,
            -73.051424
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2474,
        "name": "La argentina",
        "coordinates": [
            6.994247,
            -73.057618
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2475,
        "name": "La candelaria",
        "coordinates": [
            6.999577,
            -73.058762
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2476,
        "name": "La cantera",
        "coordinates": [
            6.985399,
            -73.055413
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2477,
        "name": "La castellana",
        "coordinates": [
            6.993519,
            -73.051744
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2478,
        "name": "La colina",
        "coordinates": [
            6.994307,
            -73.043389
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2479,
        "name": "La feria",
        "coordinates": [
            6.983963,
            -73.053577
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2480,
        "name": "La gloria",
        "coordinates": [
            6.98999,
            -73.050052
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2481,
        "name": "La macarena",
        "coordinates": [
            6.997107,
            -73.051129
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2482,
        "name": "La rioja",
        "coordinates": [
            6.999127,
            -73.05455
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2483,
        "name": "La tachuela",
        "coordinates": [
            6.989403,
            -73.054281
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2484,
        "name": "Las delicias",
        "coordinates": [
            6.991612,
            -73.046602
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2485,
        "name": "Los cisnes",
        "coordinates": [
            6.970942,
            -73.050145
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2486,
        "name": "Miraflores",
        "coordinates": [
            6.973017,
            -73.055454
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2487,
        "name": "Palermo",
        "coordinates": [
            6.992091,
            -73.057481
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2488,
        "name": "Paseo del Puente I",
        "coordinates": [
            6.978469,
            -73.048851
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2489,
        "name": "Paseo del Puente II",
        "coordinates": [
            6.973827,
            -73.048795
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2490,
        "name": "Paseo galicia",
        "coordinates": [
            6.996408,
            -73.054235
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2491,
        "name": "Portal del Molino",
        "coordinates": [
            6.985369,
            -73.039995
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2492,
        "name": "Portal del Valle",
        "coordinates": [
            6.972368,
            -73.051306
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2493,
        "name": "Paysandu",
        "coordinates": [
            6.992739,
            -73.060501
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2494,
        "name": "Pinares de Granada",
        "coordinates": [
            7.003108,
            -73.0536
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2495,
        "name": "Pinares Campestre",
        "coordinates": [
            7.003811,
            -73.05327
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2496,
        "name": "Nuevo Pinares",
        "coordinates": [
            7.004096,
            -73.052626
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2497,
        "name": "Puerto Madero",
        "coordinates": [
            6.993163,
            -73.047768
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2498,
        "name": "Quinta Granada",
        "coordinates": [
            7.002481,
            -73.053047
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2499,
        "name": "San Antonio",
        "coordinates": [
            6.986633,
            -73.047049
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2500,
        "name": "San Carlos",
        "coordinates": [
            6.999019,
            -73.052038
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2501,
        "name": "San Cristobal",
        "coordinates": [
            6.994463,
            -73.047571
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2502,
        "name": "San francisco de la cuesta",
        "coordinates": [
            6.997802,
            -73.049589
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2503,
        "name": "San Luis",
        "coordinates": [
            6.993741,
            -73.048042
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2504,
        "name": "San Marcos",
        "coordinates": [
            6.993046,
            -73.04356
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2505,
        "name": "San rafael",
        "coordinates": [
            6.989298,
            -73.046817
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2506,
        "name": "San telmo",
        "coordinates": [
            6.996464,
            -73.057472
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2507,
        "name": "Soratoque",
        "coordinates": [
            6.988984,
            -73.055846
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2508,
        "name": "Tejaditos",
        "coordinates": [
            6.973306,
            -73.057376
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2509,
        "name": "Villalina",
        "coordinates": [
            6.989895,
            -73.057078
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2510,
        "name": "Villaluz",
        "coordinates": [
            6.991972,
            -73.050474
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2511,
        "name": "Villanueva",
        "coordinates": [
            6.991329,
            -73.051542
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2512,
        "name": "Villa marcela",
        "coordinates": [
            6.976668,
            -73.053916
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2513,
        "name": "Paseo Real",
        "coordinates": [
            6.975121,
            -73.049302
        ],
        "company_id": 14,
        "city": {
            "id": 1101,
            "name": "Piedecuesta"
        }
    },
    {
        "id": 2522,
        "name": "Altos del Cacique",
        "coordinates": [
            7.099222,
            -73.09639
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2523,
        "name": "Guarin",
        "coordinates": [
            7.12697,
            -73.112121
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2524,
        "name": "Centroabastos",
        "coordinates": [
            7.102605,
            -73.16615
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2530,
        "name": "C.C Cacique",
        "coordinates": [
            7.09819,
            -73.107476
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2531,
        "name": "C.C. La Quinta",
        "coordinates": [
            7.115339,
            -73.108321
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2533,
        "name": "C.C. Kalifa",
        "coordinates": [
            7.120338,
            -73.124343
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2534,
        "name": "Provincia de soto",
        "coordinates": [
            7.086805,
            -73.135109
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2539,
        "name": "Parque Industrial Ruta169 Inacar",
        "coordinates": [
            7.144802261358958,
            -73.15114989116165
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2544,
        "name": "Conjunto Comultrasan Provenza",
        "coordinates": [
            7.078038,
            -73.116277
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2546,
        "name": "Cristal Bajo",
        "coordinates": [
            7.073015,
            -73.120148
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2551,
        "name": "Fatima",
        "coordinates": [
            7.095646,
            -73.100661
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2554,
        "name": "Santa Barbara",
        "coordinates": [
            7.097688,
            -73.101922
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2555,
        "name": "Planta Coca Cola",
        "coordinates": [
            7.091298,
            -73.124757
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2556,
        "name": "La Gran Ladera",
        "coordinates": [
            7.090641,
            -73.13382
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2557,
        "name": "Bosques del Venado Apartamentos",
        "coordinates": [
            7.129566,
            -73.106995
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2560,
        "name": "Conquistadores",
        "coordinates": [
            7.088992,
            -73.126163
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2561,
        "name": "Conquistadores",
        "coordinates": [
            7.088992,
            -73.126163
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2562,
        "name": "Transito Bucaramanga",
        "coordinates": [
            7.084503,
            -73.144351
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2564,
        "name": "Transito de Giron",
        "coordinates": [
            7.083781,
            -73.150789
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2568,
        "name": "San Lorenzo",
        "coordinates": [
            7.081286,
            -73.117736
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2569,
        "name": "Parque industrial 2",
        "coordinates": [
            7.142082,
            -73.151787
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2570,
        "name": "Parque industrial 1",
        "coordinates": [
            7.110575,
            -73.161762
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "id": 2571,
        "name": "Tejar Cacique",
        "coordinates": [
            7.097608,
            -73.103412
        ],
        "company_id": 14,
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    }
]
 

Request      

GET api/v1/neighborhoods/all

Query Parameters

API_KEY  string  

Authentication key.

Ciudades agrupadas por covertura

requires authentication

Obtiene todas las ciudades registradas agrupadas por la covertura a la que pertenece

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/coverages/cities"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://prod-api-franchises.citix.com.co/api/v1/coverages/cities',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/coverages/cities'
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()
curl --request GET \
    --get "https://prod-api-franchises.citix.com.co/api/v1/coverages/cities?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 59
x-ratelimit-remaining: 54
access-control-allow-origin: *
 

[
    {
        "id": 1,
        "name": "Bucaramanga y Área metropolitana",
        "coordinates": {
            "lat": 7.12539,
            "lng": -73.1198
        },
        "cities": [
            {
                "id": 5,
                "company_id": 14,
                "city_id": 118,
                "lupap_key": "Bucaramanga",
                "coverage_name_id": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 9,
                "company_id": 14,
                "city_id": 374,
                "lupap_key": "Girón",
                "coverage_name_id": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 10,
                "company_id": 14,
                "city_id": 1101,
                "lupap_key": "Piedecuesta",
                "coverage_name_id": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 11,
                "company_id": 14,
                "city_id": 342,
                "lupap_key": "Floridablanca",
                "coverage_name_id": 1,
                "created_at": null,
                "updated_at": null
            }
        ]
    },
    {
        "id": 2,
        "name": "Medellín y Área metropolitana",
        "coordinates": {
            "lat": 6.248473738385028,
            "lng": -75.5801228017814
        },
        "cities": [
            {
                "id": 24,
                "company_id": 16,
                "city_id": 547,
                "lupap_key": "Medellín",
                "coverage_name_id": 2,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            },
            {
                "id": 26,
                "company_id": 16,
                "city_id": 772,
                "lupap_key": "Sabaneta",
                "coverage_name_id": 2,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            },
            {
                "id": 27,
                "company_id": 16,
                "city_id": 437,
                "lupap_key": "Itagüí",
                "coverage_name_id": 2,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            },
            {
                "id": 28,
                "company_id": 16,
                "city_id": 330,
                "lupap_key": "Envigado",
                "coverage_name_id": 2,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            },
            {
                "id": 29,
                "company_id": 16,
                "city_id": 91,
                "lupap_key": "Bello",
                "coverage_name_id": 2,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            }
        ]
    },
    {
        "id": 3,
        "name": "Barranquilla y Área metropolitana",
        "coordinates": {
            "lat": 11.013309899992647,
            "lng": -74.82744468465636
        },
        "cities": [
            {
                "id": 25,
                "company_id": 20,
                "city_id": 88,
                "lupap_key": "Barranquilla",
                "coverage_name_id": 3,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            }
        ]
    },
    {
        "id": 4,
        "name": "Ibagué y Área metropolitana",
        "coordinates": {
            "lat": 4.439241,
            "lng": -75.203219
        },
        "cities": [
            {
                "id": 30,
                "company_id": 21,
                "city_id": 428,
                "lupap_key": "Ibagué",
                "coverage_name_id": 4,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            }
        ]
    },
    {
        "id": 5,
        "name": "Girardot y Área metropolitana",
        "coordinates": {
            "lat": 4.304622354906678,
            "lng": -74.80310396750374
        },
        "cities": [
            {
                "id": 31,
                "company_id": 23,
                "city_id": 372,
                "lupap_key": "Girardot",
                "coverage_name_id": 5,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            }
        ]
    },
    {
        "id": 6,
        "name": "Cali y Área metropolitana",
        "coordinates": {
            "lat": 3.4477419804772893,
            "lng": -76.52979820065647
        },
        "cities": [
            {
                "id": 32,
                "company_id": 25,
                "city_id": 150,
                "lupap_key": "Cali",
                "coverage_name_id": 6,
                "created_at": "2021-11-19T17:30:42.000000Z",
                "updated_at": null
            },
            {
                "id": 33,
                "company_id": 25,
                "city_id": 639,
                "lupap_key": "Palmira",
                "coverage_name_id": 6,
                "created_at": "2024-08-23T17:30:42.000000Z",
                "updated_at": "2024-08-23T13:31:27.000000Z"
            },
            {
                "id": 34,
                "company_id": 25,
                "city_id": 1011,
                "lupap_key": "Tuluá",
                "coverage_name_id": 6,
                "created_at": "2024-08-23T17:30:42.000000Z",
                "updated_at": "2024-08-23T13:31:27.000000Z"
            }
        ]
    },
    {
        "id": 7,
        "name": "Pereira y Área metropolitana",
        "coordinates": {
            "lat": 4.809155544836471,
            "lng": -75.69330101405737
        },
        "cities": [
            {
                "id": 35,
                "company_id": 27,
                "city_id": 657,
                "lupap_key": "Pereira",
                "coverage_name_id": 7,
                "created_at": "2024-08-23T17:30:42.000000Z",
                "updated_at": "2024-08-23T13:31:27.000000Z"
            },
            {
                "id": 36,
                "company_id": 27,
                "city_id": 65,
                "lupap_key": "Armenia",
                "coverage_name_id": 7,
                "created_at": "2024-08-23T17:30:42.000000Z",
                "updated_at": "2024-08-23T13:31:27.000000Z"
            }
        ]
    },
    {
        "id": 8,
        "name": "Bogotá y Área metropolitana",
        "coordinates": {
            "lat": 4.709205354771485,
            "lng": -74.07244475999778
        },
        "cities": [
            {
                "id": 37,
                "company_id": 28,
                "city_id": 107,
                "lupap_key": "Bogotá",
                "coverage_name_id": 8,
                "created_at": "2024-10-10T17:30:42.000000Z",
                "updated_at": "2024-10-10T17:30:42.000000Z"
            }
        ]
    }
]
 

Request      

GET api/v1/coverages/cities

Query Parameters

API_KEY  string  

Authentication key.

Response

Response Fields

coverages  object[]  

Coverturas.

coordinates[].id  string  

Identificador.

coordinates[].name  string  

Nombre de la covertura.

coordinates[].coordinates  object[]  

Coordenadas.

coordinates[].coordinates[].lat  integer  

Latitud.

coordinates[].coordinates[].lng  integer  

Longitud.

coordinates[].cities  object[]  

Ciudades.

coordinates[].cities[].city_id  integer  

Identificador de ciudad.

coordinates[].cities[].lupap_key  string  

Nombre de ciudad.

Barrios por ciudad

requires authentication

Dada una ciudad devuelve los barrios de la ciudad que correspondan a la búsqueda.

Example request:
const url = new URL(
    "https://prod-api-franchises.citix.com.co/api/v1/geocoder/getNeighborhoodsByCity"
);

const params = {
    "API_KEY": "{YOUR_AUTH_KEY}",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "city_id": 6,
    "search": "nesciunt"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://prod-api-franchises.citix.com.co/api/v1/geocoder/getNeighborhoodsByCity',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'query' => [
            'API_KEY'=> '{YOUR_AUTH_KEY}',
        ],
        'json' => [
            'city_id' => 6,
            'search' => 'nesciunt',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json

url = 'https://prod-api-franchises.citix.com.co/api/v1/geocoder/getNeighborhoodsByCity'
payload = {
    "city_id": 6,
    "search": "nesciunt"
}
params = {
  'API_KEY': '{YOUR_AUTH_KEY}',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()
curl --request POST \
    "https://prod-api-franchises.citix.com.co/api/v1/geocoder/getNeighborhoodsByCity?API_KEY=%7BYOUR_AUTH_KEY%7D" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"city_id\": 6,
    \"search\": \"nesciunt\"
}"

Example response (200):


[
    {
        "coordinates": [
            -73.13068003073832,
            7.117109986542303
        ],
        "properties": {
            "address": "Calle 35 9 81, García Rovira, Centro, Bucaramanga, Santander",
            "provided_by": "arcgis"
        },
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    },
    {
        "coordinates": [
            -74.13068003073832,
            71.1171099865423
        ],
        "properties": {
            "address": "Calle 12 1 2, Sánchez Rovira, Centro, Bucaramanga, Santander",
            "provided_by": "arcgis"
        },
        "city": {
            "id": 118,
            "name": "Bucaramanga"
        }
    }
]
 

Request      

POST api/v1/geocoder/getNeighborhoodsByCity

Query Parameters

API_KEY  string  

Authentication key.

Body Parameters

city_id  integer  

Id de la ciudad.

search  string optional  

Texto a buscar en los barrios.

Response

Response Fields

coordinates  string[]  

Coordenadas del barrio.

city  object  

Ciudad del barrio.

city.id  integer  

Id de la ciudad.

city.name  string  

Nombre de la ciudad.

properties.address  string  

Dirección completa del barrio.

properties.provided_by    

Servicio que provee la dirección.