文档中心 > API类目 > 电影票API

taobao.film.partner.base.info.notify (基础数据变更通知消息)

合作商基础数据变更时,会通过此接口把变更的消息推送到我们这边 然后处理业务逻辑

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
notify_params String 必须 123 消息报文
partner_code String 必须 1231 合作商code

响应参数

名称 类型 示例值 描述
result ResultGeneralModel result
  • └ return_url
  • String
  • “”
  • returnUrl
  • └ return_code
  • String
  • 0
  • returnCode
  • └ request_id
  • String
  • “”
  • requestId
  • └ return_value
  • Boolean
  • true
  • returnValue
  • └ return_error_oper
  • String
  • “”
  • returnErrorOper
  • └ return_error_solution
  • String
  • “”
  • returnErrorSolution
  • └ return_message
  • String
  • success
  • returnMessage
  • └ return_error_stack_trace
  • String
  • “”
  • returnErrorStackTrace

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FilmPartnerBaseInfoNotifyRequest req = new FilmPartnerBaseInfoNotifyRequest();
req.setNotifyParams("123");
req.setPartnerCode("1231");
FilmPartnerBaseInfoNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<film_partner_base_info_notify_response>
    <result>
        <return_url>“”</return_url>
        <return_code>0</return_code>
        <request_id>“”</request_id>
        <return_value>true</return_value>
        <return_error_oper>“”</return_error_oper>
        <return_error_solution>“”</return_error_solution>
        <return_message>success</return_message>
        <return_error_stack_trace>“”</return_error_stack_trace>
    </result>
</film_partner_base_info_notify_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

返回
顶部