文档中心 > API类目 > 神鲸应用API

alibaba.ib.workcore.adver.getapprelease (获取手机端广告轮播)

获取手机端广告轮播

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
work_bench_context WorkBenchContext 可选 系统自动生成
  • └ campus_id
  • Number
  • 可选
  • 1001
  • 园区id
campus_id Number 可选 1001 园区id
version String 可选 null 版本信息

响应参数

名称 类型 示例值 描述
collection_result CollectionResult null CollectionResult
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ error_msg
  • String
  • ok
  • 错误消息
  • └ error_code
  • String
  • 200
  • 错误码
  • └ total_count
  • Number
  • 123
  • 总数量
  • └ request_id
  • String
  • 1
  • 请求id
  • contents
  • AppAdvertiseDto []
  • []
  • content
  • └ jump
  • String
  • http://test.com
  • jump
  • └ url
  • String
  • http://www.youku.com
  • url
  • └ title
  • String
  • 测试
  • title
  • └ id
  • Number
  • 1
  • id

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIbWorkcoreAdverGetappreleaseRequest req = new AlibabaIbWorkcoreAdverGetappreleaseRequest();
AlibabaIbWorkcoreAdverGetappreleaseRequest.WorkBenchContext obj1 = new AlibabaIbWorkcoreAdverGetappreleaseRequest.WorkBenchContext();
obj1.setCampusId(1001L);
req.setWorkBenchContext(obj1);
req.setCampusId(1001L);
req.setVersion("null");
AlibabaIbWorkcoreAdverGetappreleaseResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ib_workcore_adver_getapprelease_response>
    <collection_result>
        <success>false</success>
        <error_msg>ok</error_msg>
        <error_code>200</error_code>
        <total_count>123</total_count>
        <request_id>1</request_id>
        <contents>
            <app_advertise_dto>
                <jump>http://test.com</jump>
                <url>http://www.youku.com</url>
                <title>测试</title>
                <id>1</id>
            </app_advertise_dto>
        </contents>
    </collection_result>
</alibaba_ib_workcore_adver_getapprelease_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部