Route one or more documents into a Filer record and follow them through to completion.
- Look up the configuration you are routing into. GetConfigurationSettingsById returns its metadata, document types (classification items) and access types.
- Identify the entity. GetPrimaryIdentifierByConfigId tells you which demographic field is the primary identifier, and GetDemographicInformation returns the entity’s details.
- Base64-encode each document and post the request to RouteDocumentsOperation. A
202response means the operation has been queued. - Keep the
operationGuidfrom the response. - Poll CheckRouteDocumentsOperationProcess with that ID until the operation finishes, or check many operations at once with CheckMultipleRoutingOperationsStatus.
- When routing succeeds, each document in the response includes its
recordUrl.
Routing is asynchronous. A backend Azure function picks the operation up from the queue, so the 202 response only confirms the request was accepted.