alipay.baoxian.amspm.notify (amspm规则刷新通知API)

接收amspm规则刷新通知

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_name String 必须 baoxiantrade 系统名称
content String 必须 {} 推送内容
env_type String 必须 daily 环境标签
hosts String [] 可选 ["10.100.52.192"]
  • 最大列表长度:20
  • 主机IP
    push_type String 必须 app 推送类型

    响应参数

    名称 类型 示例值 描述
    result Boolean true result

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlipayBaoxianAmspmNotifyRequest req = new AlipayBaoxianAmspmNotifyRequest();
    req.setAppName("baoxiantrade");
    req.setContent("{}");
    req.setEnvType("daily");
    req.setHosts(""10.100.52.192"");
    req.setPushType("app");
    AlipayBaoxianAmspmNotifyResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alipay_baoxian_amspm_notify_response>
        <result>true</result>
    </alipay_baoxian_amspm_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

    返回
    顶部