Placements developer guide
    Preparing search index...
    • Drafts the board's open demand for its assistants. Open places are the demand of each active school, weekday, and block, bounded by the school's capacity plan for that weekday, minus active placements there. Assistants are the active affiliations without an active placement in the semester; those without an available weekday are reported, not drafted. A drafted placement serves 4 workdays per block.

      Parameters

      Returns {
          departmentId: string & Brand<"DepartmentId">;
          filledPlaces: number;
          openPlaces: number;
          openSlots: readonly {
              block: "1" | "2";
              day: "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday";
              places: number;
              schoolId: number & Brand<"SchoolId">;
              schoolName: string;
          }[];
          placements: readonly {
              block: "1"
              | "2"
              | "Both";
              day: "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday";
              firstName: string;
              lastName: string;
              personId: string & Brand<"PersonId">;
              schoolId: number & Brand<"SchoolId">;
              schoolName: string;
              wishes: {
                  language: "Norsk" | "Engelsk" | "Norsk og engelsk";
                  preferredSchool: string | null;
              };
              workdays: number;
          }[];
          semesterId: string & Brand<"SemesterId">;
          unplaced: readonly {
              firstName: string;
              lastName: string;
              personId: string & Brand<"PersonId">;
              reason: "NoAvailability" | "NoOpenPlace";
              wishes:
                  | {
                      language: "Norsk"
                      | "Engelsk"
                      | "Norsk og engelsk";
                      preferredSchool: string | null;
                  }
                  | null;
          }[];
      }