Inhaltsverzeichnis

Target hours

GET

Get target hours for a member of staff for today [From X2 16320]

/rest/target_hours/staff/4

Example result
<?xml version="1.0" encoding="UTF-8"?>
<xml>
  <target_hours>8</target_hours>
  <has_holiday>false</has_holiday>
  <holiday></holiday>
  <has_vacation>true</has_vacation>
  <vacation start_date="2018-07-01 00:00:00" end_date="2018-07-31 00:00:00" ... />
  <date>2018-07-11</date>
</xml>

Nota bene:

Get target hours for a member of staff for a defined date [From X2 16320]

/rest/target_hours/staff/4/2018/7/1

Same result as above