Upsert Contact Transaction with Enrichments
POST {{baseUrl}}/directories/:directoryId/transactions/:transactionId/enrichments
Upserts a transaction enrichment for a given transaction
The combination of the context values, the provider, and the field make up the unique id for the enrichment.
If these fields match then this api will update the existing enrichment otherwise a new enrichment will be created.
Request Body
{"source"=>{"context"=>{"elitb"=>"<string>", "nulla_2e"=>"<string>"}, "provider"=>"<string>"}, "metric"=>{"date"=>"<dateTime>", "type"=>"<string>", "field"=>"<string>", "enumValue"=>"<string>", "numValue"=>"<integer>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"meta":{"httpStatus":"\u003cstring\u003e","requestId":"\u003cstring\u003e","notice":"\u003cstring\u003e"}}