Candidate Shift Restriction

POST /candidate/{candidate_id}/shift-restriction

This api is to restrict shift for the candidate

Headers

  • Accept string Required

    application/json

  • Content-Type string Required

    application/json

Path parameters

  • candidate_id string Required
application/json

Body

  • shifts array[number]

    pass 1 for Day and pass 2 for Night shift

    Minimum value of each is 1, maximum value of each is 2.

Responses

  • 200

    OK

POST /candidate/{candidate_id}/shift-restriction
curl \
 --request POST 'https://api-console.logezy.co/v1/candidate/{candidate_id}/shift-restriction' \
 --header "Accept: string" \
 --header "Content-Type: string" \
 --data '{"shifts":[1]}'
Request example
{
  "shifts": [
    1
  ]
}