文档中心 > API类目 > 天猫服务商品API

tmall.msf.identify.status.query (喵师傅定案核销状态查询)

喵师傅定案核销状态查询,供服务商erp系统调用

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
order_id Number 必须 193974981484107 天猫订单号
service_type Number 必须 1 服务类型,0 家装的送货上门并安装 1 单向安装 2 建材的送货上门 3 建材的安装

响应参数

名称 类型 示例值 描述
result String "result": "{gmtCurrentTime:1450771842524, errorMessage:null, errorCode:0, class:com.tmall.msf.common.dto.Result, object:{"identifyDate":1450756865000,"signTime":1450756865000,"identifyStatus":1,"statusDesc":"核销成功","identifytype":1,imgurl:[{"http:/wwww.test.png}]}, success:true, costTime:null}" 返回结果json串,其中identifyDate位核销日期,signTime为签到时间,identifyStatus位核销状态,1代表已经核销,identifyType为核销类型,取值为:0代表未核销,1代表10位核销码核销,2代表订单号核销,3代表手机号核销,4代表4位核销码核销,5代表通过poi核销

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallMsfIdentifyStatusQueryRequest req = new TmallMsfIdentifyStatusQueryRequest();
req.setOrderId(193974981484107L);
req.setServiceType(1L);
TmallMsfIdentifyStatusQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_msf_identify_status_query_response>
    <result>&quot;result&quot;: &quot;{gmtCurrentTime:1450771842524, errorMessage:null, errorCode:0, class:com.tmall.msf.common.dto.Result, object:{&quot;identifyDate&quot;:1450756865000,&quot;signTime&quot;:1450756865000,&quot;identifyStatus&quot;:1,&quot;statusDesc&quot;:&quot;核销成功&quot;,&quot;identifytype&quot;:1,imgurl:[{&quot;http:/wwww.test.png}]}, success:true, costTime:null}&quot;</result>
</tmall_msf_identify_status_query_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

返回
顶部