How to send documents to Filer

Route one or more documents into a Filer record and follow them through to completion.

  1. Look up the configuration you are routing into. GetConfigurationSettingsById returns its metadata, document types (classification items) and access types.
  2. Identify the entity. GetPrimaryIdentifierByConfigId tells you which demographic field is the primary identifier, and GetDemographicInformation returns the entity’s details.
  3. Base64-encode each document and post the request to RouteDocumentsOperation. A 202 response means the operation has been queued.
  4. Keep the operationGuid from the response.
  5. Poll CheckRouteDocumentsOperationProcess with that ID until the operation finishes, or check many operations at once with CheckMultipleRoutingOperationsStatus.
  6. 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.