Shift Class |
Namespace: AMG.API.Definitions.Shifts
The Shift type exposes the following members.
Name | Description | |
---|---|---|
Gross |
This value is generated automatically and shows the total duration of the shift.
Note that in case the shift group is fixed, this value is equal to the difference of Stop and Start times
and in case the shift group is flexible it is equal to the sum of Total value and Lunch/Breaks durations.
In both cases this option is not editable and its value can't be entered manually.
| |
Id |
Unique identification value for the shift.
| |
LunchesAndBreaks |
Array of Lunch/Break configuration items
| |
Start |
The Start time of the Shift. Note that this option will be active only in case shift group is not flexible.
| |
Stop |
The Stop time of the Shift. Note that this option will be active only in case shift group is not flexible.
| |
Total |
This value shows the total duration of the shift's working time and is calculated by subtracting the total duration
of lunches and breaks from the Gross value.
Note that in case the shift group is fixed, this option is not editable and its value can't be entered manually,
but in case the shift group is flexible, it is to be entered manually.
|