获取创意物料ID接口
HTTP请求方式
GET
请求地址
https://api.e.360.cn/display/banner/getmaterialsid
| 字段 | 类型 | 必须 | 描述 | 
| Content-Type | string | yes | application/json | 
| apiKey | string | yes | 注册时分配到的api key,该参数作为HTTP HEAD字段传递。 | 
| accessToken | string | yes | 访问token | 
Body 请求参数
| 字段 | 类型 | 必须 | 描述 | 
| page | int | no | 第几页,每页返回25个创意数据,默认为1 | 
请求示例
curl --location --request POST 'https://api.e.360.cn/display/banner/getmaterialsid' \
--header 'apiKey:APIKEY' \ 
--header 'accessToken:ACCESSTOKEN' \ 
--header 'Content-Type: application/json' \
--data-raw '{"page": 1}'
返回结果
{
  "errmsg": "OK",
  "errno": 0,
  "data": [
    {
      "bannerId": 107326496,
      "imageIds": [
        6253121,
        6253122
      ],
      "titleIds": [
        152090633,
        152090642,
        152090643,
        152090644
      ]
    },
    {
      "bannerId": 107326495,
      "imageIds": [
        6253119,
        6253120
      ],
      "titleIds": [
        152090624,
        152090645,
        152090646,
        152090647
      ],
      "videoIds": [
        245994,
        245995,
        245996
      ]
    }
  ]
}
返回结果说明
| 字段 | 类型 | 描述 | 
| errno | int | 错误码参见errorCode.md | 
| bannerId | int | 创意ID | 
| imageIds | []int | 图片ID | 
| titleIds | []int | 标题ID | 
| videoIds | []int | 视频ID |