v1

latestOpenAPI 3.0.02026-07-14800227.2 KB
Custom fields

Return a list of custome fields.

Returns a list of the existing custom fields in Kenjo.

get/custom-fields

Query parameters

section'personal' | 'work' | 'address' | 'financial' | 'home'
Example:personal

The name of custom field section.

labelstring
Example:Blood type

The name of the custom field label.

apiNamestring
Example:c_Bloodtype

The api name is a required identifier to perform POST and PUT operations with employees.

Headers

Authorizationstring required
Example:Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FwaS5rZW5qby5pbyIsInN1YiI6IjYwZjBhOTE2MjE0OTg3MjU2YmU5YzhmZiIsImF1ZCI6Imh0dHBzOi8vYXBpLmtlbmpvLmlvIiwiaWF0IjoxNjI2Mzg1MTE1LCJuYmYiOjE2MjYzODUxMTUsImV4cCI6MTYyNjU1NzkxNSwiYWNjZXNzVHlwZSI6IkFwaUFjY2VzcyIsInNfb3JnSWQiOiI2MGYwNGVhN2RmN2JhMjFlY2U0YmYzYzIifQ.cxG_7dIS-VbmDXdJuLkekoyuyCIzQG2fMcgc0nkfbWE8cihhcb5FnALbQkjU9b5-qVcEoMHZlSuUA-jMEBMMVQ

A valid bearer token.

Response

OK

Example response

{
  "data": [
    {
      "_id": "60a2db290da29e126a18789a",
      "section": "work",
      "label": "Score",
      "apiName": "c_Score",
      "type": "Number"
    },
    {
      "_id": "60a2db290da29e126a18789b",
      "section": "personal",
      "label": "Blood type",
      "apiName": "c_Bloodtype",
      "type": "List",
      "values": [
        "A",
        "B"
      ]
    }
  ]
}