续订带宽询价v3
更新时间 2026-07-10 14:51:37
最近更新时间: 2026-07-10 14:51:37
接口功能介绍
- 仅单独付费且订购类型为包周期的带宽支持续订询价。
接口约束
无
URI
POST /v3/bandwidth/describeRenewPrice
路径参数 无
Query参数
| 参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|---|
| regionId | 是 | String | 资源池ID。 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
请求参数
请求头header参数 无
请求体body参数
| 参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|---|
| bandwidthOid | 是 | String | 带宽ID | ||
| cycleType | 是 | String | 周期类型。取值范围: - Month:按月。 | ||
| cycleCnt | 是 | Integer | 周期数。最大36个月。 |
响应参数
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| statusCode | Integer | 状态码。可能值: - 800:请求成功。 - 900:请求失败。 | 800 | |
| error | String | 错误码。 | ECPC_1000 | |
| message | String | 提示信息。 | OK. | |
| returnObj | Object | 返回数据对象 | returnObj |
表 returnObj
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| finalPrice | String | 最终价格。 | ||
| totalPrice | String | 总价格。 | ||
| subOrderPrices | Array of Objects | 价格子项。 | subOrderPrices |
表 subOrderPrices
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| totalPrice | String | 总价格 | ||
| finalPrice | String | 最终价格 | ||
| cycleCount | String | 周期数 | ||
| serviceTag | String | 产品类别 | ||
| orderItemPrices | Array of Objects | 价格子项。 | orderItemPrices |
表 orderItemPrices
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| totalPrice | String | 总价格 | ||
| finalPrice | String | 最终价格 | ||
| itemId | String | 项id | ||
| instanceCnt | String | 实例数量 | ||
| ctyunName | String | 产品名称 | ||
| resourceType | String | 资源类别 |
枚举参数
无
请求示例
请求url
https://{host}?regionId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
请求头header
无
请求体body
{
"bandwidthOid":"bw-foo",
"cycleType":"Month",
"cycleCnt":1
}
响应示例
{
"statusCode":800,
"message":"OK.",
"returnObj":{
"totalPrice":332.0,
"subOrderPrices":[{
"totalPrice":332.0,
"serviceTag":"BUSINESS_CPC",
"finalPrice":332.0,
"cycleCount":2,
"orderItemPrices":[{
"itemId":"b614e07f881511ed96fe34800d4715e7",
"instanceCnt":"3.0",
"totalPrice":332.0,
"ctyunName":"天翼云电脑(政企版)",
"finalPrice":332.0,
"resourceType":"BUSINESS_CPC_BW"
}]
}],
"finalPrice":332.0,
"isSucceed":true
}
}
状态码
请参考 状态码
错误码
请参考 错误码