Extract Document Data Input

The request payload containing file properties and template tracking variables.

JSON example

{
  "templateIdentifier": "InvoiceTemplate",
  "file":{
          "contentDocumentId":"068xx00000xxbc",
          "data":"base64...",
          "mimeType":"application/pdf"
         }
  "pageRange": "1-5",
  "uploadMethod":"Manual"}

Properties

Property Name Type Description Required
templateIdentifier String The template identifier (ID or developer name) of the target extraction template. Required
contentDocumentId String The Salesforce ID of the ContentDocument record. Required if data is empty.
data String Base64 encoded binary file string. Required if contentDocumentId is empty.
mimeType String The file format identifier (for example, application/pdf). Required if data is used.
pageRange String The targeted boundary range of pages to parse (for example, 1-5). Required when contentDocumentId is provided.
uploadMethod String Specifies the processing tracking method.
Available values are:
  • Manual
  • Automatic
Optional