Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
Konfiguration für Config-File: | Konfiguration für Config-File: | ||
, " | , "httpServicePlugins" : | ||
{ "0" : "Bfx.Alex.AccountsReport.DayInterval.Model.dll" | { "0" : "Bfx.Alex.AccountsReport.DayInterval.Model.dll" | ||
} | } | ||
Version vom 7. Dezember 2017, 10:53 Uhr
Konfiguration für Config-File:
, "httpServicePlugins" :
{ "0" : "Bfx.Alex.AccountsReport.DayInterval.Model.dll"
}
Aufruf
http://IP:PORT/EmployeeDayIntervals?PARAMETER
- IP: Wie im ALEX-Config-File eingestellt
- PORT: Wie im ALEX-Config-File eingestellt
- PARAMETER:
- "id": Personalnummer
- "begin": Begin-Datum des Datenauszuges Format "DD.MM.YYYY"
- "end": Ende-Datum des Datenauszuges Format "DD.MM.YYYY"
Beispiel
Alle Tagesinformationen von Personal mit Personalnummer "20" von 05.12.2017 bis einschließlich 07.12.2017:
http://localhost:8080/EmployeeDayIntervals?id=20&begin=05.12.2017&end=07.12.2017
Alle Tagesinformationen von Personal auf Plan "X" von 01.12.2017 bis einschließlich 31.12.2017:
http://localhost:8080/EmployeeDayIntervals?planCode=X&begin=01.12.2017&end=31.12.2017
Ergebnis
Tagesinformation im JSON-Format in der Form:
{ "Employees" : [
{ "EmployeeID" : "string"
, "Surname" : "string"
, "Forename" : "string"
, "MasterAllocation" : "string"
, "EmployeeJobGroup" : "string"
, "Days" : [
{ "ForDate" : "string"
, "ForState" : "string"
, "InfoText" : "string"
, "DayPlanSymbol" : "string"
, "DayShift1" : "string"
, "DayShift2" : "string"
, "DayRequestKind" : "string"
, "DayTotalMinutesComputedPlaned" : "float"
, "DayTotalMinutesComputedActual" : "float"
, "DayIntervals" : [
{ "From" : "string"
, "To" : "string"
, "DayIntervalPlanSymbol" : "string"
}
]}
]}
]}
Glossar:
- Employees: Array aller Personen
- EmployeeID: Personalnummer
- Surname: Zuname
- Forename: Vorname
- MasterAllocation: Stammplanungseinheit
- EmployeeJobGroup: Berufsgruppe
- Days: Array aller Tage
- ForDate: Datum von Tag
- ForState: Status von Tag
- InfoText: Text auf Tag
- DayPlanSymbol: Abwesenheit auf Tag
- DayShift1: Dienst 1 auf Tag
- DayShift2: Dienst 2 auf Tag
- DayRequestKind: Aufgabe auf Tag
- DayTotalMinutesComputedPlaned: Total in Minuten aus Plaung
- DayTotalMinutesComputedActual: Total in Minuten aus Ist
- DayIntervals: Array aller Kommt/Geht-Zeiten
- From: Komme
- To: Gehe
- DayIntervalPlanSymbol: Abwesenheit auf Kommt/Geht