.. include:: /Includes.rst.txt .. _feature-1791221742: ==================================================== Feature: Import working-time assignments from a file ==================================================== Description =========== ``importWorkingTimeAssignments`` reads a CSV or XLSX file, recognised by its content, with the columns ``personnelNumber``, ``kind``, ``schedule`` (the code of a model or the name of a rotation), ``validFrom`` and optionally ``validTo`` and ``rotationOffset``. Every row is checked by the rules of a single assignment in the order of the file. When any row is invalid, the answer is 422 with violations on ``rows..`` and nothing is stored; ``dryRun`` checks the same and stores nothing. The assignments page offers the import with a check first. Impact ====== Rotations have no code; a row names a rotation by its name in any language. .. index:: API, Frontend, package:adsum-working-time