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
/connect/form-reader/ocrTemplates
Examples
https://yourInstance.salesforce.com/services/data/vXX.X/connect
/form-reader/ocrTemplates?documentTypeId=OdeRM00000000Dj
https://yourInstance.salesforce.com/services/data/vXX.X/connect
/form-reader/ocrTemplates?targetObjects=Account,BusinessMilestone
https://yourInstance.salesforce.com/services/data/vXX.X/connect
/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