Datamarts Event Rules
Operations related to Datamart Event Rules that transform and enrich User Events (TOUCH, USER_EMAIL, DISPLAY_AD) during the real-time collection process for a specific Datamart. These rules are executed by Activity Analyzer plugins in the processing pipeline, applying to all activities tracked in real-time but not to bulk-imported activities.
Path parameters
datamart_idstringRequired
event_rule_idstringRequired
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
get/datamarts/{datamart_id}/event_rules/{event_rule_id}
GET /v1/datamarts/{datamart_id}/event_rules/{event_rule_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"type": "PROPERTY_TO_ORIGIN_COPY",
"datamart_id": "text",
"channel_id": "text",
"destination": "text",
"id": "text",
"property_source": "REFERRER",
"property_name": "text"
}
}Path parameters
datamart_idstringRequired
event_rule_idstringRequired
Body
or
or
or
or
or
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
put/datamarts/{datamart_id}/event_rules/{event_rule_id}
PUT /v1/datamarts/{datamart_id}/event_rules/{event_rule_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"type": "PROPERTY_TO_ORIGIN_COPY",
"destination": "text",
"property_source": "REFERRER",
"property_name": "text"
}{
"status": "ok",
"data": {
"type": "PROPERTY_TO_ORIGIN_COPY",
"datamart_id": "text",
"channel_id": "text",
"destination": "text",
"id": "text",
"property_source": "REFERRER",
"property_name": "text"
}
}Path parameters
datamart_idstringRequired
event_rule_idstringRequired
Responses
200
Success response
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
delete/datamarts/{datamart_id}/event_rules/{event_rule_id}
DELETE /v1/datamarts/{datamart_id}/event_rules/{event_rule_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?