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/v67.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    "additionalUseCaseInput": "{\"ModelName\":\"OpenAI\"}"
9  },
10  "contextAttributeMapping": [
11    {
12      "attributeId": "11nxx000001hOozAAE",
13      "description": "extract startDate from the document"
14    },
15    {
16      "attributeId": "11nxx000001hOozAAV",
17      "description": "extract startDate from the document"
18    },
19    {
20      "attributeId": "11nxx000001hOozAAR",
21      "description": "extract startDate from the document"
22    }
23  ]
24}
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