Employment Types

GET /employment-type/list

This API is to get Employment type list. This is an authendicated API so we need to pass bearer token in request header to access the data.

Headers

  • Content-Type string Required

    application/json

  • Accept string Required

    application/json

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • status string
    • data array[object]
      Hide data attributes Show data attributes object
      • id number
      • title string
      • code string
      • description string
      • is_default boolean
      • created_by string
      • status string
      • is_deleted boolean
      • created_at string
      • updated_at string
      • value string
      • staff_rate string
      • employment_type_id number
      • employment_type string
    • message string
GET /employment-type/list
curl \
 --request GET 'https://api-console.logezy.co/v1/employment-type/list' \
 --header "Content-Type: Bearer your-access-token" \
 --header "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "id": 1,
      "code": "EMPDEM1",
      "title": "Private Limited",
      "value": "0.00",
      "status": "active",
      "created_at": "2020-05-22 19:28:26",
      "created_by": null,
      "is_default": 1,
      "is_deleted": 0,
      "staff_rate": "0.00",
      "updated_at": "2020-05-22 19:28:26",
      "description": null,
      "employment_type": "Private Limited",
      "employment_type_id": 1
    }
  ],
  "status": "success",
  "message": "Employment types retrieved successfully."
}