Ratecard Staff Rate
This API is to get staff rate report. This is an authendicated API so we need to pass bearer token in request header to access the data.
Query parameters
-
region number
Id of the region to filter report
-
client number
Id of the client to filter report
-
business_unit number
Id of the business unit to filter report
-
job number
Id of job to filter report
-
job_name string
Name of the job to filter report
-
employment_type number
Id of Employment type to filter report
-
per_page number
Minimum value is 1 and maximum value is 100
GET
/report/ratecard/staffrate
curl \
-X GET https://api-console.logezy.co/v1/report/ratecard/staffrate \
-H "Authorization: Bearer your-access-token" \
-H "Accept: application/json"
Response examples (200)
{
"data": {
"to": 4,
"data": [
{
"id": 1,
"day": "Tuesday",
"job": "Cleaner",
"shift": "Night",
"title": "Private Limited",
"value": "0.00",
"day_id": 2,
"job_id": 10,
"shift_id": 234,
"rate_type": "hourly_rate",
"holiday_id": null,
"client_name": "24 Care",
"client_rate": "22.00",
"holiday_date": null,
"holiday_title": null,
"rate_cards_id": 2124,
"holiday_status": null,
"business_unit_id": 58,
"custom_holiday_id": 0,
"business_unit_name": "24 Care Unit 2"
}
],
"from": 1,
"path": "https://api.logezydev.co.uk/v1/report/ratecard/staffrate",
"total": 4,
"per_page": 10,
"last_page": 1,
"current_page": 1,
"last_page_url": "https://api.logezydev.co.uk/v1/report/ratecard/staffrate?page=1",
"next_page_url": null,
"prev_page_url": null,
"first_page_url": "https://api.logezydev.co.uk/v1/report/ratecard/staffrate?page=1"
},
"status": "success",
"message": "Staff Rate reports retrieved successfully."
}