调用运营商接口获取可办理合约信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
contractType | String | 可选 | LegacyCardContract | LegacyCardContract-老卡合约 | |
itemId | Number | 必须 | 815808970079 | 当前合约办理关联实物商品,天猫侧商品ID | |
userMobile | String | 必须 | 13677777777 | 待办理合约的手机号 | |
itemSkuId | Number | 可选 | 5849908825726 | 当前合约办理关联实物商品,天猫侧商品SKU ID | |
itemPrice | Number | 必须 | 599900 | 当前合约办理关联实物商品,此刻计算的券后价,单位:分 预估金额,仅做参考(优惠具备实效性,不保证最终一致性,以及用户资产等场景) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Boolean | true | 接口调用是否成功,即是否存在内部异常 |
isPass | Boolean | true | 合约查询是否通过 |
resultCode | String | 0000 | 合约查询结果编码 isPass = true 时,resultCode = 0000 isPass = false 时,resultCode = 错误原因 |
resultMsg | String | 可办理 | 合约查询结果描述 isPass = false 时,描述查询失败原因 |
data | Contract [] | 可办理合约列表 | |
|
{"itemId":0,"contractType":"LegacyCardContract","userMobile":"13677777777","itemSkuId":0,"itemPrice":599900}
{ "result":true, "isPass":true, "resultCode":"0000", "resultMsg":"可办理", "data":[ { "planDesc":"合约的描述", "ext":"{}", "outProductCode":"121312", "retFeeTotal":100000, "monthFee":12900, "planPeriod":12, "planName":"129元5G" } ] }
{"result":"true","resultCode":"sign-check-failure","resultMsg":"Illegal request"}
错误码 | 错误描述 | 解决方案 |
---|