RouteDocumentsOperation

Receives a routing request containing the entity, the document or documents (as base64) and their metadata. The operation is added to a queue and picked up by an Azure function for processing.

POST /api/external/routing/routedocumentsoperation

Talk to the Filer team first. You can optionally send demographic data for the document inline, to be created or updated as part of routing. Check with the Filer team before using this. Code samples can be provided for your configuration.

Request

Send the Content-Type and X-ApiKey headers with every request. See Authentication.

Example request body

{
  "entityPrimaryId": "string",
  "entitySecondaryId": "string",
  "configurationId": 0,
  "routingUsername": "string",
  "DemographicData": {
    "MetadataField1": "string",
    "MetadataField2": "string",
    "MetadataField3": "string"
  },
  "routingDocuments": [
    {
      "fileName": "string",
      "fileExtension": "string",
      "documentTitle": "string",
      "documentType": "string",
      "document": "string",
      "convertToPdf": true,
      "accessType": "string",
      "contentType": "string",
      "routingDocumentMetaData": [
        {
          "key": "string",
          "value": "string",
          "dataType": "string"
        }
      ]
    }
  ]
}

Responses

  • 202 Accepted. The request has been received and added to a queue for processing, but processing has not finished yet.
{
  "httpStatusCode": 0,
  "errors": [
    "string"
  ],
  "primaryIdentifier": "string",
  "signalRConnectionId": "string",
  "operationGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "routingOperationType": 1,
  "operationStatus": 0,
  "statusDescription": "string",
  "routingOperationDocuments": [
    {
      "routingOperationDocumentGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "routingOperationGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "operationStatus": 0,
      "statusDescription": "string",
      "errorReason": "string",
      "created": "2024-12-02T10:49:33.857Z",
      "modified": "2024-12-02T10:49:33.857Z",
      "recordUrl": "string",
      "fileName": "string",
      "sentToTriage": true
    }
  ]
}

Errors

400Bad RequestA 400 error is returned in the status code, with details in errors.
500Server ErrorA 500 error is returned in the status code, with details in errors.