Service |
public UserInfoGetPolicyDurationOut UserInfoGetPolicyDuration( UserInfoGetPolicyDurationIn param )
Note |
---|
Break/Meal duration's can have multiple values for a given day, therefore a break may come back with three separate durations and a meal could come back with two or vice versa. There are also instances where no duration will come back. In short durations are dynamic and can have any number of different combinations that may be returned for either a meal or break. The amount of durations is based on the payroll policy's configuration. |
Note |
---|
Setup: Manager > Employees > Policies > Payroll Policy Configuration > Payroll Processing > Payroll Policies > Meals/Breaks Business Rules: The is a hierarchy level that comes into effect when working with break and meal durations.
|
{ "AuthToken":"String_Content", "EmpIdentifiers":["String_Content"] }
{ "Results": [ { "EmpIdentifier": "1234", "PayrollPolicyID": 7, "Meals": { "AllowManOverride": false, "RuleType": 1, "Durations": [ { "AllowSecs": 1200, "AutoEndSecsAfterClockIn": 0, "AutoExtraSecs": 0, "AutoShiftType": 0, "AutoStartSecsAfterClockIn": 0, "AutoStartsAtTime": "/Date(-62135571600000-0700)/", "DetailID": 14, "IsActive": false, "IsNext": true, "IsPaid": false, "ManualBreakAvailableAfterSecs": 3600 } ] }, "Breaks": { "AllowManOverride": true, "RuleType": 2, "Durations": [ { "AllowSecs": 7380, "AutoEndSecsAfterClockIn": 0, "AutoExtraSecs": 0, "AutoShiftType": 1, "AutoStartSecsAfterClockIn": 0, "AutoStartsAtTime": "/Date(-2208891600000-0700)/", "DetailID": 4, "IsActive": false, "IsNext": true, "IsPaid": false, "ManualBreakAvailableAfterSecs": 0 }, { "AllowSecs": 1320, "AutoEndSecsAfterClockIn": 0, "AutoExtraSecs": 0, "AutoShiftType": 2, "AutoStartSecsAfterClockIn": 0, "AutoStartsAtTime": "/Date(-2208920400000-0700)/", "DetailID": 6, "IsActive": false, "IsNext": false, "IsPaid": false, "ManualBreakAvailableAfterSecs": 0 } ] } } ] }