文档中心 > API类目 > 支付宝API

tmall.tac.gateway.execute (tac接口)

tac对外开放api

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ms_codes String 必须 2017092700 微服务编码
param_map Json 必须 {} 入参

响应参数

名称 类型 示例值 描述
headers Json {} headers
model Json {} model
http_status_code Number {} httpStatusCode
msg_code String {} msgCode
biz_ext_map Json {} bizExtMap
msg_info String {} msgInfo
successs Boolean {} success
mtop_control Boolean {} mtopControl

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallTacGatewayExecuteRequest req = new TmallTacGatewayExecuteRequest();
req.setMsCodes("2017092700");
req.setParamMapString("{}");
TmallTacGatewayExecuteResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_tac_gateway_execute_response>
    <headers>{}</headers>
    <model>{}</model>
    <http_status_code>{}</http_status_code>
    <msg_code>{}</msg_code>
    <biz_ext_map>{}</biz_ext_map>
    <msg_info>{}</msg_info>
    <successs>{}</successs>
    <mtop_control>{}</mtop_control>
</tmall_tac_gateway_execute_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

返回
顶部