Client Reports

GET /report/client

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

Query parameters

  • region string

    Id of the region to filter report

  • client string

    Id of the client to filter report

  • The planned day to get report from

  • end_date string

    The planned day to get report till

  • ID of the candidate to filter report

  • job number

    ID of the job to filter report

  • per_page number

    Minimum value is 1 and maximum value is 100

Responses

GET /report/client
curl \
 -X GET https://api-console.logezy.co/v1/report/client \
 -H "Authorization: Bearer your-access-token" \
 -H "Accept: application/json"
Response examples (200)
{
  "status": "success",
  "data": {
    "current_page": 1,
    "data": [
      {
        "candidate_name": "Abey K",
        "job_title": "Nurse",
        "on_date": "21-12-2022",
        "on_day": "Wednesday",
        "shift": "Day",
        "start_time": "08:00 AM",
        "end_time": "08:00 PM",
        "total_hours": "12.00",
        "client_rate": "100.00",
        "client_pay_amount": "1200.00",
        "status": "invoiced",
        "client": "A Care",
        "invoice_hours": "12.00",
        "invoice_rate": "100.00",
        "invoice_total_amount": "1200.00"
      }
    ],
    "first_page_url": "https://api.logezydev.co.uk/v1/report/client?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "https://api.logezydev.co.uk/v1/report/client?page=1",
    "next_page_url": null,
    "path": "https://api.logezydev.co.uk/v1/report/client",
    "per_page": 10,
    "prev_page_url": null,
    "to": 4,
    "total": 4
  },
  "message": "Client reports retrieved successfully."
}