Newer Version Available

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

Extraction Context Mapping (POST)

Create extraction context-mapping details that show how extracted data is associated with Salesforce fields.
Resource
1/connect/clm/extraction-context-mappings
Example
1https://yourInstance.salesforce.com/services/data/v62.0/connect/clm/extraction-context-mappings
Available version
61.0
HTTP methods
POST
Request body for POST
JSON example
1{
2  "ContextUsecaseMapping": {
3    "templateName": "ContractExtractionTemplate",
4    "contextDefinitionDeveloperName": "ContractExtractionContextDefinition",
5    "mappingName": "ContractExtractionMappingName",
6    "targetObject": "Contract",
7    "recordType": "CLM"
8  },
9  "contextAttributeMapping": [
10    {
11      "attributeId": "11nxx000001hOozAAE",
12      "description": "extract startDate from the document"
13    },
14    {
15      "attributeId": "11nxx000001hOozAAV",
16      "description": "extract startDate from the document"
17    },
18    {
19      "attributeId": "11nxx000001hOozAAR",
20      "description": "extract startDate from the document"
21    }
22  ]
23}
Properties
Name Type Description Required or Optional Available Version
context​AttributeMapping Extraction Context Attribute Mapping Input[] List of attributes and their mappings. Yes 61.0
context​UseCase​Mapping Extraction Context Use Case Mapping Input Details of the use case for which the mapping is defined. Yes 61.0
Response body for POST
Extraction Context Mappings