Vacancy listing
This API is to listing vacancy based on given filter. This is an authendicated API so we need to pass bearer token in request header to access the data.
Headers
-
application/json
-
application/json
POST
/vacancy/list
curl \
-X POST https://api-console.logezy.co/v1/vacancy/list \
-H "Accept: string" \
-H "Content-Type: string" \
-d '{"to":"2019-08-24","from":"2019-08-24","jobs":[0],"status":"applied","clients":[0],"regions":[0],"per_page":1,"business_units":[0]}'
Request example
{
"to": "2019-08-24",
"from": "2019-08-24",
"jobs": [
0
],
"status": "applied",
"clients": [
0
],
"regions": [
0
],
"per_page": 1,
"business_units": [
0
]
}
Response examples (200)
{
"data": {
"to": 9,
"data": [
{
"id": 17802,
"day": "Tuesday",
"code": "VCD0017802",
"notes": null,
"shift": "Day",
"client": "Anjali Nursing Home",
"on_date": "07-05-2024",
"end_time": "20:00",
"is_copied": 0,
"job_title": "Nurse",
"created_at": "07-05-2024 10:10",
"is_publish": 1,
"start_time": "08:00",
"actual_date": "2024-05-07",
"created_name": "Manoj Antony",
"region_names": "Birmingham,Croydon,London,Spain",
"applied_count": 0,
"business_unit": "A care home",
"total_numbers": 1,
"assigned_count": 0,
"formatted_number": "+44 7894 561232",
"is_publish_by_job": 0
}
],
"from": 1,
"path": "http://api-console.localhost:8000/v1/vacancy/list",
"total": 9,
"per_page": 40,
"last_page": 1,
"current_page": 1,
"last_page_url": "http://api-console.localhost:8000/v1/vacancy/list?page=1",
"next_page_url": null,
"prev_page_url": null,
"first_page_url": "http://api-console.localhost:8000/v1/vacancy/list?page=1"
},
"status": "success",
"message": "Vacancies retrieved successfully."
}