创建询价 接口功能介绍 创建询价。 接口约束 无。 URI POST /v4/eip/querycreateprice 请求参数 请求体body参数 参数 参数类型 是否必填 说明 示例 ::::: clientToken String 是 客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一 regionID String 是 资源池 ID projectID String 否 不填默认为默认企业项目,如果需要指定企业项目,则需要填写 0 cycleType String 是 订购类型:month(包月) / year(包年) / ondemand(按需) month cycleCount Integer 否 订购时长, 当 cycleType month, 支持续订 1 11 个月; 当 cycleType year, 支持续订 1 3 年, 当 cycleType ondemand 时,可以不传 1 name String 是 弹性 IP 名称 bandwidth Integer 否 弹性 IP 的带宽峰值,默认为 1 Mbps bandwidthID String 否 当 cycleType 为 ondemand 时,可以使用 bandwidthID,将弹性 IP 加入到共享带宽中 demandBillingType String 否 按需计费类型,当 cycleType 为 ondemand 时生效,支持 bandwidth(按带宽)/ upflowc(按流量) bandwidth 响应参数 参数 参数类型 说明 示例 :::: statusCode Integer 返回状态码(800为成功,900为失败) 800 message String statusCode为900时的错误信息; statusCode为800时为success, 英文 success description String statusCode为900时的错误信息; statusCode为800时为成功, 中文 成功 errorCode String statusCode为900时为业务细分错误码,三段式:product.module.code; statusCode为800时为SUCCESS SUCCESS returnObj Object 业务数据 见下表 表 returnObj 参数 参数类型 示例 说明 :::: totalPrice Float 总价格 336.0 discountPrice Float 折后价格,云主机相关产品有 225.3 finalPrice Float 最终价格 225.3 subOrderPrices Array of Objects 子订单价格信息 见下表 表 subOrderPrices 参数 参数类型 示例 说明 :::: serviceTag String 服务类型 OVMS totalPrice Float 子订单总价格 336.0 finalPrice Float 最终价格 225.3 orderItemPrices Array of Object item价格信息 见下表 表 orderItemPrices 参数 参数类型 示例 说明 :::: resourceType String 资源类型 NETWORK totalPrice String 总价格 246.0 finalPrice String 最终价格 135.3