Keine Bearbeitungszusammenfassung |
|||
| Zeile 19: | Zeile 19: | ||
= Ergebnis = | = Ergebnis = | ||
Tagesinformation im [https://www.json.org/ JSON-Format] | Tagesinformation im [https://www.json.org/ JSON-Format] in der Form: | ||
{ "EmployeeID" : string | |||
, "Surname" : string | |||
, "Forename" : string | |||
, "MasterAllocation" : string | |||
, "EmployeeJobGroup" : string | |||
, "Days" | |||
: [ | |||
{ "ForDate" : string | |||
, "ForState" : int | |||
, "InfoText" : string | |||
, "DayPlanSymbol" : string | |||
, "DayShift1" : string | |||
, "DayShift2" : string | |||
, "DayRequestKind" : string | |||
, "DayTotalMinutesComputedPlaned" : float | |||
, "DayTotalMinutesComputedActual" : float | |||
, "DayIntervals" | |||
: [ | |||
{ "From" : string | |||
, "To" : string | |||
, "DayIntervalPlanSymbol" : string | |||
} | |||
] | |||
} | |||
] | |||
} | |||
Version vom 6. Dezember 2017, 10:18 Uhr
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
Ergebnis
Tagesinformation im JSON-Format in der Form:
{ "EmployeeID" : string
, "Surname" : string
, "Forename" : string
, "MasterAllocation" : string
, "EmployeeJobGroup" : string
, "Days"
: [
{ "ForDate" : string
, "ForState" : int
, "InfoText" : string
, "DayPlanSymbol" : string
, "DayShift1" : string
, "DayShift2" : string
, "DayRequestKind" : string
, "DayTotalMinutesComputedPlaned" : float
, "DayTotalMinutesComputedActual" : float
, "DayIntervals"
: [
{ "From" : string
, "To" : string
, "DayIntervalPlanSymbol" : string
}
]
}
]
}