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

taobao.rdc.aligenius.identification.case.update (鉴定工单信息同步)

同步商家鉴定工单信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param SyncIdentifyRefundCaseDto 必须 请求参数
  • └ detail_order_id
  • Number
  • 必须
  • 194467217119131
  • 子订单ID
  • └ occur_time
  • Number
  • 必须
  • 1571121255
  • 数据发生时间绝对秒数,如鉴定工单创建时间、鉴定工单完结时间
  • └ operate_type
  • Number
  • 必须
  • 1
  • 工单操作类型,1:开启,2:完结
  • └ operate_tips
  • String
  • 必须
  • 创建鉴定工单
  • 鉴定工单操作备注
  • └ outer_case_id
  • String
  • 必须
  • 1
  • 鉴定工单ID
  • └ refund_id
  • Number
  • 必须
  • 147822831913191
  • 退款ID
  • └ ext_attrs
  • String
  • 可选
  • {"key":"value"}
  • 扩展属性,json格式

响应参数

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

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RdcAligeniusIdentificationCaseUpdateRequest req = new RdcAligeniusIdentificationCaseUpdateRequest();
RdcAligeniusIdentificationCaseUpdateRequest.SyncIdentifyRefundCaseDto obj1 = new RdcAligeniusIdentificationCaseUpdateRequest.SyncIdentifyRefundCaseDto();
obj1.setDetailOrderId(194467217119131L);
obj1.setOccurTime(1571121255L);
obj1.setOperateType(1L);
obj1.setOperateTips("创建鉴定工单");
obj1.setOuterCaseId("1");
obj1.setRefundId(147822831913191L);
obj1.setExtAttrs("{\"key\":\"value\"}");
req.setParam(obj1);
RdcAligeniusIdentificationCaseUpdateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<rdc_aligenius_identification_case_update_response>
    <result>
        <result_data>
            <result_tips>消息消费成功</result_tips>
            <result_code>数据消费结果编码</result_code>
            <consume_status>SUCCESS</consume_status>
        </result_data>
        <success>true</success>
        <error_code>isv.invalid-parameter</error_code>
        <error_info>非法的参数</error_info>
    </result>
</rdc_aligenius_identification_case_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

返回
顶部