Extract Document Data Input

The request payload containing file properties and template tracking variables.

JSON example 

1{
2  "templateIdentifier": "InvoiceTemplate",
3  "file":{
4          "contentDocumentId":"068xx00000xxbc",
5          "data":"base64...",
6          "mimeType":"application/pdf"
7         }
8  "pageRange": "1-5",
9  "uploadMethod":"Manual"}

Properties 

Property NameTypeDescriptionRequired
templateIdentifierStringThe template identifier (ID or developer name) of the target extraction template.Required
contentDocumentIdStringThe Salesforce ID of the ContentDocument record.Required if data is empty.
dataStringBase64 encoded binary file string.Required if contentDocumentId is empty.
mimeTypeStringThe file format identifier (for example, application/pdf).Required if data is used.
pageRangeStringThe targeted boundary range of pages to parse (for example, 1-5).Required when contentDocumentId is provided.
uploadMethodStringSpecifies the processing tracking method.
Available values are:
  • Manual
  • Automatic
Optional