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

taobao.rdc.aligenius.identification.case.result.update (鉴定工单结果同步)

同步鉴定工单结果信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param SyncIdentifyRefundCaseResultDto 必须 请求参数
  • └ detail_order_id
  • Number
  • 必须
  • 194467217119131
  • 子订单ID
  • └ occur_time
  • Number
  • 必须
  • 1571121255
  • 数据发生时间绝对秒数,如写入鉴定结果的时间
  • └ outer_case_id
  • String
  • 必须
  • 111
  • 鉴定工单ID
  • └ result_type
  • Number
  • 必须
  • 1
  • 结果类型,1:可退,2:可换,3:不通过
  • └ refund_id
  • Number
  • 必须
  • 147822831913191
  • 退款ID
  • └ result_tips
  • String
  • 可选
  • 鉴定结果通过,已收到货物
  • 鉴定结果提示
  • └ ext_attrs
  • String
  • 可选
  • {"key":"value"}
  • 扩展属性,json格式

响应参数

名称 类型 示例值 描述
result Result result 接口返回model
  • result_data
  • Resultdata
  • resultData
  • resultData
  • └ result_code
  • String
  • CONSUME_FINISH_SUCCESS
  • 数据消费结果编码
  • └ result_tips
  • String
  • 消息消费成功
  • 数据消费结果提示信息
  • └ consume_status
  • String
  • SUCCESS
  • 数据消费状态
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ error_code
  • String
  • isv.invalid-parameter
  • 错误码
  • └ error_info
  • String
  • 非法的参数
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RdcAligeniusIdentificationCaseResultUpdateRequest req = new RdcAligeniusIdentificationCaseResultUpdateRequest();
RdcAligeniusIdentificationCaseResultUpdateRequest.SyncIdentifyRefundCaseResultDto obj1 = new RdcAligeniusIdentificationCaseResultUpdateRequest.SyncIdentifyRefundCaseResultDto();
obj1.setDetailOrderId(194467217119131L);
obj1.setOccurTime(1571121255L);
obj1.setOuterCaseId("111");
obj1.setResultType(1L);
obj1.setRefundId(147822831913191L);
obj1.setResultTips("鉴定结果通过,已收到货物");
obj1.setExtAttrs("{\"key\":\"value\"}");
req.setParam(obj1);
RdcAligeniusIdentificationCaseResultUpdateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<rdc_aligenius_identification_case_result_update_response>
    <result>
        <result_data>
            <result_code>CONSUME_FINISH_SUCCESS</result_code>
            <result_tips>消息消费成功</result_tips>
            <consume_status>SUCCESS</consume_status>
        </result_data>
        <success>false</success>
        <error_code>isv.invalid-parameter</error_code>
        <error_info>非法的参数</error_info>
    </result>
</rdc_aligenius_identification_case_result_update_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

返回
顶部