Docs

Get Order Role Candidates

GET /Orders/{orderId}/roles/{roleDefinitionId}/candidates

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

FieldTypeRequiredDescription
orderIduuidRequired
roleDefinitionIduuidRequired

Query Parameters

FieldTypeRequiredDescription
searchstringOptional

Response

Type: GetOrderRoleCandidateResponse[]

GetOrderRoleCandidateResponse

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

GetOrderRoleCandidateResponseFillInfo

FieldTypeDescription
resourceNamestring| null