文档中心 > API类目 > 飞猪酒店EBooking

alitrip.hotel.hoc.query.contract (业务合同续签提醒)

业务合同续签提醒

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
login_nick String 必须 testh911 登录Nick
type Number 必须 1 1 未完成的签约数量 2 待续签合同(协议数量)

响应参数

名称 类型 示例值 描述
result HocTopResultSet {} result
  • └ error_code
  • String
  • 500
  • errorCode
  • └ error_msg
  • String
  • 系统繁忙
  • errorMsg
  • result
  • ContractResult
  • {}
  • result
  • └ app_name
  • String
  • hoc
  • appName
  • └ content
  • String
  • content
  • content
  • └ count
  • Number
  • 0
  • count
  • └ ip_address
  • String
  • 127.0.0.1
  • ipAddress
  • └ operator
  • String
  • testh911
  • operator
  • └ title
  • String
  • title
  • title
  • └ url
  • String
  • url
  • url
  • └ success
  • Boolean
  • true
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripHotelHocQueryContractRequest req = new AlitripHotelHocQueryContractRequest();
req.setLoginNick("testh911");
req.setType(1L);
AlitripHotelHocQueryContractResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_hotel_hoc_query_contract_response>
    <result>
        <error_code>500</error_code>
        <error_msg>系统繁忙</error_msg>
        <result>
            <app_name>hoc</app_name>
            <content>content</content>
            <count>0</count>
            <ip_address>127.0.0.1</ip_address>
            <operator>testh911</operator>
            <title>title</title>
            <url>url</url>
        </result>
        <success>true</success>
    </result>
</alitrip_hotel_hoc_query_contract_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

返回
顶部