POST/collaborator-types/{typeId}/sections/{sectionId}/roles
Places a library role in a section of a collaborator type, at index (roles and attributes share one order), with its default required and task-tracked flags,
whether the tracked task needs review, an optional due date rule (Relative must read a Date or DateTime attribute placed on this type) and default assignee
(a crew member of the organization, or a role placed on this type), and whether the collaborator can see and edit the slot. An archived role is refused.
Role ids come from CollaboratorDatabase_GetCollaboratorRoleDefinitions. Needs Collaborator.Configure at the organization.
reviewRoute replaces the placement's default review route (role definitions and org crew); null clears it.
Path Parameters
| Field | Type | Required | Description |
|---|
| typeId | uuid | Required | |
| sectionId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| roleDefinitionId | uuid | Optional | |
| index | integer | Optional | |
| defaultIsRequired | boolean | Optional | |
| defaultIsTaskTracked | boolean | Optional | |
| isTaskReviewRequired | boolean | Optional | |
| showOnCreateForm | boolean | Optional | |
| isCollaboratorVisible | boolean | Optional | |
| isCollaboratorEditable | boolean | Optional | |
| dueDateRule | AssignCollaboratorTypeRoleRequestDueDateRuleInfo | Optional | |
| defaultAssignee | AssignCollaboratorTypeRoleRequestDefaultAssigneeInfo | Optional | |
| reviewRoute | AssignCollaboratorTypeRoleRequestReviewRouteInfo | Optional | |
AssignCollaboratorTypeRoleRequestDueDateRuleInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| date | date-time| null | |
| sourceAttributeId | uuid| null | |
| offset | integer| null | |
| unit | string| null | |
AssignCollaboratorTypeRoleRequestDefaultAssigneeInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| orgCrewId | uuid| null | |
| roleDefinitionId | uuid| null | |
AssignCollaboratorTypeRoleRequestReviewRouteInfo
| Field | Type | Description |
|---|
| stages | AssignCollaboratorTypeRoleRequestReviewRouteInfoStage[]| null | |
AssignCollaboratorTypeRoleRequestReviewRouteInfoStage
| Field | Type | Description |
|---|
| id | uuid| null | |
| name | string| null | |
| kind | string| null | |
| groups | AssignCollaboratorTypeRoleRequestReviewRouteInfoGroup[]| null | |
AssignCollaboratorTypeRoleRequestReviewRouteInfoGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| threshold | integer| null | |
| members | AssignCollaboratorTypeRoleRequestReviewRouteInfoMember[]| null | |