~~NOTRANS~~
====== Start End Time ======
To see the Start End Times ([[de:setup:setup:sideboard:hours:module_hours#beginn-_und_endezeiten|Beginn- und Endezeiten]]) in the module Hours (Stunden), he Start End Times have to be activated in the [[de:setup:setup:sideboard:hours:module_hours#beginn-_und_endezeiten|Setup]].
===== GET =====
==== Get start end time for a member of staff for today ====
''/rest/startend/staff/__4__''
* Get for staff ID 4
== Example result ==
0.5
8
==== Get start end time for a member of staff for a defined date ====
''/rest/startend/staff/__4__/__2011/1/1__''
* Get for staff ID 4
* Get for 2011/Jan/01
== Same result as above ==
===== POST / PUT =====
==== Set start end time for a member of staff for today ====
''/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 ==
.../rest/startend/staff/4/2011/01/01
==== Set start end time for a member of staff for a defined date ====
''/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 ==