Types

Get Types

Returns records of vacancy types created by client

GET /dashboard/vacancies/types

Query Parameters

Name
Type
Description

q

String

Limit data types based on string

order

String

Ordering data types based on created at, options: DESC or ASC

Default: DESC

per_page

Integer

Limit data companies by how many data shown on per page

page

Integer

Limit data companies by page

show_all

Boolean

Set to false if you want to use pagination

Headers

Name
Type
Description

Client-Key*

String

Your client Key

Authorization*

String

Admin bearer token

{
    "data": [
        {
            "id": 18,
            "name": "Fulltime",
            "slug": "demo-fulltime"
        }
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": {}
        }
    }
}

Create Type

Create a vacancy type and return its value

POST /dashboard/vacancies/types

Headers

Name
Type
Description

Client-Key*

String

Your client Key

Authorization*

String

Admin bearer token

Request Body

Name
Type
Description

name*

String

Name of the type

Get Type Detail

Returns vacancy type by id

GET /dashboard/vacancies/types/{id}

Path Parameters

Name
Type
Description

id*

Integer

The id of the type

Headers

Name
Type
Description

Client-Key*

String

Your client Key

Authorization

String

Admin beaer token

Update Type

Update vacancy type by id and return its value

PUT /dashboard/vacancies/types/{id}

Path Parameters

Name
Type
Description

id*

Integer

The id of the type

Headers

Name
Type
Description

Client-Key*

String

Your client Key

Authorization*

String

Admin bearer token

Request Body

Name
Type
Description

name*

String

The name of the type

Delete Type

Delete vacancy type by id

DELETE /dashboard/vacancies/types/{id}

Path Parameters

Name
Type
Description

id*

Integer

Headers

Name
Type
Description

Client-Key

String

Your client Key

Authorization*

String

Admin bearer token

Example Request

Last updated