# Listar clientes - getAllClient

##### <span class="api-method" data-method="POST">POST</span> https://api.service24gps.com/api/v1/ondelivery/getAllClient

Obtiene todos los clientes creados en la plataforma de OnDelivery.

<details class="mb-m" id="bkmrk-body-parametersparam"><summary class="text-muted">Ver parámetros de solicitud:</summary>

<div><table class="table" style="height: 139px;"><tbody><tr style="height: 41px;"><th style="width: 188px; height: 41px;">Parámetros</th><th style="width: 320px; height: 41px;">Descripción</th><th style="width: 301px; height: 41px;">Ejemplo</th></tr><tr style="height: 57px;"><td style="width: 188px; height: 57px;">apikey</td><td style="width: 320px; height: 57px;">Llave de autorización para uso de los Servicios Web.</td><td style="width: 301px; height: 57px;"><span role="presentation" style="padding-right: 0.1px; color: #3366ff;">25sdsd234234aa93sdsdsd37c70118e72</span></td></tr><tr style="height: 41px;"><td style="width: 188px; height: 41px;">token</td><td style="width: 320px; height: 41px;">Token devuelto por el método getToken.</td><td style="width: 301px; height: 41px;"><span style="color: #3366ff;">wfszR/oPIQKjt5HT5NgjDnZ2SAZQ==</span></td></tr></tbody></table>

</div></details>##### Solicitud de ejemplo:

```shell
curl --location --request POST 'https://api.service24gps.com/api/v1/ondelivery/getAllClient' \
--header 'Cookie: PHPSESSID=999egj9j5mnaevhamfu16s90a9' \
--form 'apikey="25sdsd234234aa93sdsdsd37c70118e72"' \
--form 'token="wfszR/oPIQKjt5HT5NgjDnZ2SAZQ=="'
```

##### Respuesta de ejemplo:

```JSON
{
    "status": 200,
    "data": {
        "1": {
            "id": "2",
            "nombre": "client 2",
            "razon_social": "informatica",
            "identificador": null,
            "contacts": [],
            "address": [
                {
                    "id": "1996",
                    "nombre": "Direccion 1",
                    "idpais": "2",
                    "idprovincia": "11",
                    "ciudad": "Atizapan de Zaragoza",
                    "calle": "Av Paseo de zaragoza",
                    "numero_int": "",
                    "numero_ext": "52",
                    "codigo_postal": "0",
                    "idtipo_domicilio": "0",
                    "idcliente_od": "2",
                    "idcontacto_cliente_od": "0",
                    "latitud": "19.5575007",
                    "longitud": "-99.2392561",
                    "estado": "1"
                }
            ]
        },
        "2": {
            "id": "3",
            "nombre": "cliente 3",
            "razon_social": "mi razon social",
            "identificador": null,
            "contacts": [],
            "address": [
                {
                    "id": "1997",
                    "nombre": "Direccion 1",
                    "idpais": "2",
                    "idprovincia": "11",
                    "ciudad": "Atizapan de Zaragoza",
                    "calle": "Paseo de las alamedas",
                    "numero_int": "",
                    "numero_ext": "72",
                    "codigo_postal": "0",
                    "idtipo_domicilio": "0",
                    "idcliente_od": "3",
                    "idcontacto_cliente_od": "0",
                    "latitud": "19.5509438",
                    "longitud": "-99.2415031",
                    "estado": "1"
                }
            ]
        },
        "3": {
            "id": "3870",
            "nombre": "Cliente Costa rica",
            "razon_social": "N/A",
            "identificador": "000000000022",
            "contacts": [],
            "address": [
                {
                    "id": "2132",
                    "nombre": "Tienda Costa Rica",
                    "idpais": "9",
                    "idprovincia": "219",
                    "ciudad": "Curridabat",
                    "calle": "A044",
                    "numero_int": "",
                    "numero_ext": "111",
                    "codigo_postal": "11801",
                    "idtipo_domicilio": "0",
                    "idcliente_od": "3870",
                    "idcontacto_cliente_od": "0",
                    "latitud": "9.9139642",
                    "longitud": "-84.0371452",
                    "estado": "1"
                },
                {
                    "id": "2138",
                    "nombre": "Tienda Costa Rica Centro",
                    "idpais": "9",
                    "idprovincia": "219",
                    "ciudad": "Curridabat",
                    "calle": "A044",
                    "numero_int": "",
                    "numero_ext": "128",
                    "codigo_postal": "11801",
                    "idtipo_domicilio": "1",
                    "idcliente_od": "3870",
                    "idcontacto_cliente_od": "0",
                    "latitud": "9.9141155",
                    "longitud": "-84.0283294",
                    "estado": "1"
                }
            ]
        }
    }
}
```

<details class="mb-m" id="bkmrk-ver-par%C3%A1metros%3A-par%C3%A1"><summary class="text-muted">Ver campos de respuesta:</summary>

<div><table class="table" id="bkmrk-campo-descripci%C3%B3n-fo" style="width: 809px; height: 700px;"><tbody><tr style="height: 47px;"><th style="width: 174px; height: 47px;">Campo</th><th style="width: 392px; height: 47px;">Descripción

</th><th style="width: 243px; height: 47px;">Formato</th></tr><tr style="height: 41px;"><td style="width: 174px; height: 41px;">id</td><td style="width: 392px; height: 41px;">Identificador único del cliente.</td><td style="width: 243px; height: 41px;">Entero</td></tr><tr style="height: 41px;"><td style="width: 174px; height: 41px;">nombre</td><td style="width: 392px; height: 41px;">Nombre del cliente.</td><td style="width: 243px; height: 41px;">Cadena de texto</td></tr><tr style="height: 58px;"><td style="width: 174px; height: 58px;">razon\_social</td><td style="width: 392px; height: 58px;">Razón social.

</td><td style="width: 243px; height: 58px;">Cadena de texto</td></tr><tr style="height: 47px;"><td style="width: 174px; height: 47px;">identificador

</td><td style="width: 392px; height: 47px;">Identificador.

</td><td style="width: 243px; height: 47px;">Entero</td></tr><tr style="height: 35px;"><td style="height: 35px; width: 174px;">contacts

</td><td style="height: 35px; width: 392px;">Contacto del cliente.

</td><td style="height: 35px; width: 243px;">Json

</td></tr><tr style="height: 35px;"><td style="height: 35px; width: 174px;">address

</td><td style="height: 35px; width: 392px;">Dirección del cliente.

</td><td style="height: 35px; width: 243px;">Json

</td></tr></tbody></table>

</div></details>