# Add Proxy IP - AddHighProtectGameIPInfo

## Overview

Add Proxy IP






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `AddHighProtectGameIPInfo`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.zosoc.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**|
| **TypeIP** | string | IP Type, value range is: TypeFree, TypeCharge |**Yes**|
| **UserIP** | string | User's source site IP |**Yes**|
| **LineType** | string | Package line type, if it is BGP line, then it is BGP; if it is dual line, you can choose TELECOM, UNICOM; if it is overseas, then it is INTERNATIONAL; |**Yes**|
| **Remark** | string | Note, default is empty. |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|
| **DefenceIP** | string | UDIP |**Yes**|
| **SrcIP** | string | Source IP |**Yes**|
| **Cname** | string | CNAME Record |**Yes**|
| **IPId** | int | IPId |**Yes**|




## Example

### Request Example
    
```
https://api.zosoc.com/?Action=AddHighProtectGameIPInfo
&ProjectId=vYBpILpM
&ResourceId="83cef490-2176-4a05-8631-2a7f17febd73"
&TypeIP="TypeFree"
&UserIP=1.2.3.4
&Remark="test"
&CouponId="6c347e61"
&LineType="DUPLET"
&UdpBlock=1
&DefenceDDosMaxFlow=10
```

### Response Example
    
```json
{
  "Action": "AddHighProtectGameIPInfoResponse",
  "Cname": "jdhfh.6cname.cn",
  "DefenceIP": "10.10.10.1",
  "IPId": "",
  "RetCode": 0,
  "SrcIP": "1.1.1.1"
}
```





