Docs

Get Event Order Role Candidates

GET /events/{eventId}/order-role-definitions/{roleDefinitionId}/candidates

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

FieldTypeRequiredDescription
eventIduuidRequired
roleDefinitionIduuidRequired

Query Parameters

FieldTypeRequiredDescription
searchstringOptional

Response

Type: GetEventOrderRoleCandidateResponse[]

GetEventOrderRoleCandidateResponse

FieldTypeDescription
sourcestring| null
iduuid
namestring| null
detailstring| null
quantitynumber| null
fillGetEventOrderRoleCandidateResponseFillInfo| null
procurementIduuid| null
isCompositeboolean| null
isRoleLinkedboolean| null
imageUrlstring| null

GetEventOrderRoleCandidateResponseFillInfo

FieldTypeDescription
resourceNamestring| null