Bes_Open_API_English
  1. Leads
Bes_Open_API_English
  • Development guideline
    • BesChannels Product Overview
    • Log Update
  • Authentication
    • openapi-Get token
      POST
  • Leads
    • Get Leads List
      POST
    • Get Leads Details
      POST
    • Leads Create/Add
      POST
    • Leads Edit
      POST
    • Leads Delete
      POST
    • Get List of Remark
      POST
    • Add Remarks
      GET
    • Leads Assignment
      POST
    • Get Leads Activities & Attributes
      POST
    • Get Leads Behaviors
      POST
  • Contents
    • Get Content List
      POST
  • Events
    • Get Events List
      POST
  • Table Structure
    • Application acquiry
      POST
    • Table Structure List
      POST
    • Table Structure Details
      POST
  • Behaviors-NEW
    • Add Application
      POST
    • Add Activities
      GET
    • Get Activities
      POST
    • Get Activities Attributes
      POST
    • Add Activities Attributes
      POST
    • Add Users Behaviors
      POST
  • Others
    • Error code
  1. Leads

Get Leads Activities & Attributes

POST
/leads/open-api/leads-behavior-type
线索行为
Get leads behaviors

Request

Query Params
access_token
string 
required
Example:
{{access_token}}
Body Params multipart/form-data
user_id
string 
required
admin user_id(get & copy from personal settings)
Example:
{{stg_user_id}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.beschannels.com/leads/open-api/leads-behavior-type?access_token=uURA1lnYsBr22I6UYoLZH0s9y3HU2Xsn7UHA4dIDgHPYHwZqTpWJr_GwfBokKNQZfF7rWgukJmjo_Jg9cNfN_4VO2lJpkhHOoOS9RA_MVi-x4nyJolWKNq3l8KhslWxk' \
--form 'user_id="{{stg_user_id}}"'

Responses

🟢200Success
application/json
Body
code
integer 
required
msg
string 
required
data
array [object {5}] 
required
id
string 
事件属性id
required
attribute_name
string 
事件属性字段名称
required
大小写字母及数字组合
display_name
string 
事件属性显示名称
required
汉字
app_id
integer 
应用id
required
app_name
string 
应用名称
required
Example
{
    "code": 0,
    "msg": "ok",
    "data": [
        {
            "id": "2--0",
            "attribute_name": "page_view",
            "display_name": "单页面表单浏览",
            "app_id": 1,
            "app_name": "表单"
        },
        {
            "id": "1--1",
            "attribute_name": "form_submit",
            "display_name": "单页面表单提交",
            "app_id": 1,
            "app_name": "表单"
        },
        {
            "id": "42--2",
            "attribute_name": "page_view",
            "display_name": "嵌入式表单浏览",
            "app_id": 1,
            "app_name": "表单"
        },
        {
            "id": "41--3",
            "attribute_name": "form_submit",
            "display_name": "嵌入式表单提交",
            "app_id": 1,
            "app_name": "表单"
        },
        {
            "id": "44--4",
            "attribute_name": "page_view",
            "display_name": "自定义表单浏览",
            "app_id": 1,
            "app_name": "表单"
        },
        {
            "id": "43--5",
            "attribute_name": "form_submit",
            "display_name": "自定义表单提交",
            "app_id": 1,
            "app_name": "表单"
        },
        {
            "id": "23--6",
            "attribute_name": "page_view",
            "display_name": "落地页浏览",
            "app_id": 2,
            "app_name": "创意云落地页"
        },
        {
            "id": "24--7",
            "attribute_name": "sign_up",
            "display_name": "落地页注册",
            "app_id": 2,
            "app_name": "创意云落地页"
        },
        {
            "id": "25--8",
            "attribute_name": "focus_on",
            "display_name": "落地页关注",
            "app_id": 2,
            "app_name": "创意云落地页"
        },
        {
            "id": "26--9",
            "attribute_name": "register",
            "display_name": "落地页登录",
            "app_id": 2,
            "app_name": "创意云落地页"
        },
        {
            "id": "27--10",
            "attribute_name": "scan",
            "display_name": "落地页扫码",
            "app_id": 2,
            "app_name": "创意云落地页"
        },
        {
            "id": "34--11",
            "attribute_name": "page_view",
            "display_name": "落地页浏览",
            "app_id": 3,
            "app_name": "落地页"
        },
        {
            "id": "35--12",
            "attribute_name": "sign_up",
            "display_name": "落地页注册",
            "app_id": 3,
            "app_name": "落地页"
        },
        {
            "id": "36--13",
            "attribute_name": "focus_on",
            "display_name": "落地页关注",
            "app_id": 3,
            "app_name": "落地页"
        },
        {
            "id": "37--14",
            "attribute_name": "register",
            "display_name": "落地页登录",
            "app_id": 3,
            "app_name": "落地页"
        },
        {
            "id": "38--15",
            "attribute_name": "scan",
            "display_name": "落地页扫码",
            "app_id": 3,
            "app_name": "落地页"
        },
        {
            "id": "15--16",
            "attribute_name": "survey_submit",
            "display_name": "问卷提交",
            "app_id": 4,
            "app_name": "问卷"
        },
        {
            "id": "82--17",
            "attribute_name": "page_view",
            "display_name": "问卷浏览",
            "app_id": 4,
            "app_name": "问卷"
        },
        {
            "id": "5--18",
            "attribute_name": "page_view",
            "display_name": "资料浏览",
            "app_id": 5,
            "app_name": "资料"
        },
        {
            "id": "12--19",
            "attribute_name": "download_documents",
            "display_name": "资料下载",
            "app_id": 5,
            "app_name": "资料"
        },
        {
            "id": "11--20",
            "attribute_name": "view_documents",
            "display_name": "资料原文查看",
            "app_id": 5,
            "app_name": "资料"
        },
        {
            "id": "7--21",
            "attribute_name": "activity_collection",
            "display_name": "资料收藏",
            "app_id": 5,
            "app_name": "资料"
        },
        {
            "id": "6--22",
            "attribute_name": "page_share",
            "display_name": "资料分享",
            "app_id": 5,
            "app_name": "资料"
        },
        {
            "id": "28--23",
            "attribute_name": "page_view",
            "display_name": "会议浏览",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "8--24",
            "attribute_name": "activity_registration",
            "display_name": "会议报名",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "9--25",
            "attribute_name": "watch_meeting",
            "display_name": "观看直播",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "29--26",
            "attribute_name": "watch_meeting",
            "display_name": "观看回放",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "10--27",
            "attribute_name": "activity_signin",
            "display_name": "会议参会",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "30--28",
            "attribute_name": "activity_collection",
            "display_name": "会议收藏",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "31--29",
            "attribute_name": "page_share",
            "display_name": "会议分享",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "32--30",
            "attribute_name": "view_documents",
            "display_name": "会议文档查看",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "33--31",
            "attribute_name": "download_documents",
            "display_name": "会议文档下载",
            "app_id": 6,
            "app_name": "会议"
        },
        {
            "id": "16--32",
            "attribute_name": "wx_subscribe",
            "display_name": "关注微信服务号",
            "app_id": 7,
            "app_name": "微信"
        },
        {
            "id": "18--33",
            "attribute_name": "wx_unsubscribe",
            "display_name": "取关微信服务号",
            "app_id": 7,
            "app_name": "微信"
        },
        {
            "id": "13--34",
            "attribute_name": "open_email",
            "display_name": "邮件打开",
            "app_id": 8,
            "app_name": "邮件"
        },
        {
            "id": "14--35",
            "attribute_name": "unsubscribe_email",
            "display_name": "邮件退订",
            "app_id": 8,
            "app_name": "邮件"
        }
    ]
}
Modified at 2023-06-08 05:53:27
Previous
Leads Assignment
Next
Get Leads Behaviors
Built with