Categories
Get Categories
Returns records of vacancy categories created by client
GET /dashboard/vacancies/categories
Query Parameters
q
String
Limit search based on string
per_page
Integer
Limit data categories per page (for pagination)
page
Integer
Limit data categories based on page (for pagination)
show_all
Boolean
Set to false if want to use pagination
order
String
Ordering data based on created at, options: DESC or ASC Default: DESC
Headers
Client-Key*
String
Your client Key
Authorization*
String
Admin bearer token
{
"data": [
{
"id": 1,
"name": "Tech",
"slug": "demo-nama-itu",
"description": "This is tech category",
"vacancies_count": 0
}
],
"meta": {
"pagination": {
"total": 1,
"count": 1,
"per_page": 10,
"current_page": 1,
"total_pages": 1,
"links": {}
}
}
}Create Category
Create a vacancy category and return it value
POST /dashboard/vacancies/categories
Headers
Client-Key*
String
Your client Key
Authorization*
String
Admin bearer token
Request Body
name*
String
The name of the category
description
String
The description of the category
Get Category Detail
Returns vacancy category by id
GET /dashboard/vacancies/categories/{id}
Path Parameters
id*
Integer
Id of the category
Headers
Client-Key*
String
Your client Key
Authorization*
String
Admin bearer token
Update Category
Update vacancy category by id and return its value
PUT /dashboard/vacancies/categories/{id}
Path Parameters
id*
Integer
The id of the category
Headers
Client-Key*
String
Your client Key
Authorization*
String
Admin bearer token
Request Body
name*
String
The name of the category
description
String
The description of the category
Delete Category
Delete vacancy category by id
DELETE /dashboard/vacancies/categories/{id}
Path Parameters
id*
Integer
The id of the category
Headers
Client-Key*
String
Your client Key
Authorization*
String
Admin bearer token
Example Request
Last updated