Skip to main content

UpsertContactTransactionEnrichmentRequest

metric objectrequired

The value of the enrichment

datestring<date-time>

The date that the metric was recorded

typestring

The type of the metric. A Gauge metric tracks a specific value at a point in time

fieldstring

The SES attribute for the metric

enumValuestring

If an SES attributes is an enum value then this is set to correctly map the numeric value to the appropriate enum value

numValueinteger<int32>

The numeric value of the metric

source objectrequired

The source of the enrichment. The provider and the context are combined with the metric field to determine a unique key for the enrichment

context object

The context of the enrichment provides both a unique key and a reference back to the originating data

property name*string
providerstring

The provider of the enrichment

UpsertContactTransactionEnrichmentRequest
{
"metric": {
"date": "2024-07-29T15:51:28.071Z",
"type": "string",
"field": "string",
"enumValue": "string",
"numValue": 0
},
"source": {
"context": {},
"provider": "string"
}
}