Acessos

Buscar acessos

get/api/accesses

Query parameters

cpfstring

O CPF do usuário.

Example:999.999.999-99

O CPF do usuário.

pdv_idinteger

O ID do PDV.

Example:1

O ID do PDV.

dates[]string[]

Data de criação do acesso.

Data de criação do acesso.

[
  "2022-08-15T11:45:38",
  "2022-08-15T11:45:38"
]

Response

current_pagestring
first_page_urlstring
fromstring
last_pagestring
last_page_urlstring
next_page_urlstring
pathstring
per_pagestring
prev_page_urlstring
tostring
totalstring

Example response

{
  "current_page": "int",
  "data": [
    {
      "id": "int",
      "created_at": "datetime",
      "user_name": "string",
      "user_cpf": "string",
      "user_telefone": "string",
      "pdv": "string",
      "device": "string",
      "access_order_time": "int",
      "order_lifetime": "int",
      "order": [
        {
          "id": "int",
          "status_pedido_id": "int"
        }
      ]
    }
  ],
  "first_page_url": "string",
  "from": "int",
  "last_page": "int",
  "last_page_url": "string",
  "links": [
    {
      "url": "nullable_string",
      "label": "string",
      "active": "boolean"
    },
    {
      "url": "string",
      "label": "string",
      "active": "boolean"
    },
    {
      "url": "nullable_string",
      "label": "string",
      "active": "boolean"
    }
  ],
  "next_page_url": "nullable_string",
  "path": "string",
  "per_page": "int",
  "prev_page_url": "nullable_string",
  "to": "int",
  "total": "int"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.