Docs

Get Organization Order Role Candidates

GET /organizations/{orgId}/order-role-definitions/{roleDefinitionId}/candidates

GET/organizations/{orgId}/order-role-definitions/{roleDefinitionId}/candidates

Lists 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

FieldTypeRequiredDescription
orgIduuidRequired
roleDefinitionIduuidRequired

Query Parameters

FieldTypeRequiredDescription
searchstringOptional
requestingDepartmentIduuidOptional

Response

Type: GetOrganizationOrderRoleCandidateResponse[]

GetOrganizationOrderRoleCandidateResponse

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

GetOrganizationOrderRoleCandidateResponseFillInfo

FieldTypeDescription
resourceNamestring| null