Diese Hilfe bezieht sich auf die nicht mehr unterstützte untermStrich X (10) und X.1 (11).
Zur Hilfe für untermStrich X3 wechseln

Start End Time

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

GET

Get start end time for a member of staff for today

/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>

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
<?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

  • Set for staff ID 4
  • Set for 2011/Jan/01
Same request body as above
Same result as above
Melden Sie sich an, um einen Kommentar zu erstellen.