Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Extract Document Data (POST)
Synchronously extracts unstructured file data using an intelligent ingestion
template.
- Resource
-
1/connect/document-ai-automation/actions/extract - Available version
- 68.0
- HTTP methods
- POST
- Request body for POST
-
- 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 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. Optional
- Response body for POST
- Extract Document Data