You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
No Translation available yet
You have English selected as language but this page has not been translated yet. Translate the page or view the content in the default space language below.
Display default
Abrufen der angelegten Abwesenheiten für alle oder einzelne Mitarbeiter.
Beschreibung
GET /absence_management/get_absences.php?company=RTI_COMPANYKEY&import=RTI_IMPORTKEY
Parameter
Parameter | Beschreibung | Typ | Hinweis | Pflicht |
---|
company | RTI Firmenschlüssel | string |
| ja |
import | RTI Importschlüssel | string |
| ja |
employeeNumbers | Array von Mitarbeiternummern | json | Einschränkung auf bestimmte Mitarbeiter Wird dieser Parameter nicht angegeben, werden die Abwesenheiten von allen Mitarbeiten ausgegeben, welche eine Mitarbeiternummer besitzen. Format: [ 'NR1','NR2', ... ] | nein |
withHolidays | Ausgabe von Feiertagen | bool | Pro Mitarbeiter kann ein Feiertagsprofil mit vordefinierten Feiertagen zugewiesen werden. Ist dieser Parameter aktiv, werden diese Feiertage ebenfalls als Abwesenheiten mit ausgegeben. Sie erkennen solche Datensätze am Attribut isHoliday = true. Standard: true | nein |
withDeleted | Ausgabe von gelöschten Abwesenheiten | bool | Gelöschte Abwesenheiten werden standardmäßig nicht mit ausgegeben. Sie können diesen Parameter aktivieren, um einen Abgleich mit Ihren Daten durchzuführen. Sie erkennen gelöschte Datensätze am gesetzten Attribut "deletedDate". Standard: false | nein |
Rückgabe
Die Rückgabe erfolgt im JSON-Format. Bei fehlenden Pflichtparametern wird ein "ERROR:Beschreibung" zurückgegeben.