文档中心 > API类目 > 智慧门店

tmall.popupstore.activity.device.query (根据活动id查询活动相关快闪店及设备信息)

查询某一活动的deviceCode的部署情况

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
activity_id Number 必须 35037180 ISV的活动ID

响应参数

名称 类型 示例值 描述
result_dto ResultDto 出参对象
  • └ total
  • Number
  • 结果数据条数
  • result
  • Result
  • 返回结果
  • └ seller_names
  • String
  • 商家测试帐号25,商家测试帐号25
  • 参与活动的品牌名,逗号分割
  • └ activity_end_time
  • String
  • 2018-05-19
  • 活动结束时间
  • └ activity_status
  • Number
  • 1
  • 活动状态
  • └ activity_name
  • String
  • 品牌名称
  • 活动名称
  • └ activity_start_time
  • String
  • 2018-05-18
  • 活动开始时间
  • store_list
  • Storelist []
  • 门店列表
  • need_device_code_list
  • Needdevicecodelist []
  • 需要的设备code列表
  • └ device_name
  • String
  • 高级服务机器111
  • 设备名称
  • └ device_type
  • String
  • MALL_INTERACTIVE_GAMEw
  • 设备类型
  • └ mall_introduce
  • String
  • 这就是个商场
  • 商场介绍
  • └ mall_province
  • String
  • 浙江省
  • 商场所在省份
  • └ store_name
  • String
  • sdf21
  • 门店名称
  • └ store_address
  • String
  • 浙江省杭州市拱墅区文一西路969号
  • 门店地址
  • └ mall_address
  • String
  • 文一西路969号
  • 商场地址
  • └ mall_area
  • String
  • 拱墅区
  • 商场所在区
  • └ store_id
  • Number
  • 1003196004
  • 门店id
  • └ mall_city
  • String
  • 杭州市
  • 商场所在城市
  • └ app_key
  • String
  • appKey0001
  • isv appKey
  • └ mall_name
  • String
  • 杭州百货大楼
  • 商场名称
  • has_device_code_list
  • Hasdevicecodelist []
  • 已有的设备code列表
  • └ device_name
  • String
  • 高级服务机器111
  • 设备名称
  • └ device_type
  • String
  • MALL_INTERACTIVE_GAMEw
  • 设备类型
  • └ device_code
  • String
  • 132534
  • 设备code
  • └ code
  • String
  • 000
  • 结果code
  • └ msg
  • String
  • null
  • 错误msg

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallPopupstoreActivityDeviceQueryRequest req = new TmallPopupstoreActivityDeviceQueryRequest();
req.setActivityId(35037180L);
TmallPopupstoreActivityDeviceQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_popupstore_activity_device_query_response>
    <result_dto>
        <total></total>
        <result>
            <seller_names>商家测试帐号25,商家测试帐号25</seller_names>
            <activity_end_time>2018-05-19</activity_end_time>
            <activity_status>1</activity_status>
            <activity_name>品牌名称</activity_name>
            <activity_start_time>2018-05-18</activity_start_time>
            <store_list>
                <storelist>
                    <need_device_code_list>
                        <needdevicecodelist>
                            <device_name>高级服务机器111</device_name>
                            <device_type>MALL_INTERACTIVE_GAMEw</device_type>
                        </needdevicecodelist>
                    </need_device_code_list>
                    <mall_introduce>这就是个商场</mall_introduce>
                    <mall_province>浙江省</mall_province>
                    <store_name>sdf21</store_name>
                    <store_address>浙江省杭州市拱墅区文一西路969号</store_address>
                    <mall_address>文一西路969号</mall_address>
                    <mall_area>拱墅区</mall_area>
                    <store_id>1003196004</store_id>
                    <mall_city>杭州市</mall_city>
                    <app_key>appKey0001</app_key>
                    <mall_name>杭州百货大楼</mall_name>
                    <has_device_code_list>
                        <hasdevicecodelist>
                            <device_name>高级服务机器111</device_name>
                            <device_type>MALL_INTERACTIVE_GAMEw</device_type>
                            <device_code>132534</device_code>
                        </hasdevicecodelist>
                    </has_device_code_list>
                </storelist>
            </store_list>
        </result>
        <code>000</code>
        <msg>null</msg>
    </result_dto>
</tmall_popupstore_activity_device_query_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

返回
顶部