v1

latestOpenAPI 3.1.02026-07-2678221359.6 KB
Pontos da CNH

Buscar pontos da CNH

Busca os pontos da CNH do usuário

post/cnh-points/

Request body

statestring required

Estado

phonestring required

Telefone

user_idstring required

ID do usuário

cpfstring nullable

CPF

cnhstring nullable

CNH

current_cnh_expire_datestring nullable

Data de expiração da CNH

first_cnh_release_datestring nullable

Data da primeira habilitação

birth_datestring nullable

Data de nascimento

Example request

{
  "birth_date": "2023-10-27T16:40:25.361Z",
  "cnh": "123456789",
  "cpf": "12345678901",
  "current_cnh_expire_date": "2023-10-27T16:40:25.361Z",
  "first_cnh_release_date": "2023-10-27T16:40:25.361Z",
  "phone": "61983994843",
  "state": "SP",
  "user_id": "26"
}

Response

Successful Response

pointsinteger nullable
namestring nullable
updated_atstring nullable
originstring nullable
points_search_idstring nullable
user_idstring nullable
store_idstring nullable

Example response

{
  "name": "Marcos Silveira",
  "origin": "cache",
  "points": 0,
  "points_search_id": "a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6",
  "store_id": "12",
  "updated_at": "2023-10-27T16:40:25.361Z",
  "user_id": "a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6"
}