Gets shifts based on certain optional criteria.
POST https://apimy.yourpayroll.io/api/v2/ess/{employeeId}/timeandattendance/shifts
Parameter name | Value | Description | Additional |
---|---|---|---|
employeeId | int32 | Required |
The request body takes a complete GetShiftsModel resource, containing the following writable properties:
{
"employeeId": "int32",
"fromDateUtc": "date-time",
"kioskId": "int32",
"locationId": "int32",
"toDateUtc": "date-time"
}
Name | Type | Description |
---|---|---|
employeeId | int32 |
Nullable |
fromDateUtc | date-time |
Nullable |
kioskId | int32 |
Nullable |
locationId | int32 |
Nullable |
toDateUtc | date-time |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
MyTimeAndAttendanceShiftModel |
Powered by DapperDox