Docs
Get Organization Order Role Candidates
GET /organizations/{orgId}/order-role-definitions/{roleDefinitionId}/candidates
GET
/organizations/{orgId}/order-role-definitions/{roleDefinitionId}/candidatesLists who or what can fill an active order role on a new organization-level order, before the order exists, filtered by search on name and detail. Same groups and order as Orders_GetOrderRoleCandidates, in its own response type, without event roles; a procured role lists the organization's needs. The route's organization must be the token's organization. Needs Order.Edit at the organization, as Orders_CreateOrder does, checked against requestingDepartmentId (a department of the organization, optional) as the create does; each group lists only what its own read admits.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required | |
| roleDefinitionId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| search | string | Optional | |
| requestingDepartmentId | uuid | Optional |
Response
Type: GetOrganizationOrderRoleCandidateResponse[]
GetOrganizationOrderRoleCandidateResponse
| Field | Type | Description |
|---|---|---|
| source | string| null | |
| id | uuid | |
| name | string| null | |
| detail | string| null | |
| quantity | number| null | |
| fill | GetOrganizationOrderRoleCandidateResponseFillInfo| null | |
| procurementId | uuid| null | |
| isComposite | boolean| null | |
| isRoleLinked | boolean| null | |
| imageUrl | string| null |
GetOrganizationOrderRoleCandidateResponseFillInfo
| Field | Type | Description |
|---|---|---|
| resourceName | string| null |