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

alibaba.alisports.saas.stadium.detail (阿里体育场馆SaaS场馆详情)

阿里体育场馆SaaS场馆详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
stadium_id Number 必须 1000 场馆ID

响应参数

名称 类型 示例值 描述
result Result 返回结果
  • data
  • Data
  • 数据源
  • └ stadium_service_tags
  • String
  • 停车,租赁
  • 场馆服务标签
  • └ city_code
  • String
  • 152900
  • 城市code
  • └ latitude
  • String
  • 38.837906
  • 纬度
  • └ description
  • String
  • 一网通测试场馆,勿订
  • 描述
  • └ video
  • String
  • 123
  • 视频地址
  • └ weekend_time
  • String
  • 06:00-22:00
  • 周末营业时间
  • └ street_name
  • String
  • 云锦路
  • 街道名称
  • └ city_name
  • String
  • 上海市
  • 城市名
  • └ area_name
  • String
  • 徐汇区
  • └ stadium_phone
  • String
  • 13800138000
  • 场馆电话
  • └ id
  • Number
  • 1242
  • 场馆ID
  • └ workday_time
  • String
  • 06:00-23:00
  • 工作日营业时间
  • └ longitude
  • String
  • 105.683452
  • 经度
  • └ owner
  • String
  • 克非
  • 负责人
  • └ center_id
  • Number
  • 47
  • 中心ID
  • └ images
  • String
  • https://c.alisports.com/forum/saas/pub/symlink/131/b8f40b0bc4ea4c4a92e65e433a1eef36.jpg
  • 图片
  • └ address
  • String
  • 东关街1号
  • 地址
  • └ free_mode
  • String
  • NOT_FREE
  • 免费时段
  • └ room_no
  • String
  • 1
  • 房间号
  • └ province_code
  • String
  • 150000
  • 省市
  • └ street_code
  • String
  • 150012
  • 街道code
  • └ company_id
  • Number
  • 10005090611
  • 运营商ID
  • └ area_code
  • String
  • 152921
  • 区code
  • └ owner_mobile
  • String
  • 13692253667
  • 负责人电话
  • └ strengths
  • String
  • 一网通公告,疫情期间闭馆
  • 亮点
  • └ name
  • String
  • 一网通乒羽馆
  • 场馆名称
  • └ address_name
  • String
  • 阿拉善大酒店(西南门)
  • 街道名称
  • └ high_light_images
  • String
  • https://c.alisports.com/forum/saas/pub/1296/ee1c374e6ba5444a88d198c3f19509ab.jpg
  • 亮点图片
  • └ province_name
  • String
  • 上海
  • 省市
  • └ customer_service_mobile
  • String
  • 123
  • 服务电话
  • └ status
  • String
  • OPEN
  • 状态
  • └ success
  • Boolean
  • true
  • 请求状态
  • └ error_code
  • Number
  • 0
  • 错误码
  • └ error_msg
  • String
  • 系统错误
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlisportsSaasStadiumDetailRequest req = new AlibabaAlisportsSaasStadiumDetailRequest();
req.setStadiumId(1000L);
AlibabaAlisportsSaasStadiumDetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alisports_saas_stadium_detail_response>
    <result>
        <data>
            <stadium_service_tags>停车,租赁</stadium_service_tags>
            <city_code>152900</city_code>
            <latitude>38.837906</latitude>
            <description>一网通测试场馆,勿订</description>
            <video>123</video>
            <weekend_time>06:00-22:00</weekend_time>
            <street_name>云锦路</street_name>
            <city_name>上海市</city_name>
            <area_name>徐汇区</area_name>
            <stadium_phone>13800138000</stadium_phone>
            <id>1242</id>
            <workday_time>06:00-23:00</workday_time>
            <longitude>105.683452</longitude>
            <owner>克非</owner>
            <center_id>47</center_id>
            <images>https://c.alisports.com/forum/saas/pub/symlink/131/b8f40b0bc4ea4c4a92e65e433a1eef36.jpg</images>
            <address>东关街1号</address>
            <free_mode>NOT_FREE</free_mode>
            <room_no>1</room_no>
            <province_code>150000</province_code>
            <street_code>150012</street_code>
            <company_id>10005090611</company_id>
            <area_code>152921</area_code>
            <owner_mobile>13692253667</owner_mobile>
            <strengths>一网通公告,疫情期间闭馆</strengths>
            <name>一网通乒羽馆</name>
            <address_name>阿拉善大酒店(西南门)</address_name>
            <high_light_images>https://c.alisports.com/forum/saas/pub/1296/ee1c374e6ba5444a88d198c3f19509ab.jpg</high_light_images>
            <province_name>上海</province_name>
            <customer_service_mobile>123</customer_service_mobile>
            <status>OPEN</status>
        </data>
        <success>true</success>
        <error_code>0</error_code>
        <error_msg>系统错误</error_msg>
    </result>
</alibaba_alisports_saas_stadium_detail_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

返回
顶部