| 
				     | 
				
| (46 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | 
| Zeile 1: | 
Zeile 1: | 
 | __NOTOC__ {{DISPLAYTITLE:Webservice Tagesinformationen}}
  |  | #redirect [[Webservice Tagesinformationen]]  | 
 |    |  | 
 | = 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 [https://www.json.org/ JSON-Format] in der Form:
  |  | 
 |    |  | 
 |  { "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:
  |  | 
 | * 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
  |  | 
 |    |  | 
 | = Beispiel =
  |  | 
 | [[Datei:EmployeeDayIntervalsExample.txt]]
  |  |