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.
Template Detail Output
- JSON example
-
1{ 2 "status": { 3 "code": "SUCCESS", 4 "message": "SUCCESS" 5 }, 6 "templateDetail": { 7 "documentTypeId": "0deRM0000004CNZ", 8 "name": "testtrim", 9 "ocrSampleDocuments": [ 10 { 11 "name": "Passport", 12 "ocrSampleDocumentId": "9QiRM00000000HH0AY" 13 }, 14 { 15 "name": "TrimChars1", 16 "ocrSampleDocumentId": "9QiRM00000000J30AI" 17 } 18 ], 19 "ocrTargetObjectFieldMappings": [ 20 { 21 "documentField": { 22 "fieldLabelMaxX": 0.38931194, 23 "fieldLabelMaxY": 0.6017847, 24 "fieldLabelMinX": 0.14168938, 25 "fieldLabelMinY": 0.4804811, 26 "name": "Place:", 27 "ocrSampleDocumentId": "9QiRM00000000J30AI", 28 "pageNumber": 1 29 }, 30 "ocrTargetObjectFields": [ 31 { 32 "targetObject": "Account", 33 "targetObjectField": "Name", 34 "targetObjectRecordType" : "AccountRecordType1" 35 } 36 ] 37 }, 38 { 39 "documentField": { 40 "fieldLabelMaxX": 0.4520034, 41 "fieldLabelMaxY": 0.24929473, 42 "fieldLabelMinX": 0.1497066, 43 "fieldLabelMinY": 0.13238272, 44 "name": "*Name*:Rajiv", 45 "ocrSampleDocumentId": "9QiRM00000000J30AI", 46 "pageNumber": 1 47 }, 48 "ocrTargetObjectFields": [ 49 { 50 "targetObject": "Account", 51 "targetObjectField": "Description", 52 "targetObjectRecordType" : "AccountRecordType1" 53 } 54 ] 55 }, 56 { 57 "documentField": { 58 "fieldLabelMaxX": 0.39928117, 59 "fieldLabelMaxY": 0.8004167, 60 "fieldLabelMinX": 0.14354157, 61 "fieldLabelMinY": 0.64222884, 62 "name": "Emp ID", 63 "ocrSampleDocumentId": "9QiRM00000000J30AI", 64 "pageNumber": 1 65 }, 66 "ocrTargetObjectFields": [ 67 { 68 "targetObject": "Account", 69 "targetObjectField": "BillingPostalCode", 70 "targetObjectRecordType" : "AccountRecordType1" 71 }, 72 { 73 "targetObject": "Employee__c", 74 "targetObjectField": "Employee__c.Employee_ID__c", 75 "targetObjectRecordType" : null 76 } 77 ] 78 } 79 ], 80 "ocrTargetObjects": [ 81 { 82 "ocrTargetObjectId": "97hRM0000004Cii", 83 "targetObject": "Employee__c", 84 "targetObjectRecordType" : null 85 }, 86 { 87 "ocrTargetObjectId": "97hRM00000000i1", 88 "targetObject": "Account", 89 "targetObjectRecordType" : "AccountRecordType1" 90 } 91 ], 92 "ocrTemplateId": "48tRM00000000Yr" 93 } 94}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| status | Status | Indicates whether the request succeeded or failed, and in the case of failure, it also provides the reason. | Small, 55.0 | 55.0 |
| templateDetail | Template Detail | Represents the details of the OCR template. | Small, 55.0 | 55.0 |