Newer Version Available

This content describes an older version of this product. View Latest

Template Collection Output

Output representation of a collection of OCR templates.
JSON example
1{
2  "ocrTemplates": [
3    {
4      "apiName": "testtrim",
5      "documentTypeId": "0deRM0000004CNZ",
6      "name": "testtrim",
7      "ocrTargetObjects": [
8        {
9          "ocrTargetObjectId": "97hRM0000004Cii",
10          "targetObject": "Employee__c",
11          "targetObjectRecordType" : null
12        },
13        {
14          "ocrTargetObjectId": "97hRM00000000i1",
15          "targetObject": "Account",
16          "targetObjectRecordType" : "AccountRecordType1"
17        }
18      ],
19      "ocrTemplateId": "48tRM00000000Yr"
20    },
21    {
22      "apiName": "testemp",
23      "documentTypeId": "0deRM00000000Dj",
24      "name": "testemp",
25      "ocrTargetObjects": [
26        {
27          "ocrTargetObjectId": "97hRM0000004ChL",
28          "targetObject": "Account",
29          "targetObjectRecordType" : "AccountRecordType1"
30        },
31        {
32          "ocrTargetObjectId": "97hRM0000004Ckj",
33          "targetObject": "Employee__c",
34          "targetObjectRecordType" : null
35        },
36        {
37          "ocrTargetObjectId": "97hRM00000000hD",
38          "targetObject": "Contact",
39          "targetObjectRecordType" : "ContactRecordType1"
40        },
41        {
42          "ocrTargetObjectId": "97hRM00000000hE",
43          "targetObject": "Lead",
44          "targetObjectRecordType" : "LeadRecordType1"
45        },
46        {
47          "ocrTargetObjectId": "97hRM00000000hF",
48          "targetObject": "CareRequestItem",
49          "targetObjectRecordType" : null
50        },
51        {
52          "ocrTargetObjectId": "97hRM00000000hG",
53          "targetObject": "Contract",
54          "targetObjectRecordType" : "ContractRecordType1"
55        },
56        {
57          "ocrTargetObjectId": "97hRM00000000hH",
58          "targetObject": "Opportunity",
59          "targetObjectRecordType" : "OpportunityRecordType1"
60        },
61        {
62          "ocrTargetObjectId": "97hRM00000000hI",
63          "targetObject": "CareDiagnosis",
64          "targetObjectRecordType" : null
65        }
66      ],
67      "ocrTemplateId": "48tRM0000004CjB"
68    },
69    {
70      "apiName": "Ref123",
71      "documentTypeId": "0deRM0000004CON",
72      "name": "Ref123",
73      "ocrTargetObjects": [
74        {
75          "ocrTargetObjectId": "97hRM0000004Cke",
76          "targetObject": "Opportunity",
77          "targetObjectRecordType" : "OpportunityRecordType1"
78        },
79        {
80          "ocrTargetObjectId": "97hRM0000004Cka",
81          "targetObject": "Account",
82          "targetObjectRecordType" : "AccountRecordType1"
83        },
84        {
85          "ocrTargetObjectId": "97hRM0000004Ckb",
86          "targetObject": "Lead",
87          "targetObjectRecordType" : "LeadRecordType1"
88        },
89        {
90          "ocrTargetObjectId": "97hRM0000004CkZ",
91          "targetObject": "Contact",
92          "targetObjectRecordType" : "ContactRecordType1"
93        }
94      ],
95      "ocrTemplateId": "48tRM0000004ClW"
96    }
97  ],
98  "status": {
99    "code": "SUCCESS",
100    "message": "SUCCESS"
101  }
102}
Property Name Type Description Filter Group and Version Available Version
ocrTemplates OCR Template Output[] List of the OCR templates. Big, 55.0 55.0
status Status Indicates whether the request succeeded or failed, and in the case of failure, it also provides the reason. Big, 55.0 55.0