文档中心 > API类目 > 智能设备

alibaba.ailabs.iot.business.recipeproduct.checkthing (检查产品是否支持食谱物模型)

检查产品是否支持食谱物模型

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
account_id Number 必须 9844 账号id
product_key String 必须 304 产品key

响应参数

名称 类型 示例值 描述
message String null 信息
ret_code Number 200 响应code
ret_value Boolean true 返回接口
trace_id String 1e0525b315754507465865759e 追踪id

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAilabsIotBusinessRecipeproductCheckthingRequest req = new AlibabaAilabsIotBusinessRecipeproductCheckthingRequest();
req.setAccountId(9844L);
req.setProductKey("304");
AlibabaAilabsIotBusinessRecipeproductCheckthingResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ailabs_iot_business_recipeproduct_checkthing_response>
    <message>null</message>
    <ret_code>200</ret_code>
    <ret_value>true</ret_value>
    <trace_id>1e0525b315754507465865759e</trace_id>
</alibaba_ailabs_iot_business_recipeproduct_checkthing_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

返回
顶部