/v2/api/entity base and authenticated with a Bearer token.1) is the data level — how deeply related records are loaded — not a page or format flag. For this endpoint it has no visible effect, so /attendance_log/{id} and /attendance_log/{id}/1 return the same result.data envelope).status is one of:| Value | Meaning |
|---|---|
| draft | Draft |
| sign_in | Sign In |
| sign_out | Sign Out |
| repeated_sign_in | Repeated Sign In |
| repeated_sign_out | Repeated Sign Out |
| invalid | Invalid |
| unknown_employee | Unknown Employee |
source_type, when present, is one of machine, supervisor, file, self.error happened rather than a 404.curl --location --globoff 'https://.daftra.com/v2/api/entity/attendance_log//1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"id": 0,
"staff_id": 0,
"time": "string",
"session_id": 0,
"status": "draft",
"source_id": 0,
"source_name": "string",
"source_type": "machine",
"source_method": "string",
"deleted_at": "string",
"created": "string",
"modified": "string",
"invalidity_reason": "weekend"
}