参考本示例查询预付费计费方式的云盾证书服务的价格。

询价说明

获取预付费云盾证书服务的价格,您需要完成以下操作:
  1. 调用QueryProductList获取产品code,云盾证书服务的产品code为cas
  2. 调用DescribePricingModule接口获取产品的配置参数。该接口须指定ProductCodeSubscriptionType参数。预付费产品的SubscriptionType取值为Subscription

    下表列举了获取预付费云盾证书服务价格需提供的参数。

    名称 示例值 说明
    OrderType NewOrder NewOrder:新购。
    Region cn-hangzhou 地域信息
    ModuleList.1.ModuleCode Brand 选择品牌
    ModuleList.1.Config geotrust 对应取值说明:geotrust。
    ModuleList.2.ModuleCode CertType 选择证书类型。
    ModuleList.2.Config personal 对应取值说明:
    • personal:专业版OV SSL。
    • starter_wc:通配符DV SSL。
    • personal_pro:增强型OV SSL。
    • advanced:高级版EV SSL。
    • advanced_pro:增强型EV SSL。
    • free_m:免费型DV SSL。
    ModuleList.3.ModuleCode DomainCnt 选择域名个数。
    ModuleList.3.Config 1 对应取值说明。详情请参照官网购买页。
    ModuleList.4.ModuleCode DomainType 保护类型
    ModuleList.4.Config all 对应取值说明:
    • all:通配符域名。
    • one:1个域名。
    • multiple:多个域名。
    ServicePeriodQuantity 1 购买时长。
    ServicePeriodUnit Year Year,目前只有1年和2年时长可购。
    ServicePeriodQuantity 1 购买时长。
  3. 调用GetSubscriptionPrice接口获取预付费云盾证书服务的价格。

请求示例

&Action=GetSubscriptionPrice
&ProductCode=cas
&ProductType=cas
&SubscriptionType=Subscription
&OrderType=NewOrder
&ModuleList.1.ModuleCode=Brand
&ModuleList.1.Config=Brand:geotrust
&ModuleList.2.ModuleCode=CertType
&ModuleList.2.Config=CertType:personal
&ModuleList.3.ModuleCode=DomainType
&ModuleList.3.Config=DomainType:all
&ModuleList.4.ModuleCode=DomainCnt
&ModuleList.4.Config=DomainCnt:1
&ServicePeriodQuantity=1
&ServicePeriodUnit=Year
&Quantity=1
&公共参数