Template Collection Output
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}1{
2 "ocrTemplates": [
3 {
4 "apiName": "test2emp",
5 "documentTypeId": "OdeRM00000000Dj",
6 "name": "test2emp",
7 "ocrTargetObjects": [
8 {
9 "ocrTargetObjectId": "97hRM00000000hS",
10 "targetObject": "Account",
11 "targetObjectRecordType" : "AccountRecordType1"
12 },
13 {
14 "ocrTargetObjectId": "97hRM00000000hN",
15 "targetObject": "011RM0000004MD7",
16 "targetObjectRecordType" : null
17 },
18 {
19 "ocrTargetObjectId": "97hRM00000000h0",
20 "targetObject": "011RM0000004MD8",
21 "targetObjectRecordType" : null
22 }
23 ],
24 "ocrTemplateId": "48tRM00000000YN"
25 },
26 {
27 "apiName": "testtrim",
28 "documentType": "OdeRM0000004cNz",
29 "name": "testtrim",
30 "ocrTargetObjects": [
31 {
32 "ocrTargetObjectId": "97hRM0000004Cii",
33 "targetObject": "011RM0000004MD7",
34 "targetObjectRecordType" : null
35 },
36 {
37 "ocrTargetObjectId": "97hRM00000000i1",
38 "targetObject": "Account",
39 "targetObjectRecordType" : "AccountRecordType1"
40 }
41 ],
42 "ocrTemplaterd": "48tRM00000000Yr"
43 },
44 {
45 "apiName": "testemp",
46 "documentType": "OdeRM00000000D3",
47 "name": "testemp",
48 "ocrTargetObjects": [
49 {
50 "ocrTargetObjectId": "97hRM0000004ChL",
51 "targetObject": "Account",
52 "targetObjectRecordType" : "AccountRecordType1"
53 },
54 {
55 "ocrTargetObjectId": "97hRM00000000hD",
56 "targetObject": "Contact",
57 "targetObjectRecordType" : "ContactRecordType1"
58 },
59 {
60 "ocrtargetobjectId": "97hRM00000000hE",
61 "targetObject": "Lead",
62 "targetObjectRecordType" : "LeadRecordType1"
63 },
64 {
65 "ocrTargetObjectId": "97hRM00000000hF",
66 "targetObject": "CareRequestItem",
67 "targetObjectRecordType" : null
68 },
69 {
70 "ocrTargetObjectId": "97hRM00000000hG",
71 "targetObject": "Contract",
72 "targetObjectRecordType" : "ContractRecordType1"
73 },
74 {
75 "ocrTargetObjectId": "97hRM00000000hH",
76 "targetObject": "Opportunity",
77 "targetObjectRecordType" : "OpportunityRecordType1"
78 },
79 {
80 "ocrTargetObjectId": "97hRM00000000hI",
81 "targetObject": "CareDiagnosis",
82 "targetObjectRecordType" : null
83 }
84 ],
85 "ocrTemplateId": "48tRM0000004CjB"
86 }
87 ],
88 "status": {
89 "code": "success",
90 "message": "success"
91 }
92}Properties
| 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 |