Client Reports
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
-
start_date string
The planned day to get report from
-
end_date string
The planned day to get report till
-
candidate number
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
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)
{
"data": {
"to": 4,
"data": [
{
"shift": "Day",
"client": "A Care",
"on_day": "Wednesday",
"status": "invoiced",
"on_date": "21-12-2022",
"end_time": "08:00 PM",
"job_title": "Nurse",
"start_time": "08:00 AM",
"client_rate": "100.00",
"total_hours": "12.00",
"invoice_rate": "100.00",
"invoice_hours": "12.00",
"candidate_name": "Abey K",
"client_pay_amount": "1200.00",
"invoice_total_amount": "1200.00"
}
],
"from": 1,
"path": "https://api.logezydev.co.uk/v1/report/client",
"total": 4,
"per_page": 10,
"last_page": 1,
"current_page": 1,
"last_page_url": "https://api.logezydev.co.uk/v1/report/client?page=1",
"next_page_url": null,
"prev_page_url": null,
"first_page_url": "https://api.logezydev.co.uk/v1/report/client?page=1"
},
"status": "success",
"message": "Client reports retrieved successfully."
}