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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;meta&quot;:{&quot;httpStatus&quot;:&quot;\u003cstring\u003e&quot;,&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;notice&quot;:&quot;\u003cstring\u003e&quot;}}