Marcação de Ponto / Clocking

Criar registro de ponto

[PT] Este serviço permite registrar um ponto do tipo Registrado. Um JSON no formato abaixo relacionado deve ser enviado como payload. Os campos obrigatórios estão marcados com um "*" na aba "Model".

[EN] Create a new registered clocking. The payload to be sent is the bellow JSON. Required fields have an asterisk mark "*" in "Model" tab.

post/clockings

Request

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

Request body

onlineboolean

[PT]Indica se o ponto foi registrado online [EN]Indicates if the clocking was saved online

personIdinteger required

[PT]ID do colaborador [EN]Person ID

clockingDatestring ddMMyyyyHHmmss required

[PT]Data da marcação em UTC [EN]UTC Clocking date

referenceDatestring ddMMyyyy required

[PT]Data da referência do registro [EN]Reference date of the record

directionType'ENTRANCE' | 'EXIT' | 'ENTRANCE_INTERVAL' | 'EXIT_INTERVAL' required

[PT]Tipo de direção [EN]Direction type

Example request

{
  "clockingDate": "01011940000000",
  "referenceDate": "01011940"
}

Response

OK

Changes

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