文档中心 > API类目 > 消息服务API

qimen.taobao.newhaven.life.thirdparty.property.services.get (物业公司服务列表)

由外部第三方提供服务(物业服务列表),手淘消息“生活圈”产品来调用

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
longitude String 必须 120.775 经度
latitude String 必须 30.775 纬度

响应参数

名称 类型 示例值 描述
services Services [] 服务列表
  • └ gotoUrl
  • String
  • //www.baidu.com
  • 跳转链接
  • └ name
  • String
  • 物业管理
  • 服务名
  • └ iconUrl
  • String
  • //xxx.com/xxx.jpg
  • 图片地址
moreUrl String //www.baidu.com “更多”落地页地址
ok Boolean true 是否调用成功
errCode String "" 错误码
errMsg String "" 错误原因

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
TaobaoNewhavenLifeThirdpartyPropertyServicesGetRequest req = new TaobaoNewhavenLifeThirdpartyPropertyServicesGetRequest();
req.setLongitude("120.775");
req.setLatitude("30.775");
TaobaoNewhavenLifeThirdpartyPropertyServicesGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<services>
    <services>
        <gotoUrl>//www.baidu.com</gotoUrl>
        <name>物业管理</name>
        <iconUrl>//xxx.com/xxx.jpg</iconUrl>
    </services>
</services>
<moreUrl>//www.baidu.com</moreUrl>
<ok>true</ok>
<errCode>&quot;&quot;</errCode>
<errMsg>&quot;&quot;</errMsg>

异常示例

  • 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

返回
顶部