Download OpenAPI specification:
We offer the possibility to exchange data easily and automatically between our and external systems via so-called APIs (Application Programming Interfaces).
Access to the data and use of the services is only permitted with appropriate, paid licenses. The API interface is not installed automatically.
Please contact the zeit ag project management if you would like to use the API interface. Terms of Use Security and data protection are very important to us. The API interface to our systems meets the highest standards in terms of data protection.
By accessing zeit ag's API services, you expressly declare that you accept the terms of use.
In order to access an endpoint, your client needs to be authenticated.
Authentication works via the X-Api-Key HTTP header.
To get a valid API key you should contact zeit ag project management via email at info@zeitag.ch.
Create new persons
| id | string Optional person id, i.e. the employee number. |
| titleId | integer <int32> Optional title id. Valid values can be found under the |
| sex | |
| language | integer <int32> Optional user language. Valid values can be found under the |
| residencePermit | string Optional residence permit. |
| nationalityId | integer <int32> The nationality. Valid values can be found under the |
object Optional address. | |
object Optional contact information. | |
| remark | string Optional remark. |
| firstName required | string non-empty Needs to be set and not be empty in order to create a new person |
| lastName required | string non-empty Needs to be set and not be empty in order to create a new person |
| dateOfBirth required | string <date> non-empty Needs to be set and not be empty in order to create a new person |
object (CreatePersonEmploymentPayload) Optional employment related data. Default values are applied, if omitted. | |
object (CreateEmployeeCostsPayload) Optional cost center related data. Default values are applied, if omitted. | |
object (CreatePresencePayload) Optional data for defining presence settings for the person. Default values are applied, if omitted. | |
object (CreatePlanningPayload) Optional data for defining planning settings of the person. Default values are applied, if omitted. | |
object (CreatePermissionsPayload) Optional data for defining permissions for the person. If the object is ommitted, the person won't have any access to the application. | |
object (CreateLoginPayload) Optional data for defining login settings for the person. Make sure, you provide at least one identity value. Otherw the person won't be able to login. | |
object Optional data for defining timelook settings for the person. Default values are applied, if omitted. |
[- {
- "id": "string",
- "titleId": 0,
- "sex": 0,
- "language": 0,
- "residencePermit": "string",
- "nationalityId": 0,
- "address": {
- "zip": "string",
- "street": "string",
- "city": "string",
- "countryId": 0
}, - "contact": {
- "phonePrivate": "string",
- "phoneWork": "string",
- "phoneMobile": "string",
- "email": "string",
- "website": "string"
}, - "remark": "string",
- "firstName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "employment": {
- "salary": {
- "groupId": 0,
- "number": "string",
- "reserve": "string"
}, - "personData": {
- "departmentNumber": 0,
- "isApprentice": true
}, - "employmentDurations": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24"
}
], - "timeTracking": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24",
- "workload": 0,
- "defaultTargetTime": 0,
- "hasNoTimeBalance": true,
- "applyWorkload": true
}
]
}, - "costs": {
- "costCenter": 0,
- "costRate": {
- "costRateGroup": 0,
- "costRate1": 0,
- "costRate2": 0,
- "costRate3": 0
}, - "baseCostCenter": [
- {
- "costCenterId": 0,
- "start": "2019-08-24"
}
]
}, - "presence": {
- "weekProgram": {
- "monday": 0,
- "tuesday": 0,
- "wednesday": 0,
- "thursday": 0,
- "friday": 0,
- "saturday": 0,
- "sunday": 0
}, - "groupAssignments": {
- "yearCarryOverGroupId": 0,
- "cutOffGroupId": 0,
- "tenantId": 0,
- "hierarchyId": 0,
- "shiftScheduleId": 0,
- "factoryCalendarId": 0
}, - "gastro": {
- "isActive": true,
- "entitlementGroupId": 0
}, - "info": {
- "qualityGroupId": 0
}, - "entitlementGroups": [
- {
- "groupId": 0,
- "validFrom": "2019-08-24"
}
]
}, - "planning": {
- "details": {
- "toleranceId": 0,
- "timeGenerationMode": 0,
- "autoSignature": true,
- "active": true,
- "functionListType": 0
}, - "groups": [
- 0
]
}, - "permissions": {
- "permissionGroupId": 0,
- "presencePermissions": [
- {
- "groupFrom": 0,
- "groupTo": 0,
- "daysInPast": 0,
- "daysInFuture": 0,
- "mutationGroupId": 0,
- "writeEnabled": true,
- "printEnabled": true,
- "supervisorEnabled": true,
- "humanResourcesEnabled": true,
- "hasAbsenceRequest": true,
- "hasAbsenceMonitoring": true,
- "hasAbsenceClassification": true,
- "activeFrom": "2019-08-24",
- "activeUntil": "2019-08-24"
}
], - "planningPermissions": [
- {
- "groupId": 0,
- "planningEnabled": true,
- "signEnabled": true,
- "from": 0,
- "to": 0
}
]
}, - "login": {
- "identity": {
- "msEntra": {
- "originId": "string",
- "userId": "string"
}, - "activeDirectory": {
- "originId": "string",
- "userId": "string"
}, - "local": {
- "username": "string",
- "password": "string"
}
}, - "mobileApp": {
- "smartphoneEmail": "string",
- "logfileLevel": 0
}, - "communication": {
- "terminalGroup": 0,
- "balanceGroup": 0
}, - "badges": [
- {
- "badgeNumber": "string",
- "isDefaultBadge": true
}
]
}, - "timelook": {
- "state": 0,
- "exchangeSynchronization": true,
- "dayPreferences": {
- "forenoon": {
- "start": "string",
- "end": "string"
}, - "afternoon": {
- "start": "string",
- "end": "string"
}
}, - "synchronization": {
- "daysInPast": 0,
- "intervalInMinutes": 0,
- "calendarId": 0,
- "synchronizeOnStartup": true,
- "start": "2019-08-24"
}, - "categories": {
- "absenceColor": "string",
- "functionColor": "string",
- "isNotificationOnAbsenceEnabled": true,
- "isNotificationOnFunctionEnabled": true
}
}
}
][- {
- "id": "string",
- "titleId": 0,
- "firstName": "string",
- "lastName": "string",
- "sex": 0,
- "language": 0,
- "dateOfBirth": "2019-08-24",
- "residencePermit": "string",
- "nationalityId": 0,
- "address": {
- "zip": "string",
- "street": "string",
- "city": "string",
- "countryId": 0
}, - "contact": {
- "phonePrivate": "string",
- "phoneWork": "string",
- "phoneMobile": "string",
- "email": "string",
- "website": "string"
}, - "remark": "string",
- "employment": {
- "timeTracking": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24",
- "workload": 0,
- "applyWorkload": true,
- "defaultTargetTime": 0,
- "hasNoTimeBalance": true
}
], - "employmentDurations": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24"
}
], - "salary": {
- "groupId": 0,
- "number": "string",
- "reserve": "string"
}, - "personData": {
- "departmentNumber": 0,
- "isApprentice": true
}
}, - "costs": {
- "costCenter": 0,
- "costRate": {
- "costRateGroup": 0,
- "costRate1": 0,
- "costRate2": 0,
- "costRate3": 0
}, - "baseCostCenters": [
- {
- "costCenterId": 0,
- "start": "2019-08-24"
}
]
}, - "permissions": {
- "permissionGroupId": 0,
- "presencePermissions": [
- {
- "groupFrom": 0,
- "groupTo": 0,
- "daysInPast": 0,
- "daysInFuture": 0,
- "mutationGroupId": 0,
- "writeEnabled": true,
- "printEnabled": true,
- "supervisorEnabled": true,
- "humanResourcesEnabled": true,
- "hasAbsenceRequest": true,
- "hasAbsenceMonitoring": true,
- "hasAbsenceClassification": true,
- "activeFrom": "2019-08-24",
- "activeUntil": "2019-08-24"
}
], - "planningPermissions": [
- {
- "groupId": 0,
- "planningEnabled": true,
- "signEnabled": true,
- "from": 0,
- "to": 0
}
]
}, - "presence": {
- "weekProgram": {
- "monday": 0,
- "tuesday": 0,
- "wednesday": 0,
- "thursday": 0,
- "friday": 0,
- "saturday": 0,
- "sunday": 0
}, - "groupAssignments": {
- "yearCarryOverGroupId": 0,
- "cutOffGroupId": 0,
- "tenantId": 0,
- "hierarchyId": 0,
- "rightGroupId": 0,
- "shiftScheduleId": 0,
- "factoryCalendarId": 0,
- "entitlementGroupGastroId": 0,
- "entitlements": [
- {
- "groupId": 0,
- "validFrom": "2019-08-24"
}
], - "gastro": {
- "gastroEnabled": true,
- "entitlementGroupId": 0
}
}, - "info": {
- "qualityGroupId": 0
}
}, - "login": {
- "identity": {
- "msEntra": {
- "originId": "string",
- "userId": "string"
}, - "activeDirectory": {
- "originId": "string",
- "userId": "string"
}, - "local": {
- "username": "string"
}
}, - "mobileApp": {
- "smartphoneEmail": "string",
- "logfileLevel": 0
}, - "communication": {
- "terminalGroup": 0,
- "balanceGroup": 0
}, - "badges": [
- {
- "badgeNumber": "string",
- "isDefaultBadge": true
}
]
}, - "timelook": {
- "state": 0,
- "exchangeSynchronization": true,
- "dayPreferences": {
- "forenoon": {
- "start": "string",
- "end": "string"
}, - "afternoon": {
- "start": "string",
- "end": "string"
}
}, - "synchronization": {
- "daysInPast": 0,
- "intervalInMinutes": 0,
- "calendarId": 0,
- "synchronizeOnStartup": true,
- "start": "2019-08-24"
}, - "categories": {
- "absenceColor": "string",
- "isNotificationOnAbsenceEnabled": true,
- "isNotificationOnFunctionEnabled": true,
- "functionColor": "string"
}
}
}
]Get a list of persons
| take | integer <int32> If set, items will be limited to the given amount. Note, that the API returns at most 999 items at a time. If you intend to fetch all data from the API, you can use |
| skip | integer <int32> If set, items will be skipped by the given amount. You will need this, if you want to fetch all items from the server. |
| employeeNumbers | Array of strings If set, items will be limited to the given employee numbers, i.e. IDs. |
| include | Array of strings If set, only the given parts of the persons are read and returned |
| exclude | Array of strings If set, the given parts of persons are excluded from the response |
{- "data": [
- {
- "id": "string",
- "titleId": 0,
- "firstName": "string",
- "lastName": "string",
- "sex": 0,
- "language": 0,
- "dateOfBirth": "2019-08-24",
- "residencePermit": "string",
- "nationalityId": 0,
- "address": {
- "zip": "string",
- "street": "string",
- "city": "string",
- "countryId": 0
}, - "contact": {
- "phonePrivate": "string",
- "phoneWork": "string",
- "phoneMobile": "string",
- "email": "string",
- "website": "string"
}, - "remark": "string",
- "employment": {
- "timeTracking": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24",
- "workload": 0,
- "applyWorkload": true,
- "defaultTargetTime": 0,
- "hasNoTimeBalance": true
}
], - "employmentDurations": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24"
}
], - "salary": {
- "groupId": 0,
- "number": "string",
- "reserve": "string"
}, - "personData": {
- "departmentNumber": 0,
- "isApprentice": true
}
}, - "costs": {
- "costCenter": 0,
- "costRate": {
- "costRateGroup": 0,
- "costRate1": 0,
- "costRate2": 0,
- "costRate3": 0
}, - "baseCostCenters": [
- {
- "costCenterId": 0,
- "start": "2019-08-24"
}
]
}, - "permissions": {
- "permissionGroupId": 0,
- "presencePermissions": [
- {
- "groupFrom": 0,
- "groupTo": 0,
- "daysInPast": 0,
- "daysInFuture": 0,
- "mutationGroupId": 0,
- "writeEnabled": true,
- "printEnabled": true,
- "supervisorEnabled": true,
- "humanResourcesEnabled": true,
- "hasAbsenceRequest": true,
- "hasAbsenceMonitoring": true,
- "hasAbsenceClassification": true,
- "activeFrom": "2019-08-24",
- "activeUntil": "2019-08-24"
}
], - "planningPermissions": [
- {
- "groupId": 0,
- "planningEnabled": true,
- "signEnabled": true,
- "from": 0,
- "to": 0
}
]
}, - "presence": {
- "weekProgram": {
- "monday": 0,
- "tuesday": 0,
- "wednesday": 0,
- "thursday": 0,
- "friday": 0,
- "saturday": 0,
- "sunday": 0
}, - "groupAssignments": {
- "yearCarryOverGroupId": 0,
- "cutOffGroupId": 0,
- "tenantId": 0,
- "hierarchyId": 0,
- "rightGroupId": 0,
- "shiftScheduleId": 0,
- "factoryCalendarId": 0,
- "entitlementGroupGastroId": 0,
- "entitlements": [
- {
- "groupId": 0,
- "validFrom": "2019-08-24"
}
], - "gastro": {
- "gastroEnabled": true,
- "entitlementGroupId": 0
}
}, - "info": {
- "qualityGroupId": 0
}
}, - "login": {
- "identity": {
- "msEntra": {
- "originId": "string",
- "userId": "string"
}, - "activeDirectory": {
- "originId": "string",
- "userId": "string"
}, - "local": {
- "username": "string"
}
}, - "mobileApp": {
- "smartphoneEmail": "string",
- "logfileLevel": 0
}, - "communication": {
- "terminalGroup": 0,
- "balanceGroup": 0
}, - "badges": [
- {
- "badgeNumber": "string",
- "isDefaultBadge": true
}
]
}, - "timelook": {
- "state": 0,
- "exchangeSynchronization": true,
- "dayPreferences": {
- "forenoon": {
- "start": "string",
- "end": "string"
}, - "afternoon": {
- "start": "string",
- "end": "string"
}
}, - "synchronization": {
- "daysInPast": 0,
- "intervalInMinutes": 0,
- "calendarId": 0,
- "synchronizeOnStartup": true,
- "start": "2019-08-24"
}, - "categories": {
- "absenceColor": "string",
- "isNotificationOnAbsenceEnabled": true,
- "isNotificationOnFunctionEnabled": true,
- "functionColor": "string"
}
}
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}Get a person by employee number
| employeeNumber required | string |
{- "id": "string",
- "titleId": 0,
- "firstName": "string",
- "lastName": "string",
- "sex": 0,
- "language": 0,
- "dateOfBirth": "2019-08-24",
- "residencePermit": "string",
- "nationalityId": 0,
- "address": {
- "zip": "string",
- "street": "string",
- "city": "string",
- "countryId": 0
}, - "contact": {
- "phonePrivate": "string",
- "phoneWork": "string",
- "phoneMobile": "string",
- "email": "string",
- "website": "string"
}, - "remark": "string",
- "employment": {
- "timeTracking": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24",
- "workload": 0,
- "applyWorkload": true,
- "defaultTargetTime": 0,
- "hasNoTimeBalance": true
}
], - "employmentDurations": [
- {
- "start": "2019-08-24",
- "end": "2019-08-24"
}
], - "salary": {
- "groupId": 0,
- "number": "string",
- "reserve": "string"
}, - "personData": {
- "departmentNumber": 0,
- "isApprentice": true
}
}, - "costs": {
- "costCenter": 0,
- "costRate": {
- "costRateGroup": 0,
- "costRate1": 0,
- "costRate2": 0,
- "costRate3": 0
}, - "baseCostCenters": [
- {
- "costCenterId": 0,
- "start": "2019-08-24"
}
]
}, - "permissions": {
- "permissionGroupId": 0,
- "presencePermissions": [
- {
- "groupFrom": 0,
- "groupTo": 0,
- "daysInPast": 0,
- "daysInFuture": 0,
- "mutationGroupId": 0,
- "writeEnabled": true,
- "printEnabled": true,
- "supervisorEnabled": true,
- "humanResourcesEnabled": true,
- "hasAbsenceRequest": true,
- "hasAbsenceMonitoring": true,
- "hasAbsenceClassification": true,
- "activeFrom": "2019-08-24",
- "activeUntil": "2019-08-24"
}
], - "planningPermissions": [
- {
- "groupId": 0,
- "planningEnabled": true,
- "signEnabled": true,
- "from": 0,
- "to": 0
}
]
}, - "presence": {
- "weekProgram": {
- "monday": 0,
- "tuesday": 0,
- "wednesday": 0,
- "thursday": 0,
- "friday": 0,
- "saturday": 0,
- "sunday": 0
}, - "groupAssignments": {
- "yearCarryOverGroupId": 0,
- "cutOffGroupId": 0,
- "tenantId": 0,
- "hierarchyId": 0,
- "rightGroupId": 0,
- "shiftScheduleId": 0,
- "factoryCalendarId": 0,
- "entitlementGroupGastroId": 0,
- "entitlements": [
- {
- "groupId": 0,
- "validFrom": "2019-08-24"
}
], - "gastro": {
- "gastroEnabled": true,
- "entitlementGroupId": 0
}
}, - "info": {
- "qualityGroupId": 0
}
}, - "login": {
- "identity": {
- "msEntra": {
- "originId": "string",
- "userId": "string"
}, - "activeDirectory": {
- "originId": "string",
- "userId": "string"
}, - "local": {
- "username": "string"
}
}, - "mobileApp": {
- "smartphoneEmail": "string",
- "logfileLevel": 0
}, - "communication": {
- "terminalGroup": 0,
- "balanceGroup": 0
}, - "badges": [
- {
- "badgeNumber": "string",
- "isDefaultBadge": true
}
]
}, - "timelook": {
- "state": 0,
- "exchangeSynchronization": true,
- "dayPreferences": {
- "forenoon": {
- "start": "string",
- "end": "string"
}, - "afternoon": {
- "start": "string",
- "end": "string"
}
}, - "synchronization": {
- "daysInPast": 0,
- "intervalInMinutes": 0,
- "calendarId": 0,
- "synchronizeOnStartup": true,
- "start": "2019-08-24"
}, - "categories": {
- "absenceColor": "string",
- "isNotificationOnAbsenceEnabled": true,
- "isNotificationOnFunctionEnabled": true,
- "functionColor": "string"
}
}
}Update an existing person partially
| employeeNumber required | string |
| id | string Optional person id, i.e. the employee number. |
| titleId | integer <int32> Optional title id. Valid values can be found under the |
| sex | |
| language | integer <int32> Optional user language. Valid values can be found under the |
| residencePermit | string Optional residence permit. |
| nationalityId | integer <int32> The nationality. Valid values can be found under the |
object Optional address. | |
object Optional contact information. | |
| remark | string Optional remark. |
| firstName | string Updates the firstname, if set. |
| lastName | string Updates the lastname, if set. |
| dateOfBirth | string <date> Updates the date of birth, if set. Triggers a re-calculation of the entitlements. |
object (PatchPersonEmploymentPayload) Updates empployment data, if set. | |
object (PatchEmployeeCostsPayload) Updates costs data, if set. | |
object (PatchPresencePayload) Updates presence data, if set. | |
object (PatchPlanningPayload) Updates planning data, if set. | |
object (PatchPermissionsPayload) Updates permissions data, if set. | |
object (PatchLoginPayload) Updates login data, if set. | |
object Updates timelook data, if set. |
{- "id": "string",
- "titleId": 0,
- "sex": 0,
- "language": 0,
- "residencePermit": "string",
- "nationalityId": 0,
- "address": {
- "zip": "string",
- "street": "string",
- "city": "string",
- "countryId": 0
}, - "contact": {
- "phonePrivate": "string",
- "phoneWork": "string",
- "phoneMobile": "string",
- "email": "string",
- "website": "string"
}, - "remark": "string",
- "firstName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "employment": {
- "salary": {
- "groupId": 0,
- "number": "string",
- "reserve": "string"
}, - "personData": {
- "departmentNumber": 0,
- "isApprentice": true
}, - "employmentDurations": {
- "property1": {
- "start": "2019-08-24",
- "end": "2019-08-24"
}, - "property2": {
- "start": "2019-08-24",
- "end": "2019-08-24"
}
}, - "timeTracking": {
- "property1": {
- "start": "2019-08-24",
- "end": "2019-08-24",
- "workload": 0,
- "defaultTargetTime": 0,
- "hasNoTimeBalance": true,
- "applyWorkload": true
}, - "property2": {
- "start": "2019-08-24",
- "end": "2019-08-24",
- "workload": 0,
- "defaultTargetTime": 0,
- "hasNoTimeBalance": true,
- "applyWorkload": true
}
}
}, - "costs": {
- "costCenter": 0,
- "costRate": {
- "costRateGroup": 0,
- "costRate1": 0,
- "costRate2": 0,
- "costRate3": 0
}, - "baseCostCenter": {
- "property1": 0,
- "property2": 0
}
}, - "presence": {
- "weekProgram": {
- "monday": 0,
- "tuesday": 0,
- "wednesday": 0,
- "thursday": 0,
- "friday": 0,
- "saturday": 0,
- "sunday": 0
}, - "groupAssignments": {
- "yearCarryOverGroupId": 0,
- "cutOffGroupId": 0,
- "tenantId": 0,
- "hierarchyId": 0,
- "shiftScheduleId": 0,
- "factoryCalendarId": 0
}, - "gastro": {
- "isActive": true,
- "entitlementGroupId": 0
}, - "info": {
- "qualityGroupId": 0
}, - "entitlementGroups": {
- "property1": "2019-08-24",
- "property2": "2019-08-24"
}
}, - "planning": {
- "details": {
- "toleranceId": 0,
- "timeGenerationMode": 0,
- "autoSignature": true,
- "active": true,
- "functionListType": 0
}, - "groups": {
- "property1": true,
- "property2": true
}
}, - "permissions": {
- "permissionGroupId": 0,
- "presencePermissions": {
- "property1": {
- "groupFrom": 0,
- "groupTo": 0,
- "daysInPast": 0,
- "daysInFuture": 0,
- "mutationGroupId": 0,
- "writeEnabled": true,
- "printEnabled": true,
- "supervisorEnabled": true,
- "humanResourcesEnabled": true,
- "hasAbsenceRequest": true,
- "hasAbsenceMonitoring": true,
- "hasAbsenceClassification": true,
- "activeFrom": "2019-08-24",
- "activeUntil": "2019-08-24"
}, - "property2": {
- "groupFrom": 0,
- "groupTo": 0,
- "daysInPast": 0,
- "daysInFuture": 0,
- "mutationGroupId": 0,
- "writeEnabled": true,
- "printEnabled": true,
- "supervisorEnabled": true,
- "humanResourcesEnabled": true,
- "hasAbsenceRequest": true,
- "hasAbsenceMonitoring": true,
- "hasAbsenceClassification": true,
- "activeFrom": "2019-08-24",
- "activeUntil": "2019-08-24"
}
}, - "planningPermissions": {
- "property1": {
- "groupId": 0,
- "planningEnabled": true,
- "signEnabled": true,
- "from": 0,
- "to": 0
}, - "property2": {
- "groupId": 0,
- "planningEnabled": true,
- "signEnabled": true,
- "from": 0,
- "to": 0
}
}
}, - "login": {
- "identity": {
- "msEntra": {
- "originId": "string",
- "userId": "string"
}, - "activeDirectory": {
- "originId": "string",
- "userId": "string"
}, - "local": {
- "username": "string",
- "password": "string"
}
}, - "mobileApp": {
- "smartphoneEmail": "string",
- "logfileLevel": 0
}, - "communication": {
- "terminalGroup": 0,
- "balanceGroup": 0
}, - "badges": {
- "property1": true,
- "property2": true
}
}, - "timelook": {
- "state": 0,
- "exchangeSynchronization": true,
- "dayPreferences": {
- "forenoon": {
- "start": "string",
- "end": "string"
}, - "afternoon": {
- "start": "string",
- "end": "string"
}
}, - "synchronization": {
- "daysInPast": 0,
- "intervalInMinutes": 0,
- "calendarId": 0,
- "synchronizeOnStartup": true,
- "start": "2019-08-24"
}, - "categories": {
- "absenceColor": "string",
- "functionColor": "string",
- "isNotificationOnAbsenceEnabled": true,
- "isNotificationOnFunctionEnabled": true
}
}
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": null,
- "property2": null
}, - "property1": null,
- "property2": null
}Get a list of all existing person IDs
| take | integer <int32> If set, items will be limited to the given amount. Note, that the API returns at most 999 items at a time. If you intend to fetch all data from the API, you can use |
| skip | integer <int32> If set, items will be skipped by the given amount. You will need this, if you want to fetch all items from the server. |
| employeeNumbers | Array of strings If set, items will be limited to the given employee numbers, i.e. IDs. |
| include | Array of strings If set, only the given parts of the persons are read and returned |
| exclude | Array of strings If set, the given parts of persons are excluded from the response |
{- "data": [
- "string"
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "email": "string",
- "name": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string",
- "number": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "description": "string",
- "iso3166Alpha2": "string",
- "iso3166Alpha3": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string",
- "shortLabel": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string",
- "shortaLabel": "string",
- "isHourSalary": true
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}Get a list of absences
| bookingType | Array of integers <int32> [ items <int32 > ] If set, only items with the given booking type will be returned. |
| createdAtFrom | string <date-time> If set, only items created after the given datetime will be returned. |
| createdAtTo | string <date-time> If set, only item created before the given datetime will be returned. |
| firstChangeAtFrom | string <date-time> If set, only items with the first changed timestamp after the given datetime will be returned. |
| firstChangeAtTo | string <date-time> If set, only items with the first changed timestamp before the given datetime will be returned. |
| lastChangeAtFrom | string <date-time> If set, only items with the last changed timestamp after given datetime will be returned. |
| lastChangeAtTo | string <date-time> If set, only items with the last changed timestamp before the given datetime will be returned. |
| deletedAtFrom | string <date-time> If set, only items deleted after the given datetime will be returned. |
| deletedAtTo | string <date-time> If set, only items deleted before the given datetime will be returned. |
| codes | Array of strings If set, only items with the given codes will be returned. |
| take | integer <int32> If set, items will be limited to the given amount. Note, that the API returns at most 999 items at a time. If you intend to fetch all data from the API, you can use |
| skip | integer <int32> If set, items will be skipped by the given amount. You will need this, if you want to fetch all items from the server. |
| orderBy | Array of strings If set, items will be ordered in ascending order by the given property. |
| orderByDesc | Array of strings If set, items will be ordered in descending order by the given property. |
| from | string <date> If set, only items booking after the given booking date will be returned. |
| to | string <date> If set, only items booking before the given booking date will be returned. |
{- "data": [
- {
- "id": "string",
- "date": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstChangeAt": "2019-08-24T14:15:22Z",
- "lastChangeAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "personId": "string",
- "time": 0.1,
- "type": 0,
- "code": "string",
- "terminalId": 0
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}Create new presence bookings
| time | number <float> Optional time amount in minutes. |
| type | integer <int32> Optional booking type. Valid values can be found under the |
| code | string Optional booking code. If omitted, a manual stamp is generated. |
| terminalId | integer <int32> Optional terminal id |
| date required | string <date> The date of the booking. |
| personId required | string The person id, i.e. employee number to create the booking for. |
[- {
- "time": 0.1,
- "type": 0,
- "code": "string",
- "terminalId": 0,
- "date": "2019-08-24",
- "personId": "string"
}
]{- "id": "string",
- "date": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstChangeAt": "2019-08-24T14:15:22Z",
- "lastChangeAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "personId": "string",
- "time": 0.1,
- "type": 0,
- "code": "string",
- "terminalId": 0
}Update existing presence bookings partially
| id required | string <guid> |
| time | number <float> Optional time amount in minutes. |
| type | integer <int32> Optional booking type. Valid values can be found under the |
| code | string Optional booking code. If omitted, a manual stamp is generated. |
| terminalId | integer <int32> Optional terminal id |
{- "time": 0.1,
- "type": 0,
- "code": "string",
- "terminalId": 0
}| take | integer <int32> Default: 999 |
| skip | integer <int32> Default: 0 |
{- "data": [
- {
- "id": 0,
- "label": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}Get a list of code bookings
| calcType | Array of integers (CodeBookingCalculationType) Items Enum: 0 1 2 3 4 5 6 If set, items will be limited to the given calculation types.
|
| code | Array of strings If set, items will be limited to the given code. |
| personId | Array of strings If set, items will be limited to the given person ids, i.e. employee numbers. |
| take | integer <int32> If set, items will be limited to the given amount. Note, that the API returns at most 999 items at a time. If you intend to fetch all data from the API, you can use |
| skip | integer <int32> If set, items will be skipped by the given amount. You will need this, if you want to fetch all items from the server. |
| orderBy | Array of strings If set, items will be ordered in ascending order by the given property. |
| orderByDesc | Array of strings If set, items will be ordered in descending order by the given property. |
| from | string <date> If set, only items booking after the given booking date will be returned. |
| to | string <date> If set, only items booking before the given booking date will be returned. |
{- "data": [
- {
- "personId": "string",
- "date": "2019-08-24",
- "type": 0,
- "code": {
- "codeId": 0,
- "short": "string"
}, - "timeValues": {
- "minutes": 0.1,
- "days": 0.1
}, - "stampId": "string",
- "factor": 0.1,
- "counter": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}Get a list of absences
| codes | Array of strings If set, only items with the given codes will be returned. |
| take | integer <int32> If set, items will be limited to the given amount. Note, that the API returns at most 999 items at a time. If you intend to fetch all data from the API, you can use |
| skip | integer <int32> If set, items will be skipped by the given amount. You will need this, if you want to fetch all items from the server. |
| orderBy | Array of strings If set, items will be ordered in ascending order by the given property. |
| orderByDesc | Array of strings If set, items will be ordered in descending order by the given property. |
| from | string <date> If set, only items booking after the given booking date will be returned. |
| to | string <date> If set, only items booking before the given booking date will be returned. |
{- "data": [
- {
- "id": 0,
- "date": "2019-08-24T14:15:22Z",
- "personId": "string",
- "code": "string",
- "timeValues": {
- "minutes": 0.1,
- "days": 0.1
}, - "syncId": "string"
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}Read absences grouped by a property
| groupBy required | string |
| codes | Array of strings If set, only items with the given codes will be returned. |
| take | integer <int32> If set, items will be limited to the given amount. Note, that the API returns at most 999 items at a time. If you intend to fetch all data from the API, you can use |
| skip | integer <int32> If set, items will be skipped by the given amount. You will need this, if you want to fetch all items from the server. |
| orderBy | Array of strings If set, items will be ordered in ascending order by the given property. |
| orderByDesc | Array of strings If set, items will be ordered in descending order by the given property. |
| from | string <date> If set, only items booking after the given booking date will be returned. |
| to | string <date> If set, only items booking before the given booking date will be returned. |
{- "data": [
- {
- "property": "string",
- "count": 0,
- "groupData": [
- { }
], - "value": null
}
], - "total": 0,
- "totals": [
- {
- "property": "string",
- "value": null
}
], - "pagination": {
- "index": 0,
- "size": 0,
- "next": 0,
- "previous": 0,
- "last": 0
}
}