assign_person
Assigns a person to a block. Validation: the block must support assignments (groupe, filiale, sous-filiale, verticale, transversale, container (division), externe, infrastructure — not node). The ownership percentage (shares) only applies to the 'entity' types (groupe, filiale, sous-filiale, verticale, transversale): on a division, an externe or an infrastructure, a person is assigned WITHOUT a share and any shares value (100 included) is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Specific role in this block | |
| cellId | Yes | ID of the block (must be a type that supports assignments: groupe, filiale, sous-filiale, verticale, transversale, container (division), externe, infrastructure — not node) | |
| shares | No | Percentage of the capital held (0-100). Only for the 'entity' types: groupe, filiale, sous-filiale, verticale, transversale — ANY value (100 included) is REFUSED on a division (container), an externe or an infrastructure: a person is assigned there WITHOUT shares (field omitted). The field is also omitted when the share is not known: no share is then declared, which is different from 100, and no value is invented | |
| personId | Yes | ID of the person | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |