Start End Time

To see the Start End Times (Beginn- und Endezeiten) in the module Hours (Stunden), he Start End Times have to be activated in the Setup.

/rest/startend/staff/4

  • Get for staff ID 4
Example result
<?xml version="1.0" encoding="UTF-8"?>
<xml>
    <time_deduct>0.5</time_deduct>
    <start_time date="1900-01-10 08:00:00" timezone_type="3" timezone="Europe/Vienna"/>
    <end_time date="1900-01-10 16:30:00" timezone_type="3" timezone="Europe/Vienna"/>
    <fullday>8</fullday>
</xml>

/rest/startend/staff/4/2011/1/1

  • Get for staff ID 4
  • Get for 2011/Jan/01
Same result as above

POST / PUT

/rest/startend/staff/4

  • Set for staff ID 4
Example request body for default deduct
start_time=08:00&end_time=16:30
Example request body with deduct set
start_time=08:00&end_time=16:30&time_deduct=0.5
Example result
<?xml version="1.0" encoding="UTF-8"?>
<xml>
    <url>.../rest/startend/staff/4/2011/01/01</url>
</xml>

/rest/startend/staff/4/2011/1/1

  • Set for staff ID 4
  • Set for 2011/Jan/01
Same request body as above
Same result as above