GET
/
api
/
job-types
List all job types
curl --request GET \
  --url http://localhost:3000/api/job-types \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "_id": "<string>",
      "name": "<string>",
      "code": "<string>",
      "description": "<string>",
      "sheetsPerPane": 1,
      "defaultRawGlassTypes": [
        "<string>"
      ],
      "isActive": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

isActive
enum<string>

Filter by active status

Available options:
true,
false
page
integer
Required range: x >= 1
limit
integer
Required range: x >= 1
sort
string

Response

200 - application/json

List of job types

success
boolean
data
object[]