文档中心 > API类目 > 阿里健康追溯码

alibaba.alihealth.codeseller.getuseraward (贩卖机扫码查询领奖状态)

贩卖机扫码查询领奖状态

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
code String 必须 60001500000010534984 追溯码

响应参数

名称 类型 示例值 描述
model Boolean true 是否领取奖品 true:已领取 false:未领取 null:未知
msg_code String SUCCESS 状态码
msg_info String 调用成功 状态值
response_success Boolean true 响应标识

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
1
2
3
4
5
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthCodesellerGetuserawardRequest req = new AlibabaAlihealthCodesellerGetuserawardRequest();
req.setCode("60001500000010534984");
AlibabaAlihealthCodesellerGetuserawardResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
<alibaba_alihealth_codeseller_getuseraward_response>
    <model>true</model>
    <msg_code>SUCCESS</msg_code>
    <msg_info>调用成功</msg_info>
    <response_success>true</response_success>
</alibaba_alihealth_codeseller_getuseraward_response>

异常示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
<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

返回
顶部