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.
GET
/report/ratecard/staffrate
curl \
--request GET 'https://api-console.logezy.co/v1/report/ratecard/staffrate' \
--header "Authorization: Bearer your-access-token" \
--header "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."
}