文档中心 > API类目 > 平台治理API

taobao.shoptransfer.unitransrecord.get (过户记录获取)

跨集团获取过户记录

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query_string String 可选 3841341692 查询内容
query_type Number 可选 1 查询类型

响应参数

名称 类型 示例值 描述
result ResultDto [] 异步获取历史数据接口返回结果
  • └ message
  • String
  • SUCCESS
  • 消息
  • └ model
  • String
  • {"recordId":"76001","bizScene":"2","applyerUserId":"705623810","applyerAlipayAccountNo":"2088602147621221","receiverAlipayAccountNo":"2088531177242880"}
  • 返回UniTransRecordDO的JSON
  • └ result_code
  • Number
  • 0
  • 返回码
  • └ extra_info
  • String
  • []
  • 额外信息
  • └ success
  • Boolean
  • true
  • 执行结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ShoptransferUnitransrecordGetRequest req = new ShoptransferUnitransrecordGetRequest();
req.setQueryString("3841341692");
req.setQueryType(1L);
ShoptransferUnitransrecordGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<shoptransfer_unitransrecord_get_response>
    <result>
        <message>SUCCESS</message>
        <model>{&quot;recordId&quot;:&quot;76001&quot;,&quot;bizScene&quot;:&quot;2&quot;,&quot;applyerUserId&quot;:&quot;705623810&quot;,&quot;applyerAlipayAccountNo&quot;:&quot;2088602147621221&quot;,&quot;receiverAlipayAccountNo&quot;:&quot;2088531177242880&quot;}</model>
        <result_code>0</result_code>
        <extra_info>[]</extra_info>
        <success>true</success>
    </result>
</shoptransfer_unitransrecord_get_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

返回
顶部