Expression Set Delete
DELETE {{_endpoint}}/services/data/v{{version}}/connect/business-rules/expression-set/:expressionSetId
Expression Set Retrieve and Delete (DELETE, GET)
Endpoints to read, and delete expression set.Resource
/connect/business-rules/expression-set/${expressionSetId}
Resource Example
https://yourInstance.salesforce.com/services/data/v59.0/connect
/business-rules/expressionSet/$11Oxx0000006PcLEAU
Available version
58.0
Requires Chatter
No
HTTP methods
DELETE, GET
Request body for GET
Root XML tag
JSON example
{
"name": "CTX Mapping ES",
"apiName": "CTX_Mapping_ES_1",
"description": "...",
"usageType": "Bre",
"contextDefinitions": [
{
"id": "11Oxx0000006PcLEAU"
}
],
"versions": [
{
"name": "CTX_Mapping_ES_1 V1",
"apiName": "CTX_Mapping_ES_1_V1",
"description": "Sample CTX Mapping",
"startDate": "2022-11-14T20:31:47.000+0000",
"endDate": "2022-11-14T20:31:47.000+0000",
"versionNumber": 1,
"rank": 1,
"enabled": true,
"showExplExternally": false,
"steps": [
{
"name": "Condition1",
"description": "Condition step for conditions w.r.t product",
"sequenceNumber": 1,
"resultIncluded": true,
"stepType": "Condition",
"conditionExpression": {
"expression": "productName == 'iPhone' && productColor == 'Red'",
"resultParameter": "condition_output__1"
}
}
],
"variables": [
{
"name": "productName",
"collection": false,
"dataType": "Text",
"description": "productName",
"input": true,
"output": false,
"type": "Variable"
},
{
"name": "productColor",
"collection": false,
"dataType": "Text",
"description": "productColor",
"input": true,
"output": false,
"type": "Variable"
},
{
"name": "condition_output__1",
"dataType": "Boolean",
"description": "condition_output__1",
"input": false,
"output": true,
"resultStep": "Condition1",
"type": "Variable"
}
]
}
]
}
Properties
Name | Type | Description | Required or Optional | Available Version |
---|---|---|---|---|
apiName | String | Unique name of the expression set. | Required | 58.0 |
contextDefinitions | Context Definition Input | List of context definitions in an expression set. | Optional | 58.0 |
description | String | Description of the expression set. | Optional | 58.0 |
name | String | Name of the expression set. | Required | 58.0 |
usageType | String | Usage type of the expression set. Valid values are: - AiAcceleratorSubscriberChurnPrediction—Used for Industries Einstein - Bre—Used for Business Rules Engine - CustomLoyalty—Used for Loyalty Management - DefaultPricing—Used for Pricing Plans in Enterprise Product Catalog (EPC) by Communications Cloud - Qualification—Used for Industries Communications, Media, and Energy (CME) - RecordAlert—Used for Financial Services Cloud - ShipAndDebit—Used for Manufacturing Cloud - TierProcessing—Used for Loyalty Management - TransactionJournal—Used for Loyalty Management - WarrantyClaim—Used for Manufacturing Cloud | Required | 58.0 |
versions | Expression Set Version Input[] | List of the expression set versions. | Optional | 58.0 |
Response body for GET