文档中心 > API类目 > 阿里体育场馆服务API

alibaba.alisports.gymnasium.stadium.export (导出场馆数据)

导出场馆数据

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
page_size Number 可选 100
  • 默认值:100
  • 分页大小
    page Number 可选 0
  • 默认值:0
  • 页号

    响应参数

    名称 类型 示例值 描述
    models Model [] 场馆
    • └ stadium_name
    • String
    • 仪征市全民健身中心
    • 场馆名称
    • └ stadium_address
    • String
    • 扬州市仪征市解放西路128号
    • 地址
    • └ stadium_state
    • Number
    • 1
    • 状态,0 下线,1上线
    • └ sid
    • String
    • PMTE2MTI0OA==
    • 场馆ID
    • └ p_name
    • String
    • 江苏省
    • 省份
    • └ sports_item_keys
    • String
    • 体育项目keys
    • └ stadium_phone
    • String
    • 58919822
    • 电话
    • └ open_area_name
    • String
    • 扬州市
    • 城市
    • └ product_type
    • Number
    • 0
    • 产品类型之和。1为票券,2为门票,4为订场。
    • └ open_area_id
    • String
    • 321000
    • 城市编码
    • └ website
    • String
    • 场馆网址
    • └ stadium_area_id
    • String
    • 321081
    • 区域ID
    • └ stadium_gaode_map_address
    • String
    • 119.172459,32.270896
    • 经纬度
    • └ stadium_area_name
    • String
    • 仪征市
    • 区域名称
    • └ p_code
    • String
    • 320000
    • 省份编码
    • └ stadium_cdn_pic
    • String
    • 图片地址
    • └ close_time
    • String
    • 06:00
    • 开馆时间
    • └ open_time
    • String
    • 18:00
    • 闭馆时间

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlibabaAlisportsGymnasiumStadiumExportRequest req = new AlibabaAlisportsGymnasiumStadiumExportRequest();
    req.setPageSize(100L);
    req.setPage(0L);
    AlibabaAlisportsGymnasiumStadiumExportResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alibaba_alisports_gymnasium_stadium_export_response>
        <models>
            <model>
                <stadium_name>仪征市全民健身中心</stadium_name>
                <stadium_address>扬州市仪征市解放西路128号</stadium_address>
                <stadium_state>1</stadium_state>
                <sid>PMTE2MTI0OA==</sid>
                <p_name>江苏省</p_name>
                <sports_item_keys></sports_item_keys>
                <stadium_phone>58919822</stadium_phone>
                <open_area_name>扬州市</open_area_name>
                <product_type>0</product_type>
                <open_area_id>321000</open_area_id>
                <website></website>
                <stadium_area_id>321081</stadium_area_id>
                <stadium_gaode_map_address>119.172459,32.270896</stadium_gaode_map_address>
                <stadium_area_name>仪征市</stadium_area_name>
                <p_code>320000</p_code>
                <stadium_cdn_pic></stadium_cdn_pic>
                <close_time>06:00</close_time>
                <open_time>18:00</open_time>
            </model>
        </models>
    </alibaba_alisports_gymnasium_stadium_export_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

    返回
    顶部