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.

OCR Templates (GET)

Retrieve a list of active OCR templates. You can also fetch the OCR templates by document type and target object that are associated with the OCR templates.
Resource
1/connect/form-reader/ocrTemplates
Examples
1https://yourInstance.salesforce.com/services/data/vXX.X/connect
2/form-reader/ocrTemplates?documentTypeId=OdeRM00000000Dj
1https://yourInstance.salesforce.com/services/data/vXX.X/connect
2/form-reader/ocrTemplates?targetObjects=Account,BusinessMilestone
1https://yourInstance.salesforce.com/services/data/vXX.X/connect
2/form-reader/ocrTemplates?documentTypeId=OdeRM00000000Dj&targetObjects=Account.AccountRecordType1
Available version
55.0
Requires Chatter
No
HTTP methods
GET
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
documentTypeId String ID of the document type associated with the OCR template. Optional 55.0
targetObjects String List of the target object names associated with the OCR template. You can also specify a target object with record type. Optional 55.0
Response body for GET
Template Collection Output