Download OpenAPI specification:
The operations of the attendance devices package, merged into the published contract when the package is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument). Linted on its own.
Attendance terminals: devices and their connectors, credentials, synchronisation, device events, device users.
Tells the client before a punch whether a location is needed, with the accuracy limit and the sites that apply (name, centre and radius), and whether the punch is restricted to the office network (never the ranges). The settings are those of the company the employee works for; the company of the session or the Company-Id header never changes them. The answer decides nothing: createPunch applies the gates again. Any employee may read their own requirements.
{- "locationRequired": true,
- "maxAccuracyMeters": 0,
- "sites": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "centre": {
- "latitude": 0,
- "longitude": 0
}, - "radiusMeters": 0
}
], - "networkRestricted": true
}The devices per state, those that are offline with the seconds since their last success, and the number of rejected or held events that wait. Nothing about a person.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "states": {
- "connected": 0,
- "degraded": 0,
- "offline": 0,
- "disabled": 0
}, - "offline": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "lastSuccessAt": "2026-10-01T08:15:00+02:00",
- "sinceSeconds": 0
}
], - "rejectedEvents": 0
}| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "etag": "string",
- "devicesEnabled": true,
- "debounceSeconds": 0,
- "maxBackfillDays": 1,
- "offlineAlertMinutes": 5,
- "eventRetentionDays": 90
}Switches the devices of the company on or off and sets the debounce window, the back-fill limit, the offline alert time, the retention of events. Audited.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| devicesEnabled | boolean With the switch off nothing syncs, listens or accepts pushes. |
| debounceSeconds | integer [ 0 .. 600 ] |
| maxBackfillDays | integer [ 1 .. 62 ] |
| offlineAlertMinutes | integer [ 5 .. 1440 ] |
| eventRetentionDays | integer [ 90 .. 3650 ] |
{- "devicesEnabled": true,
- "debounceSeconds": 0,
- "maxBackfillDays": 1,
- "offlineAlertMinutes": 5,
- "eventRetentionDays": 90
}{- "etag": "string",
- "devicesEnabled": true,
- "debounceSeconds": 0,
- "maxBackfillDays": 1,
- "offlineAlertMinutes": 5,
- "eventRetentionDays": 90
}Labels and field names are in the language of the caller; codes are not translated.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "code": "zkteco",
- "label": "string",
- "fields": [
- {
- "name": "string",
- "label": "string",
- "type": "string",
- "required": true,
- "secret": true,
- "default": null,
- "format": "string"
}
], - "modes": [
- "poll"
], - "modesNeedingReach": [
- "poll"
], - "capabilities": {
- "manageUsers": true,
- "setClock": true,
- "userAttributes": [
- "string"
], - "reportsEnrolmentCount": true
}, - "punchCodes": [
- {
- "code": "string",
- "meaning": "clockIn"
}
]
}
]
}| state | string (DeviceState) Enum: "connected" "degraded" "offline" "disabled" Only devices in this state. |
| connector | string Only devices of this connector. |
| siteId | string <uuid> (Uuid) Examples: siteId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only devices of this time-tracking site. |
| archived | boolean Default: false List archived devices instead of active ones. |
| search | string A search in the name. |
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "name": "string",
- "connector": "zkteco",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false,
- "state": "connected",
- "archived": true,
- "serialNumber": "string",
- "lastSuccessAt": "2026-10-01T08:15:00+02:00",
- "lastErrorCode": "unreachable",
- "lastErrorDetail": "string",
- "clockDriftSeconds": 0,
- "rejectedEvents": 0,
- "pendingRemovals": 0,
- "tokens": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "hint": "string",
- "expiresAt": "2026-10-01T08:15:00+02:00",
- "revokedAt": "2026-10-01T08:15:00+02:00",
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}The configuration must have every required field of the connector and the connection mode must be one the connector supports; otherwise 422 with a violation on the field.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| name required | string <= 100 characters |
| connector required | string (ConnectorCode) Enum: "zkteco" "anvizCrossChex" "matrixCosec" "dahua" "eTimeOffice" "genericIngest" |
required | object The values of the connector fields; a missing required field is a violation on |
| connectionMode required | string (ConnectionMode) Enum: "poll" "live" "push" "cloud" |
| directionMode required | string (DirectionMode) Enum: "deviceCode" "in" "out" "toggle" "firstInLastOut" |
| unknownCodeFallback | string (UnknownCodeFallback) Enum: "toggle" "firstInLastOut" "hold" |
Uuid (string) or null | |
| timeZone | string An IANA time zone. |
| pollIntervalSeconds | integer [ 60 .. 86400 ] Default: 300 |
| autoSetClock | boolean Default: false |
| removeOnExit | boolean Default: true |
| allowPlainHttp | boolean Default: false |
{- "name": "string",
- "connector": "zkteco",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "name": "string",
- "connector": "zkteco",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false,
- "state": "connected",
- "archived": true,
- "serialNumber": "string",
- "lastSuccessAt": "2026-10-01T08:15:00+02:00",
- "lastErrorCode": "unreachable",
- "lastErrorDetail": "string",
- "clockDriftSeconds": 0,
- "rejectedEvents": 0,
- "pendingRemovals": 0,
- "tokens": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "hint": "string",
- "expiresAt": "2026-10-01T08:15:00+02:00",
- "revokedAt": "2026-10-01T08:15:00+02:00",
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| deviceIds required | Array of strings <uuid> (Uuid) [ 1 .. 100 ] items [ items <uuid > ] |
{- "deviceIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "trigger": "schedule",
- "startedAt": "2026-10-01T08:15:00+02:00",
- "finishedAt": "2026-10-01T08:15:00+02:00",
- "result": "running",
- "fetched": 0,
- "new": 0,
- "duplicate": 0,
- "recorded": 0,
- "rejected": 0,
- "errorCode": "unreachable"
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}The device asks for its options when it starts. Only for a ZKTeco device in mode push.
| token required | string^[A-Za-z0-9]{16,128}$ The token of the device. A ZKTeco device cannot send headers, so the token is part of the server address it is configured with, |
| SN required | string <= 64 characters The serial number of the device. A device that has none yet takes the one of its first upload; afterwards a different serial number answers 401. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}The device uploads a table. The attendance log (table=ATTLOG, one tab-separated line per record with the user, the time, the punch state and the verify mode) is stored like any other device record, every line once; other tables are acknowledged and ignored.
| token required | string^[A-Za-z0-9]{16,128}$ The token of the device. A ZKTeco device cannot send headers, so the token is part of the server address it is configured with, |
| SN required | string <= 64 characters The serial number of the device. A device that has none yet takes the one of its first upload; afterwards a different serial number answers 401. |
| table | string |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}The device asks whether the server has commands for it. adsum sends none to push devices.
| token required | string^[A-Za-z0-9]{16,128}$ The token of the device. A ZKTeco device cannot send headers, so the token is part of the server address it is configured with, |
| SN required | string <= 64 characters The serial number of the device. A device that has none yet takes the one of its first upload; afterwards a different serial number answers 401. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}Scope self returns the caller's own events, team those of the caller's current reports and company all events, also those without an employee (HR). Reason code and reason text are part of every event, the vendor payload never is. An employee outside the caller's scope yields an empty list.
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| scope | string (ListScope) Default: "self" Enum: "self" "team" "company" Visibility scope of a collection request; the caller only ever receives what they may see. |
| deviceId | string <uuid> (Uuid) Examples: deviceId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| state | string (AttendanceDeviceEventState) Enum: "received" "recorded" "rejected" "held" "debounced" "pending" "superseded" "voided" "dismissed" |
| reason | string (AttendanceDeviceEventReason) Enum: "unmapped" "employeeInactive" "trackingDisabled" "sequenceConflict" "validatedDay" "tooOld" "futureInstant" "invalidCode" |
| employeeId | string <uuid> (Uuid) Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| from | string <date> (Date) Examples: from=2026-10-01 Inclusive start date of the period. |
| to | string <date> (Date) Examples: to=2026-10-01 Inclusive end date of the period. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "localTime": "string",
- "occurredAt": "2026-10-01T08:15:00+02:00",
- "punchCode": "string",
- "verifyMode": "string",
- "state": "received",
- "reason": "unmapped",
- "reasonText": "string",
- "punchId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dismissReason": "string",
- "receivedAt": "2026-10-01T08:15:00+02:00",
- "processedAt": "2026-10-01T08:15:00+02:00"
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}For a device of connector genericIngest, or any device in mode push. At most 1,000 records; a longer batch answers 413 and stores nothing. Every record is stored once per device (recordId), so a batch can be sent again. With the devices switched off for the company the answer is 403 attendance-devices-disabled. At most 600 requests a minute per device.
required | Array of objects At most 1,000 records. |
{- "records": [
- {
- "recordId": "string",
- "deviceUserId": "string",
- "occurredAt": "string",
- "punchCode": "string",
- "verifyMode": "string"
}
]
}{- "items": [
- {
- "recordId": "string",
- "status": "stored",
- "error": "string"
}
]
}After the cause is fixed, for example a mapping. Events are processed in the order of their instants and the back-fill limit counts from the time of the retry, so an event that is too old stays rejected with tooOld. Events that were dismissed, and events that are not rejected or held, are left alone.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| eventIds | Array of strings <uuid> (Uuid) [ 1 .. 500 ] items [ items <uuid > ] |
| deviceId | string <uuid> (Uuid) |
| reason | string (AttendanceDeviceEventReason) Enum: "unmapped" "employeeInactive" "trackingDisabled" "sequenceConflict" "validatedDay" "tooOld" "futureInstant" "invalidCode" |
| employeeId | string <uuid> (Uuid) |
| from | string <date> (Date) |
| to | string <date> (Date) |
{- "eventIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "reason": "unmapped",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "from": "2026-10-01",
- "to": "2026-10-01"
}{- "processed": 0,
- "recorded": 0,
- "stillWaiting": 0
}Dismissed events are never processed. An event that became a punch cannot be dismissed (422).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| reason required | string [ 1 .. 500 ] characters |
{- "reason": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "localTime": "string",
- "occurredAt": "2026-10-01T08:15:00+02:00",
- "punchCode": "string",
- "verifyMode": "string",
- "state": "received",
- "reason": "unmapped",
- "reasonText": "string",
- "punchId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dismissReason": "string",
- "receivedAt": "2026-10-01T08:15:00+02:00",
- "processedAt": "2026-10-01T08:15:00+02:00"
}A device of another company answers 404.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "name": "string",
- "connector": "zkteco",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false,
- "state": "connected",
- "archived": true,
- "serialNumber": "string",
- "lastSuccessAt": "2026-10-01T08:15:00+02:00",
- "lastErrorCode": "unreachable",
- "lastErrorDetail": "string",
- "clockDriftSeconds": 0,
- "rejectedEvents": 0,
- "pendingRemovals": 0,
- "tokens": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "hint": "string",
- "expiresAt": "2026-10-01T08:15:00+02:00",
- "revokedAt": "2026-10-01T08:15:00+02:00",
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}A secret that is left out keeps its value. Audited; a changed secret is recorded as changed, never with its value.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| name | string <= 100 characters |
object The values of the connector fields. A secret field is | |
| connectionMode | string (ConnectionMode) Enum: "poll" "live" "push" "cloud" |
| directionMode | string (DirectionMode) Enum: "deviceCode" "in" "out" "toggle" "firstInLastOut" |
| unknownCodeFallback | string (UnknownCodeFallback) Enum: "toggle" "firstInLastOut" "hold" |
Uuid (string) or null | |
| timeZone | string An IANA time zone. |
| pollIntervalSeconds | integer [ 60 .. 86400 ] Default: 300 |
| autoSetClock | boolean Default: false |
| removeOnExit | boolean Default: true |
| allowPlainHttp | boolean Default: false |
{- "name": "string",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "name": "string",
- "connector": "zkteco",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false,
- "state": "connected",
- "archived": true,
- "serialNumber": "string",
- "lastSuccessAt": "2026-10-01T08:15:00+02:00",
- "lastErrorCode": "unreachable",
- "lastErrorDetail": "string",
- "clockDriftSeconds": 0,
- "rejectedEvents": 0,
- "pendingRemovals": 0,
- "tokens": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "hint": "string",
- "expiresAt": "2026-10-01T08:15:00+02:00",
- "revokedAt": "2026-10-01T08:15:00+02:00",
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}Answers 409 with the hint to archive when the device has stored events.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}An archived device does not sync, listen or accept pushes, and its tokens are rejected.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "name": "string",
- "connector": "zkteco",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false,
- "state": "connected",
- "archived": true,
- "serialNumber": "string",
- "lastSuccessAt": "2026-10-01T08:15:00+02:00",
- "lastErrorCode": "unreachable",
- "lastErrorDetail": "string",
- "clockDriftSeconds": 0,
- "rejectedEvents": 0,
- "pendingRemovals": 0,
- "tokens": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "hint": "string",
- "expiresAt": "2026-10-01T08:15:00+02:00",
- "revokedAt": "2026-10-01T08:15:00+02:00",
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "name": "string",
- "connector": "zkteco",
- "configuration": { },
- "connectionMode": "poll",
- "directionMode": "deviceCode",
- "unknownCodeFallback": "toggle",
- "siteId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "timeZone": "string",
- "pollIntervalSeconds": 300,
- "autoSetClock": false,
- "removeOnExit": true,
- "allowPlainHttp": false,
- "state": "connected",
- "archived": true,
- "serialNumber": "string",
- "lastSuccessAt": "2026-10-01T08:15:00+02:00",
- "lastErrorCode": "unreachable",
- "lastErrorDetail": "string",
- "clockDriftSeconds": 0,
- "rejectedEvents": 0,
- "pendingRemovals": 0,
- "tokens": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "hint": "string",
- "expiresAt": "2026-10-01T08:15:00+02:00",
- "revokedAt": "2026-10-01T08:15:00+02:00",
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}Only devices of a connector that receives data (genericIngest or mode push) have tokens. A device holds at most two tokens; the previous one stays valid for 24 hours.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "token": "string",
- "hint": "string",
- "createdAt": "2026-10-01T08:15:00+02:00",
- "previousExpiresAt": "2026-10-01T08:15:00+02:00"
}| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| tokenId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}For connectors that manage users. The device user ID is the personnel number when the device takes it, otherwise deviceUserId names one. An ID the device or a mapping holds already answers 409 and nothing is written; a connector that cannot manage users answers 422 with a violation on connector. The device receives only the ID and the display name. Every enrolled employee is mapped from today. If the device refuses a write, that employee and the ones after it are reported as failed with the category of the failure. Fingerprints, faces and cards are enrolled at the device.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
required | Array of objects [ 1 .. 200 ] items |
{- "employees": [
- {
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string"
}
]
}{- "items": [
- {
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "status": "enrolled",
- "error": "string",
- "mapping": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "validFrom": "2026-10-01",
- "validTo": "2026-10-01"
}
}
]
}For connectors that declare user attributes: active, vip, validUntil (date or null), bypassFinger and faceRecognitionEnabled for Matrix COSEC; cardNumber, cardStatus, cardType and the write-only password for Dahua. The body names the attributes to change; an attribute the connector does not have, or of the wrong type, is a violation on that attribute (422). cardNumber opens doors and is shown only to HR; password is never shown.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| deviceUserId required | string <= 64 characters |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| active | boolean |
| vip | boolean |
Date (string) or null | |
| bypassFinger | boolean |
| faceRecognitionEnabled | boolean |
string or null | |
string or null | |
string or null | |
| password | string <= 64 characters |
{- "active": true,
- "vip": true,
- "validUntil": "2026-10-01",
- "bypassFinger": true,
- "faceRecognitionEnabled": true,
- "cardNumber": "string",
- "cardStatus": "string",
- "cardType": "string",
- "password": "string"
}{- "deviceUserId": "string",
- "name": "string",
- "enrolments": {
- "property1": 0,
- "property2": 0
}, - "attributes": { },
- "mapping": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "validFrom": "2026-10-01",
- "validTo": "2026-10-01"
}, - "suggestedEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}The mappings of the users end today, so what they did before stays theirs. A connector that manages users deletes them on the device; a device that is out of reach keeps them as pending removals (pendingRemovals of the device), which the next successful sync deletes. Per user the answer is removed, pending, or unmapped where the connector cannot delete users.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| deviceUserIds required | Array of strings [ 1 .. 500 ] items [ items <= 64 characters ] |
{- "deviceUserIds": [
- "string"
]
}{- "items": [
- {
- "deviceUserId": "string",
- "status": "removed"
}
]
}For every connector with poll, live or cloud. Never returns a second run while one is running.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "trigger": "schedule",
- "startedAt": "2026-10-01T08:15:00+02:00",
- "finishedAt": "2026-10-01T08:15:00+02:00",
- "result": "running",
- "fetched": 0,
- "new": 0,
- "duplicate": 0,
- "recorded": 0,
- "rejected": 0,
- "errorCode": "unreachable"
}| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "trigger": "schedule",
- "startedAt": "2026-10-01T08:15:00+02:00",
- "finishedAt": "2026-10-01T08:15:00+02:00",
- "result": "running",
- "fetched": 0,
- "new": 0,
- "duplicate": 0,
- "recorded": 0,
- "rejected": 0,
- "errorCode": "unreachable"
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}Uses the configuration and the timeouts of a sync.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "ok": true,
- "serialNumber": "string",
- "firmware": "string",
- "deviceTime": "2026-10-01T08:15:00+02:00",
- "userCount": 0,
- "errorCode": "unreachable",
- "explanation": "string",
- "hint": "string",
- "detail": "string"
}Sets the device clock to the current time in the device time zone; only for connectors with setClock.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "deviceTime": "2026-10-01T08:15:00+02:00",
- "clockDriftSeconds": 0
}The device user IDs connected with employees, the newest start first. Only HR reads mappings.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| employeeId | string <uuid> (Uuid) Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| deviceUserId | string |
| active | boolean Only the mappings valid today. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "validFrom": "2026-10-01",
- "validTo": "2026-10-01"
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}Valid from the given day, by default today. Mappings of one device user ID do not overlap, and an employee has one mapping per device on a day (422 with a violation on validFrom). The answer says how many unmapped events of the device user wait for a retry.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| deviceUserId required | string [ 1 .. 64 ] characters |
| employeeId required | string <uuid> (Uuid) |
| validFrom | string <date> (Date) |
Date (string) or null |
{- "deviceUserId": "string",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "validFrom": "2026-10-01",
- "validTo": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "validFrom": "2026-10-01",
- "validTo": "2026-10-01",
- "unmappedEvents": 0
}All pairs become mappings valid from the given day, by default today, or none does. Nothing is created or changed on the device. The answer says how many unmapped events of these device users wait for a retry.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
required | Array of objects [ 1 .. 500 ] items |
| validFrom | string <date> (Date) |
{- "pairs": [
- {
- "deviceUserId": "string",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}
], - "validFrom": "2026-10-01"
}{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "validFrom": "2026-10-01",
- "validTo": "2026-10-01"
}
], - "unmappedEvents": 0
}Only validTo changes, the day a mapping ends (inclusive), or null to let it run on. Audited.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| mappingId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
required | Date (string) or null |
{- "validTo": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "validFrom": "2026-10-01",
- "validTo": "2026-10-01"
}Only a mapping no recorded event rests on; any other answers 409 and is ended instead. Audited.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| mappingId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}Reads the users stored on the device when the connector can, with the number of credentials per kind where the vendor reports it and never a template. A user carries its current mapping and, when exactly one current employee has the device user ID as personnel number or else the same name, suggestedEmployeeId. Where the connector cannot read users or the device is unreachable, source is events, error says why, and the list holds the device user IDs seen in events.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "deviceUserId": "string",
- "name": "string",
- "enrolments": {
- "property1": 0,
- "property2": 0
}, - "attributes": { },
- "mapping": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "etag": "string",
- "deviceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "deviceUserId": "string",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "validFrom": "2026-10-01",
- "validTo": "2026-10-01"
}, - "suggestedEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}
], - "source": "device",
- "error": "string"
}