Bes_Open_API_English
  1. Contents
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. Contents

Get Content List

POST
/ma-open-api/resource/list
to get contents information

Request

Query Params
access_token
string 
optional
Example:
{{access_token}}
Body Params multipart/form-data
appid
string 
required
WeChat appid
resourceIdStr
string 
optional
Content id,Splice with English commas
page_no
string 
optional
Current page number
Example:
1
page_size
string 
optional
Number of returns per page, default 100, maximum 500
Example:
20

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/ma-open-api/resource/list?access_token=uURA1lnYsBr22I6UYoLZH0s9y3HU2Xsn7UHA4dIDgHPYHwZqTpWJr_GwfBokKNQZfF7rWgukJmjo_Jg9cNfN_4VO2lJpkhHOoOS9RA_MVi-x4nyJolWKNq3l8KhslWxk' \
--form 'appid=""' \
--form 'resourceIdStr=""' \
--form 'page_no="1"' \
--form 'page_size="20"'

Responses

🟢200success
application/json
Body
code
integer 
required
msg
string 
required
data
array [object {9}] 
required
id
integer 
资料id
required
content id
resource_name
string 
资料名称
required
content name
category
array[string]
分类
required
content classification
putaway_at
integer 
required
cover
string 
封面图
required
content banner
content
string 
正文内容
required
content text
file
array[string]
required
created_at
integer 
创建时间
required
created time
link_url
string 
资料链接
required
content url
Example
{
    "code": 0,
    "msg": "成功",
    "data": [
        {
            "id": 6421,
            "resource_name": "11111",
            "category": [
                "12090"
            ],
            "putaway_at": 0,
            "cover": "https://system-scs.ma.scrmtech.com/17051/100000014/resource/1680757888/6e9186c78f4bab8e16489261f600b518.jpeg",
            "content": "<p>11111</p>",
            "file": [],
            "created_at": 1680757894,
            "link_url": "https://app-stg.ma.scrmtech.com/resources/resourceFront/resourceInfo?pf_uid=17051_100000014&id=6421&pf_type=3&source=1"
        },
        {
            "id": 6425,
            "resource_name": "最新资讯",
            "category": [
                "12090"
            ],
            "putaway_at": 0,
            "cover": "https://system-scs.ma.scrmtech.com/17051/100000014/resource/1680834707/6e9186c78f4bab8e16489261f600b518.jpeg",
            "content": "<p>214234123</p>",
            "file": [],
            "created_at": 1680834712,
            "link_url": "https://app-stg.ma.scrmtech.com/resources/resourceFront/resourceInfo?pf_uid=17051_100000014&id=6425&pf_type=3&source=1"
        },
        {
            "id": 6426,
            "resource_name": "最热资讯",
            "category": [
                "12090"
            ],
            "putaway_at": 0,
            "cover": "https://system-scs.ma.scrmtech.com/17051/100000014/resource/1680835152/6e9186c78f4bab8e16489261f600b518.jpeg",
            "content": "<p>11111</p>",
            "file": [],
            "created_at": 1680835156,
            "link_url": "https://app-stg.ma.scrmtech.com/resources/resourceFront/resourceInfo?pf_uid=17051_100000014&id=6426&pf_type=3&source=1"
        }
    ]
}
Modified at 2023-06-08 09:04:07
Previous
Get Leads Behaviors
Next
Get Events List
Built with