物联卡状态查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
iccid | String | 必须 | 1234567 | SIM卡号 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 结果对象 | |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAliqinFcIotCardStatusRequest req = new AlibabaAliqinFcIotCardStatusRequest(); req.setIccid( "1234567" ); AlibabaAliqinFcIotCardStatusResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < alibaba_aliqin_fc_iot_cardStatus_response > < result > < model >{"MsisdnStatus":"正常","MSISDN":"123456","ICCID":"123456"}</ model > < code >0</ code > < success >false</ success > < msg >系统忙</ msg > </ result > </ alibaba_aliqin_fc_iot_cardStatus_response > |
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 > |
错误码 | 错误描述 | 解决方案 |
---|