参数名称 | 参数类型 | 必须 | 说明 |
---|---|---|---|
associated_properties | string | 是 | 关联人属性类型,支持 mobile,anonymous_id,customer_id,another |
associated_properties_value | string | 是 | 关联人属性值 |
behavior_name | string | 是 | 事件字段名称(大小写字母及 数字组合) |
occurrence_time | string | 是 | 行为发生时间,时间格式:2021-01-01 20:01:01 |
envent_other | array | 否 | 事件属性集 |
schema_name | string | 否 | 外部数据源行为时必填 |
参数名称 | 说明 |
---|---|
code | 返回码 |
msg | 错误信息 |
{
"associated_properties": "customer_id",
"associated_properties_value": "5c383312-7624-89f0-3d4d-c3c6ccac86d3",
"behavior_name": "ces_api",
"occurrence_time": "2023-11-23 20:55:38",
"envent_other": [
{
"envent_attr_name": "ce-api1",
"envent_attr_value": "1000"
},
{
"envent_attr_name": "ce-api2",
"envent_attr_value": "1"
}
],
"view_duration": 67,
"utm_campaign": "utm_campaign",
"utm_medium": "utm_medium",
"utm_term": "utm_term",
"utm_content": "utm_content",
"utm_source": "utm_source"
}
curl --location -g --request POST 'https://openapi.beschannels.com/leads/open-api/save-user-behavior?access_token=uURA1lnYsBr22I6UYoLZH0s9y3HU2Xsn7UHA4dIDgHN_67Z5EZskh4YMcymD5enS4GGjWpOERwQtug3Y4AGwvbvLB_A3TwKBpb_J4z0MUm6oaNQmqA-3Ef9Q-PHbVPk3' \
--header 'Content-Type: application/json' \
--data-raw '{
"associated_properties": "customer_id",
"associated_properties_value": "5c383312-7624-89f0-3d4d-c3c6ccac86d3",
"behavior_name": "ces_api",
"occurrence_time": "2023-11-23 20:55:38",
"envent_other": [
{
"envent_attr_name": "ce-api1",
"envent_attr_value": "1000"
},
{
"envent_attr_name": "ce-api2",
"envent_attr_value": "1"
}
],
"view_duration": 67,
"utm_campaign": "utm_campaign",
"utm_medium": "utm_medium",
"utm_term": "utm_term",
"utm_content": "utm_content",
"utm_source": "utm_source"
}'
{
"code": 0,
"msg": "成功",
"data": null
}