Newer Version Available

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

Engagement Signal Metrics

Create and delete Engagement Signal Metrics for an Engagement Signal.
Resource
This resource is applicable for POST method.
1/personalization/engagement-signals/idOrName/metrics
The idOrName property is the ID or API name of the engagement signal.
This resource is applicable for DELETE method.
1/personalization/engagement-signals/idOrName/metrics/idOrName
The first idOrName property is the ID or API name of the engagement signal and the second one is the ID or API name of the engagement signal metric.
Resource example
This example shows a sample resource applicable for POST method.
1https://yourInstance.salesforce.com​/services/data​/v66.0/personalization/engagement-signals/1H0xx0000004CAeCAM/metrics
This example shows a sample resource applicable for DELETE method.
1https://yourInstance.salesforce.com​/services/data​/v66.0/personalization/engagement-signals/1H0xx0000004CAeCAM/metrics/metricname
Available version
64.0
HTTP methods
POST, DELETE
Request body for POST
JSON Example
1
2{
3  "name": "metricName",
4  "field": { "objectName": "Engagement_Signal_DMO__dlm", "name": "Unique_Identifier__c" },
5  "aggregateFunction": "Count"
6}
Name Type Description Required or Optional Available Version
name String The name of the Engagement Signal Metric. Required 64.0
field Field Input A field on the content object DMO or its related DMO for the metric calculation. Required 64.0
aggregateFunction Enum Engagement Signal Metric Aggregate Function. The value can be
  • SUM
  • AVG
  • COUNT
  • DISTINCT
Required 64.0
Response body for POST
Engagement Signal Metric