Buscar Establecimiento

{info} Usar el token obtenido en la autenticación.


URL

METHOD PATH HEADERS
POST /establecimientos/crear Content-Type:application/json

Parámetros

NAME TYPE DESCRIPTION CONDITION
token STRING Content-Type:application/json required
p STRING parametro del establecimiento a buscar required
filtro STRING Puede ser filtro por "code" - "name" required
{
    "token":"d84e85f7e9ed2962d6a5a6a450f11aa56c3edd83c774ae7640467eb214a03af9",
    "p":"T001",
    "filtro":"name"
}

Solicitud exitosa

{success} Solicitud Aceptada

HTTP_CODE 200

Contenido

{
    "success": 1,
    "msg": "string|hashed"
}

Solicitud no exitosa

{danger} Solicitud no aceptada

HTTP_CODE 500

Contenido

{
    "success": 0,
    "msg": "string|description"
}