Complete the Attestation Process

Once all user tasks are complete and the final action is Submit, call the Complete Attestation Process (POST /v1/timekeeping/attestation_process/complete) operation.

In this example, we complete the employee attestation process initiated in the first step.

The request:

Example request

Call the Complete Attestation Process (POST /v1/timekeeping/attestation_process/complete) operation with the following request payload.

{
  "attestationProcess": {
    "id": 9
  }
}

Example response

A success response returns HTTP status code 200 and a response body similar to the following example.

true

Response analysis

The response consists of a Boolean statement: true represents success and false represents failure.

Completing the process records all responses and collects the punch. Note that the timestamp of the punch is either:

  • based on the moment the employee selects the Punch button that initiated the process
  • based on the moment the attestation process completes

This is a configurable option in the Attestation setup. For more information, refer to the following UI online help topic: Administration > Application Setup > Attestation.