Docs

Get Candidates

GET /extractions/{extractionId}/candidates

GET/extractions/{extractionId}/candidates

Shortlists resources for the line match picker: the order's own needs first, then the event's resource types and variants whose names resemble the search text, up to 20. q is the search text; when q is empty, lineId uses that line's description instead. Each candidate has its name, variant, whether it is an order need, the rate card cost (only for a single standing fee) and, for an order need, the need id. Needs Order.View on its order (Expense.View at the event for an expense extraction).

Path Parameters

FieldTypeRequiredDescription
extractionIduuidRequired

Query Parameters

FieldTypeRequiredDescription
qstringOptional
lineIduuidOptional

Response

FieldTypeDescription
candidatesGetFinancialDocumentExtractionCandidatesResponseCandidate[]| null

GetFinancialDocumentExtractionCandidatesResponseCandidate

FieldTypeDescription
resourceTypeIduuid
resourceVariantIduuid| null
namestring| null
variantNamestring| null
isOrderNeedboolean
rateCardCostnumber| null
procurementResourceIduuid| null