Set the schedule in the request to either warm start the solution in order to reach higher quality solutions or set a part of the schedule to locked

Lock partial plan

Distribute number of shifts fairly over a specific set of employees and a specific set of shifts during a specific period.

warm start
{
  "schedule": [
    {
      "employee": "John",
      "shift": "shift1",
      "locked": false
    },
    {
      "employee": "Bert",
      "shift": "shift2",
      "locked": false
    }
  ]
}
locked
{
  "schedule": [
    {
      "employee": "John",
      "shift": "shift1",
      "locked": true
    },
    {
      "employee": "Bert",
      "shift": "shift2",
      "locked": true
    }
  ]
}