Candidate Shift Restriction

POST /candidate/{candidate_id}/shift-restriction

This api is to restrict shift for the candidate

Headers

Path parameters

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

POST /candidate/{candidate_id}/shift-restriction
curl \
 -X POST https://api-console.logezy.co/v1/candidate/{candidate_id}/shift-restriction \
 -H "Accept: string" \
 -H "Content-Type: string" \
 -d '{"shifts":[1]}'
Request example
# Headers
Accept: string
Content-Type: string

# Payload
{
  "shifts": [
    1
  ]
}