文档中心 > API类目 > 信息平台-采购

alibaba.pur.rcv.approve (RT审批通过)

RT需求方审批通过

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
rcv_number String 必须 RT300010105 RT单号
node_type String 必须 demander_approve_node 节点类型
remark String 可选 同意 审批备注

响应参数

名称 类型 示例值 描述
action_result ActionResult 1 获取url的出参
  • └ success
  • Boolean
  • true
  • 操作是否成功
  • └ error_code
  • String
  • 1
  • 错误码
  • └ error_msg
  • String
  • 1
  • 错误信息
  • └ error_level
  • Number
  • 1
  • 提醒信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaPurRcvApproveRequest req = new AlibabaPurRcvApproveRequest();
req.setRcvNumber("RT300010105");
req.setNodeType("demander_approve_node");
req.setRemark("同意");
AlibabaPurRcvApproveResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_pur_rcv_approve_response>
    <action_result>
        <success>true</success>
        <error_code>1</error_code>
        <error_msg>1</error_msg>
        <error_level>1</error_level>
    </action_result>
</alibaba_pur_rcv_approve_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

返回
顶部