Checklists

Cadastro

[PT]Este serviço permite o cadastro de um novo checklist via Nexti API. Um JSON no formato abaixo relacionado deve ser enviado como payload. Os campos obrigatórios estão marcados com um "". name - Nota de cehcklist. [EN]This service allows the registration of a new checklist by the Nexti API.A JSON in the format listed below must be submitted how to payload. Required fields are marked with a "".

post/checklists

Request

  • Base URL: https://api.nexti.com
  • URL: https://api.nexti.com/checklists
  • Auth: OAuth 2 (client credentials, token URL https://api.nexti.com/security/oauth/token)

Request body

idinteger

[PT]ID do checklist [EN]Checklist ID

startDateTimestring required

[PT]Data início do checklist [EN]Checklist start date

finishDateTimestring required

[PT]Data final do checklist [EN]Checklist finish date

namestring required

[PT]Nome do checklist [EN]Checklist name

checklistTypeIdinteger required

[PT]ID do tipo de checklist. Valores: [ID - 1] - COLABORADOR [ID - 2] - POSTO [EN]Checklist Type ID. Values: [ID - 1] - PERSON [ID - 2] - WORKPLACE

checklistShowIdinteger required

[PT]ID da visualização do checklist. Valores: [ID - 1] - ENTRADA [ID - 2] - SAÍDA [EN]Checklist view ID. Values: [ID - 1] - ENTRANCE [ID - 2] - EXIT

checklistCollectorIdinteger required

[PT]ID do coletor do checklist. Valores: [ID - 1] - TERMINAL [ID - 2] - APLICATIVO [ID - 3] - AMBOS [EN]Checklist collector ID. Values: [ID - 1] - TERMINAL [ID - 2] - MOBILE [ID - 3] - BOTH

statusIdinteger required

[PT]ID do status do checklist. Valores: [ID - 1] - NÃO RESPONDIDO [ID - 2] - RESPONDIDO [ID - 3] - RESPONDIDO POR OUTRO DISPOSITIVO [ID - 4] - CANCELADO [EN]Checklist status ID. Values: [ID - 1] - NOT ANSWERED [ID - 2] - ANSWERED [ID - 3] - ANSWERED ANOTHER DEVICE [ID - 4] - CANCELED

recurrentboolean required

[PT]Checklist recorrente [EN]Recurrent checklist

uniqueFingerprintboolean

[PT]Biometria única [EN]Unique fingerprint

personsinteger[]

[PT]ID das pessoas que irão receber o checklist [EN]ID of the persons who will receive the checklist

personsExternalIdsstring[]

[PT]External ids das pessoas que irão receber o checklist [EN]External ids of the persons who will receive the checklist

workplacesinteger[]

[PT]ID dos postos que irão receber o checklist [EN]ID of the workplaces who will receive the checklist

workplacesExternalIdsstring[]

[PT]External ids dos postos que irão receber o checklist [EN]External ids of the workplaces who will receive the checklist

clientsinteger[]

[PT]ID dos clientes que irão receber o checklist [EN]ID of the client who will receive the checklist

clientsExternalIdsstring[]

[PT]External ids dos clientes que irão receber o checklist [EN]External ids of the client who will receive the checklist

sendToAllboolean required

[PT]Envia para todos [EN]Send to all checklist

externalIdstring

[PT]ID externo do checklist [EN]External checklist ID

checklistAnswerViewersinteger[]

[PT]IDs dos usuários que terão acesso às respostas do checklist [EN]IDs of the users who will have access to the checklist answers

Example request

{
  "startDateTime": "ddMMyyyyHHmmss",
  "finishDateTime": "ddMMyyyyHHmmss"
}

Response

OK

idinteger

ID do response

messagestring

Mensagem do response

commentsstring[]

Comentários do response

Example response

{
  "value": {
    "startDateTime": "ddMMyyyyHHmmss",
    "finishDateTime": "ddMMyyyyHHmmss"
  }
}

Changes

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