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 Details

POST
/leads/open-api/leads-details
客户数据平台(CDP)/线索Leads/线索
to acquire leads detailed information

Request

Query Params
access_token
string 
required
Example:
{{access_token}}
Body Params application/json
leads_id
integer 
线索id
optional
The thread id and rule cannot be empty at the same time
rule
object 
optional
Email
string 
required
MobilePhone
string 
required
Example
{
    "leads_id": 18,
       "rule":{
        "Email":"ceshi@qq.com",
        "MobilePhone":"13691011211"
    }
}

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-details?access_token=uURA1lnYsBr22I6UYoLZH0s9y3HU2Xsn7UHA4dIDgHPYHwZqTpWJr_GwfBokKNQZfF7rWgukJmjo_Jg9cNfN_4VO2lJpkhHOoOS9RA_MVi-x4nyJolWKNq3l8KhslWxk' \
--header 'Content-Type: application/json' \
--data-raw '{
    "leads_id": 18,
       "rule":{
        "Email":"ceshi@qq.com",
        "MobilePhone":"13691011211"
    }
}'

Responses

🟢200successful request
application/json
Body
code
integer 
optional
状态值 0 成功,其他失败
Example:
0
msg
string 
optional
状态码描述
Example:
ok
Example
{
    "code": 0,
    "msg": "成功",
    "data": {
        "leads_id": "5878",
        "list": [
            {
                "display_name": "系统字段",
                "field_name": "SystemField",
                "field_type": "",
                "options": [],
                "is_option": 1,
                "num_range": null,
                "is_required": 1,
                "value": "",
                "display_value": "",
                "display_type": "",
                "is_edit": 1,
                "child": [
                    {
                        "display_name": "姓名",
                        "field_name": "FullName",
                        "field_type": "Text",
                        "options": [],
                        "is_option": 1,
                        "num_range": {
                            "min": "1",
                            "max": "5"
                        },
                        "is_required": 1,
                        "value": "宋3",
                        "display_value": "宋3",
                        "display_type": 1,
                        "is_edit": 1
                    },
                    {
                        "display_name": "手机号",
                        "field_name": "MobilePhone",
                        "field_type": "PhoneNumber",
                        "options": [],
                        "is_option": 1,
                        "num_range": null,
                        "is_required": 1,
                        "value": "18610813532",
                        "display_value": "18610813532",
                        "display_type": 1,
                        "is_edit": 1
                    },
                    {
                        "display_name": "邮箱",
                        "field_name": "Email",
                        "field_type": "Email",
                        "options": [],
                        "is_option": 1,
                        "num_range": null,
                        "is_required": 1,
                        "value": "song22@qq.com",
                        "display_value": "song22@qq.com",
                        "display_type": 1,
                        "is_edit": 1
                    },
                    {
                        "display_name": "公司",
                        "field_name": "Company",
                        "field_type": "Company",
                        "options": [],
                        "is_option": 1,
                        "num_range": null,
                        "is_required": 1,
                        "value": "",
                        "display_value": "",
                        "display_type": 1,
                        "is_edit": 1
                    },
                    {
                        "display_name": "地区",
                        "field_name": "Address",
                        "field_type": "Address",
                        "options": [],
                        "is_option": 1,
                        "num_range": null,
                        "is_required": 1,
                        "value": {
                            "province": "10161",
                            "city": "100053",
                            "area": "",
                            "value": "北京 房山 "
                        },
                        "display_value": "北京 房山 ",
                        "display_values": "|10161|100053|||",
                        "display_type": 4,
                        "is_edit": 1
                    },
                    {
                        "display_name": "地址",
                        "field_name": "Street",
                        "field_type": "Text",
                        "options": [],
                        "is_option": 1,
                        "num_range": {
                            "min": "",
                            "max": ""
                        },
                        "is_required": 1,
                        "value": "对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 ",
                        "display_value": "对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 对手对啊对和 i 了仨喀喇昆仑都能快乐是南方 ",
                        "display_type": 1,
                        "is_edit": 1
                    },
                    {
                        "display_name": "归属人",
                        "field_name": "LeadOwner",
                        "field_type": "Select",
                        "options": [
                            {
                                
Modified at 2023-06-08 09:18:42
Previous
Get Leads List
Next
Leads Create/Add
Built with