ExecutiveProgramv1.0.0
Details
This event must be consumed using an authorization token. The token is utilized to verify that the user has permission to produce the event and set user_id and organization_id within the attributes. Additionally, the event_source and metadata.event_triggered_by are automatically populated by the CF-Worker-User-Event.
- event_type: executive_program
- event_name: platzi.b2b.1.executive_program
Id for the event. This is a client auto-generated UUID_V4
Name of the event with format organization.domain.version.action
DateTime when the event was raises. Format YYYY-MM-DDTHH:MM:SSz
Contains arbitrary properties with entity information
email of the user
the origin of the request
linkedin of the user
size of the employes
source medium
countro of the user
wheter the email of the user is valid
Contain fixed properties with event information
Type of the event, used to join common sub events
How to trigger this event
1curl --location 'https://api-c963080767f45828c31f83ca5cd25d36.staging.platzi.com/behavior/v1/' \
2 --header 'Content-Type: application/json' \
3 --data '{
4 "event_id": "2457207d-a9d8-4b46-aff3-2a8ca385f2f6",
5 "event_name": "platzi.b2b.1.executive_program",
6 "event_occurred_on": "2023-05-01T22:29:56Z",
7 "attributes": {
8 "key": "email",
9 "value": "devars@platzi.com",
10 "name": "Enrique Devars",
11 "origin": "origin",
12 "linkedin": "https://www.linkedin.com/in/codevars/",
13 "employes_size": 20,
14 "source_medium": "source_medium",
15 "country": "America/Mexico_City",
16 "device": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
17 "email_valid": true,
18 },
19 "metadata": {
20 "event_type": "executive_program"
21 }
22}'
23