查询素材列表
POST https://qw-openapi-tx.dustess.com/open-integration-api/market/v1/material/list?accessToken=
字段 | 值 |
---|---|
Content-Type | application/json |
字段 | 类型 | 描述 | 是否必须 |
---|---|---|---|
accessToken | String | accessToken | true |
参数 | 类型 | 描述 | 是否必须 |
---|---|---|---|
type | String[] | 素材类型 form(表单)、H5(h5)、article(文章)、poster(海报)、friend(朋友圈)、brochure(宣传册)、video-markting(视频)、small-routine(小程序) link(任意链接) | 是 |
page | Int | 页码。不传默认1 | 否 |
pageSize | Int | 单页数量,不传默认100,最大支持100 | 否 |
{
"type": ["form"],
"page": 1,
"pageSize": 100
}
参数 | 类型 | 描述 |
---|---|---|
success | Bool | 是否成功 |
code | Int | 状态码 |
msg | String | 状态信息 |
data | Object | 响应内容 |
data.page | Int | 页码 |
data.pageSize | Int | 单页数量 |
data.list | Object[] | 素材列表 |
data.list.materialId | String | 素材id |
data.list.materialTitle | String | 素材标题 |
data.list.materialType | String | 素材类型 form(表单)、H5(h5)、article(文章)、poster(海报)、friend(朋友圈)、brochure(宣传册)、video-markting(视频)、small-routine(小程序) link(任意链接) |
data.total | Int | 结果数量 |
trace_id | String | 跟踪id |
{
"success": true,
"code": 0,
"msg": "ok",
"data": {
"total": 35,
"page": 1,
"pageSize": 100,
"list": [{
"materialId": "49b17dab-5488-4392-9370-d7dcc4ca5b76",
"materialTitle": "shh-欢迎语2.0冒烟-表单",
"materialType": "form"
}, {
"materialId": "8eef72ec-46c6-4fd0-8a0f-5febc19af3a2",
"materialTitle": "ddd-上报试一下2",
"materialType": "form"
}, {
"materialId": "9a0a0419-c26b-4acd-8aea-75c940dc9b51",
"materialTitle": "测试--添加企微好友上报事件",
"materialType": "form"
}, {
"materialId": "bd22011e-8135-45af-9315-afca4ca5febc",
"materialTitle": "ddd-上报试一下",
"materialType": "form"
}, {
"materialId": "3beb6a79-9799-496b-9712-ff9c8492458d",
"materialTitle": "test33",
"materialType": "form"
}, {
"materialId": "82ef5ccc-7020-42f8-bdfd-116e17b30d9c",
"materialTitle": "test--pvuv",
"materialType": "form"
}]
},
"trace_id": "b9219dca-dffe-9ac4-be25-ca3bbe1fdce9"
}
{
"success": false,
"code": 10001,
"msg": "system unknown error",
"data": null
}
修改于 2024-09-20 10:44:57