注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 店小蜜API

taobao.alimi.workorder.permission.notify (工单服务权限到期、临期主动通知接口)

工单服务权限到期、临期主动通知接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
authorize_notify_command AuthorizeNotifyCommand 可选 参数
  • └ seller_id
  • String
  • 可选
  • 23123
  • 商家id
  • └ notify_type
  • String
  • 可选
  • limit
  • 通知类型,预警类型, limit/expiration 剩余额度/时间预警
  • └ work_order_type
  • String
  • 可选
  • urgeDeliver
  • 工单类型urgeDeliver:催物流
  • └ remaining_limit
  • Number
  • 可选
  • 3
  • 剩余额度
  • └ invalid_time
  • String
  • 可选
  • 2025-04-20 00:00:00
  • 失效时间

响应参数

名称 类型 示例值 描述
result_code String SUCCESS 服务调用code
data Boolean true 返回业务内容
result_success Boolean true 调用是否成功
message String "调用异常" 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlimiWorkorderPermissionNotifyRequest req = new AlimiWorkorderPermissionNotifyRequest();
AlimiWorkorderPermissionNotifyRequest.AuthorizeNotifyCommand obj1 = new AlimiWorkorderPermissionNotifyRequest.AuthorizeNotifyCommand();
obj1.setSellerId("23123");
obj1.setNotifyType("limit");
obj1.setWorkOrderType("urgeDeliver");
obj1.setRemainingLimit(3L);
obj1.setInvalidTime("2025-04-20 00:00:00");
req.setAuthorizeNotifyCommand(obj1);
AlimiWorkorderPermissionNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alimi_workorder_permission_notify_response>
    <result_code>SUCCESS</result_code>
    <data>true</data>
    <result_success>true</result_success>
    <message>&quot;调用异常&quot;</message>
</alimi_workorder_permission_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

返回
顶部