Inhaltsverzeichnis

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.

GET

Get start end time for a member of staff for today

/rest/startend/staff/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>

Get start end time for a member of staff for a defined date

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

Same result as above

POST / PUT

Set start end time for a member of staff for today

/rest/startend/staff/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>

Set start end time for a member of staff for a defined date

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

Same request body as above
Same result as above