Staff Report

GET /report/staff

This API is to get staff report. This is an authendicated API so we need to pass bearer token in request header to access the data.

Query parameters

Responses

GET /report/staff
curl \
 -X GET https://api-console.logezy.co/v1/report/staff \
 -H "Authorization: Bearer your-access-token" \
 -H "Accept: application/json"
Response examples (200)
{
  "status": "success",
  "data": {
    "current_page": 1,
    "data": [
      {
        "candidate_code": "DEM1CA120",
        "candidate_name": "Abey K",
        "job_title": "Nurse",
        "business_unit": "24 Care Unit 1",
        "business_unit_id": 57,
        "on_date": "23-12-2022",
        "on_day": "Friday",
        "shift": "Day",
        "payroll_id": null,
        "start_time": "08:00 AM",
        "end_time": "08:00 PM",
        "total_hours": "11.00",
        "staff_rate": "0.00",
        "staff_pay_amount": "0.00",
        "client_rate": "0.00",
        "client_pay_amount": "0.00",
        "status": "pending",
        "assign_vacancy_id": 2215,
        "assign_vacancy_detail_id": 2962,
        "employment_types_id": 4,
        "candidate_id": 120,
        "client": "24 Care"
      }
    ],
    "first_page_url": "https://api.logezydev.co.uk/v1/report/staff?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "https://api.logezydev.co.uk/v1/report/staff?page=1",
    "next_page_url": null,
    "path": "https://api.logezydev.co.uk/v1/report/staff",
    "per_page": 10,
    "prev_page_url": null,
    "to": 4,
    "total": 4
  },
  "message": "Staff reports retrieved successfully."
}