Headers
-
application/json
-
application/json
Body
-
business_unit_id integer
-
job_id integer
-
shift_id integer
-
on_date array[string(date)]
-
start_time string
-
end_time string
-
break number
-
total_numbers number
-
po_number string
-
notes string
-
is_publish number
Minimum value is
1
, maximum value is0
. -
notify array[integer]
Pass 1 for Push,2 for SMS and 3 for Email Notification. eg: [1,2,3]
Minimum value of each is
1
, maximum value of each is3
.
POST
/vacancy/add
curl \
-X POST https://api-console.logezy.co/v1/vacancy/add \
-H "Accept: string" \
-H "Content-Type: string" \
-d '{"business_unit_id":42,"job_id":42,"shift_id":42,"on_date":["2025-05-04"],"start_time":"string","end_time":"string","break":42.0,"total_numbers":42.0,"po_number":"string","notes":"string","is_publish":42.0,"notify":[42]}'
Request examples
# Headers
Accept: string
Content-Type: string
# Payload
{
"business_unit_id": 42,
"job_id": 42,
"shift_id": 42,
"on_date": [
"2025-05-04"
],
"start_time": "string",
"end_time": "string",
"break": 42.0,
"total_numbers": 42.0,
"po_number": "string",
"notes": "string",
"is_publish": 42.0,
"notify": [
42
]
}
Response examples (200)
{
"data": {
"body": "created vacancies on 23-11-2023,24-11-2023",
"type": "vacancy_created",
"title": "Aurora - Demo Agency",
"userIds": [
72026,
71611
],
"client_id": 193,
"business_unit_id": "214"
},
"status": "success",
"message": "New vacancies created successfully."
}