Retrieves applicable pay differentials for locations and shifts.
Path Parameters
- Type: stringorganization
_code max length:10requiredThe identifier for the organization.
Body
An array of shifts to query.
- Type:Properties: 5
Responses
- application/json
- application/json
- 401
Unauthorized
- application/json
- 429
Too many requests in past minute
- 500
Internal Server Error
Request Example for post/api/v1/Organizations/{organization_code} /shift_diff
curl '/api/v1/Organizations/{organization_code}/shift_diff' \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'ApiKey: YOUR_SECRET_TOKEN' \
--data '[
{
"location_number": "",
"job_code": "CSH",
"bus_dt": "2000-01-01",
"clock_in": "2000-01-01 16:00:00",
"clock_out": "2000-01-02 00:00"
}
]'
{
"data": [
{
"location_number": null,
"job_code": {
"code": "CSH",
"description": "Cashier"
},
"differential_rate": {
"amount": 3.5,
"currency_code": "USD"
},
"differential_length": "02:00:00",
"clock_in": "2000-01-01T16:00:00.0000000",
"clock_out": "2000-01-02T00:00:00.0000000"
}
],
"data_type": null,
"available_requests": 1
}