workforce

Create Training

Put any number of trainees on a trainer's blocks for a dated window, new hire or retraining -- CHANGES.md §2. Gated on people:write, the same grant /supervisor-training above already uses: both change what a published schedule is allowed to hold.

⛔RETRAINING DOES NOT PULL THE TRAINEE OFF THEIR OWN BLOCKS YET. CHANGES.md §2, verbatim: "Retraining does not yet pull the person off their usual blocks on the grid. Frederick to decide; build as the design shows." This route only ever writes workforce_trainings/ workforce_training_trainees (see training.py's own header) -- it never touches floor_blocks/roster_shifts, so nobody is removed from a shift they already hold by calling it.

post/api/workforce/training

Request

  • Base URL: https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pigeonly.com/api/workforce/training
  • Auth: none declared

Request body

team'fulfillment' | 'customer_service' required
traineesstring[] required
trainerstring uuid required
kind'new_hire' | 'retraining' required
fromstring date required
tostring date required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.