GET/Orders/{orderId}/roles/{roleDefinitionId}/candidates
Lists who or what can fill one of the order's roles, filtered by search on name and detail. A procured role lists needs of its types on the
order's event (organization needs for an org order), those on this order's lines first, each with its procurement, dates, quantity and the
resource its live reservation holds. A Crew role lists the event's crew, then the rest of the organization's crew; a Collaborator role the event's
collaborators, then organization records; a Resource role the organization's inventory of its types. An event order's
Crew and Collaborator roles also list the event's Single roles of the same kind. The order's vendor sees event sources only. Needs Order.View;
each group lists only what its own read admits: crew by Crew.View, collaborators by Collaborator.View (at the event, the collaborator or
the organization), needs by Procurement.View (organization needs also by Inventory.View), inventory as the resource list reads it, and
event roles on access to the event. A group the caller can't view is left out, never refused.
Path Parameters
| Field | Type | Required | Description |
|---|
| orderId | uuid | Required | |
| roleDefinitionId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| search | string | Optional | |
Response
Type: GetOrderRoleCandidateResponse[]
GetOrderRoleCandidateResponse
| Field | Type | Description |
|---|
| source | string| null | |
| id | uuid | |
| name | string| null | |
| detail | string| null | |
| quantity | number| null | |
| fill | GetOrderRoleCandidateResponseFillInfo| null | |
| procurementId | uuid| null | |
| isComposite | boolean| null | |
| isRoleLinked | boolean| null | |
| imageUrl | string| null | |
GetOrderRoleCandidateResponseFillInfo
| Field | Type | Description |
|---|
| resourceName | string| null | |