# Renew High Defense Service - RenewHighProtectGameService

## Overview

Renew High Defense Service






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `RenewHighProtectGameService`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.sigcalcloud.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ResourceId** | string | Resource ID |**Yes**|
| **ChargeType** | string | Billing Method |**Yes**|
| **Quantity** | int | Purchase Quantity |**Yes**|
| **LineType** | string | Line |**Yes**|
| **AreaLine** | string | Region, East China and South China, EastChina and SouthChina |**Yes**|
| **SrcBandwidth** | int | Bandwidth, default 100M |**Yes**|
| **EngineRoom.N** | string | Representing data centers, for example, Dongguan Hangzhou |**Yes**|
| **DefenceType** | string | Defense Type, default is TypeFixed |No|
| **DefenceDDosMaxFlowArr.N** | string | UDDoS |No|
| **DefenceDDosBaseFlowArr.N** | string | Basic DDoS Defense Value |No|
| **CouponId** | string | Coupon ID |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **ResourceInfo** | [*ResourceInfo*](#resourceinfo) | Resource Information |**Yes**|

#### Data Model


#### ResourceInfo

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ResourceId** | string | Resource ID |No|

## Example

### Request Example
    
```
https://api.sigcalcloud.com/?Action=RenewHighProtectGameService
&ChargeType="Month"
&DefenceType="TypeFixed"
&DefenceDDosBaseFlow=10
&DefenceDDosMaxFlow=20
&Quantity=1
&CouponId="kdljdoskd"
&HighProtectGameServiceName="test"
&LineType="BGP"
&ResourceId="20b56aca-81b1-497d-86e8-aa7d02d67289"
&ChangePayMode="BuyGame"
&DefenceDDosMaxFlowArr="10,10"
&DefenceDDosBaseFlowArr="10,10"
&EngineRoom="Hangzhou"
&AreaLine="EastChina"
&SrcBandwidth=100
&ChargeIPQuota=2
```

### Response Example
    
```json
{
  "Action": "RenewHighProtectGameServiceResponse",
  "ResourceInfo": "[]",
  "RetCode": 0
}
```





