Extraction Context Mapping (POST)
Extraction Context Mappings (DELETE, GET, PATCH)
Previous Versions
Delete extraction context mapping details based on the specified context use case mapping ID. Get extraction context mapping details based on the specified context use case mapping ID. Update extraction context mapping details based on the specified context use case mapping ID.
1/connect/clm/extraction-context-mappings/${contextUseCaseMappingId}61.0
DELETE GET PATCH
1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/connect/clm/extraction-context-mappings/11jSB000002XTWjYAO1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/connect/clm/extraction-context-mappings/11jSB000002XTWjYAO1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/connect/clm/extraction-context-mappings/11jSB000002XTWjYAOJSON 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 |
|---|---|---|---|---|
contextAttributeMapping | Extraction Context Attribute Mapping Input[] | List of attributes and their mappings. | Yes | 61.0 |
contextUseCaseMapping | Extraction Context Use Case Mapping Input | Details of the use case for which the mapping is defined. | Yes | 61.0 |