GET/events/{eventId}/order-role-definitions/{roleDefinitionId}/candidates
Lists who or what can fill an active order role on a new order of the event, before the order exists, filtered by search on name and
detail. Same groups and order as Orders_GetOrderRoleCandidates, in its own response type, without the event's own roles. With an event token the route's
event must be the token's event and Order.Edit is needed there, as Orders_CreateOrder does. An org token for the event's organization
is accepted when the caller holds Order.Edit on the event, held there or lent from the organization (the newOrder of
Reservations_AddResourceReservation and Organizations_AddOrderLines). Each group lists only what its own read admits.
Path Parameters
| Field | Type | Required | Description |
|---|
| eventId | uuid | Required | |
| roleDefinitionId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| search | string | Optional | |
Response
Type: GetEventOrderRoleCandidateResponse[]
GetEventOrderRoleCandidateResponse
| Field | Type | Description |
|---|
| source | string| null | |
| id | uuid | |
| name | string| null | |
| detail | string| null | |
| quantity | number| null | |
| fill | GetEventOrderRoleCandidateResponseFillInfo| null | |
| procurementId | uuid| null | |
| isComposite | boolean| null | |
| isRoleLinked | boolean| null | |
| imageUrl | string| null | |
GetEventOrderRoleCandidateResponseFillInfo
| Field | Type | Description |
|---|
| resourceName | string| null | |