Userpoint Activity
Operations related to UserPoint Activities, the tracking of user interactions online or offline. Each UserActivity represents a session or interaction containing a collection of UserEvents:
Activity types - Website visits, in-store purchases, call center interactions, campaign engagements
Predefined events - $page_view, $transaction_confirmed, $ad_click, $set_user_choice, $app_open
Custom properties - $items (products), $campaign_technical_name, event-specific attributes
Processing pipeline - Event rules, activity analyzers, conversion detection, automation triggers
Activities are ordered chronologically in a user timeline.
Relevant documentation:
Find user activities by PublicUserIdentifiers, old route
User identifier in one of the following format : - a UUID (a.k.a userpoint id) - user_point_id=xxx where xxx is a UUID - compartment_id=xxx,user_account_id=yyy - user_agent_id=xxx - email_hash=xxx
^([0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|user_point_id=[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|compartment_id=\d+,user_account_id=\S+|user_account_id=\S+(,compartment_id=\d+)?|user_agent_id=\S+|email_hash=\S+)$Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/user_timelines/{public_user_identifier}/user_activities HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{}
],
"max_results": 1,
"count": 1,
"total": 1,
"status": "ok",
"first_result": 1
}Delete user activities by PublicUserIdentifiers, old route
User identifier in one of the following format : - a UUID (a.k.a userpoint id) - user_point_id=xxx where xxx is a UUID - compartment_id=xxx,user_account_id=yyy - user_agent_id=xxx - email_hash=xxx
^([0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|user_point_id=[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|compartment_id=\d+,user_account_id=\S+|user_account_id=\S+(,compartment_id=\d+)?|user_agent_id=\S+|email_hash=\S+)$Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/datamarts/{datamart_id}/user_timelines/{public_user_identifier}/user_activities HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Find user activities by UserAccountIdValue and UserAccountCompartmentId
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/user_timelines/compartment_id={compartment_id}/user_account_id={user_account_id}/user_activities HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"max_results": 1,
"first_result": 1,
"data": [
{}
],
"count": 1,
"status": "ok"
}Delete user activities by UserAccountIdValue and UserAccountCompartmentId
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/datamarts/{datamart_id}/user_timelines/compartment_id={compartment_id}/user_account_id={user_account_id}/user_activities HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Find user activity by key
User identifier in one of the following format : - a UUID (a.k.a userpoint id) - user_point_id=xxx where xxx is a UUID - compartment_id=xxx,user_account_id=yyy - user_agent_id=xxx - email_hash=xxx
^([0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|user_point_id=[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|compartment_id=\d+,user_account_id=\S+|user_account_id=\S+(,compartment_id=\d+)?|user_agent_id=\S+|email_hash=\S+)$Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/user_points/{public_user_identifier}/user_activities/{user_activity_key} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"$type": "RECOMMENDER"
}
}Find user activities by PublicUserIdentifiers
User identifier in one of the following format : - a UUID (a.k.a userpoint id) - user_point_id=xxx where xxx is a UUID - compartment_id=xxx,user_account_id=yyy - user_agent_id=xxx - email_hash=xxx
^([0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|user_point_id=[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|compartment_id=\d+,user_account_id=\S+|user_account_id=\S+(,compartment_id=\d+)?|user_agent_id=\S+|email_hash=\S+)$Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/user_points/{public_user_identifier}/user_activities HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{}
],
"status": "ok",
"total": 1,
"max_results": 1,
"count": 1,
"first_result": 1
}Last updated
Was this helpful?