Skip to content

Activities

Examples

Registration

Created after a visitor has registered for a developer conference via a website.

{
    "experience_id": "developer-conference-2022",
    "owner_id": "3769dffd-e1eb-470e-9dc4-9ce2317786b0",
    "activity_type": "registration",
    "payload": {
        "object_id": "website",
        "day_attending": "Friday"
    }
}

Vote

Created after a visitor has voted for their favourite talk at the conference using a tablet.

{
    "experience_id": "developer-conference-2022",
    "owner_id": "3769dffd-e1eb-470e-9dc4-9ce2317786b0",
    "activity_type": "vote",
    "payload": {
        "object_id": "tablet",
        "talk": "Event Driven Architectures vs Workflows"
    }
}

Entry

Created after a visitor has entered a prize draw in a booth.

{
    "experience_id": "developer-conference-2022",
    "owner_id": "3769dffd-e1eb-470e-9dc4-9ce2317786b0",
    "activity_type": "entry",
    "payload": {
        "object_id": "booth",
        "accepted_tncs": true,
        "preferred_prize": "laptop"
    }
}