# Obtain the renewal information to be confirmed - GetUnconfirmedComplementInfo

## Overview

Obtain the renewal information to be confirmed






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `GetUnconfirmedComplementInfo`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.genesissai.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 |
|:---|:---|:---|:---|
| **CertificateID** | int | Certificate ID of the renewal information to be confirmed |**Yes**|
| **Type** | int | Request type, 1-Renewal, 2-Reissue |**Yes**|

### 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|
| **Details** | [*CSRInfo*](#csrinfo) | CSRInfo |No|

#### Data Model


#### CSRInfo

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Domains** | string | The domain names bound to the certificate, multiple domain names are separated by commas, the first domain name is the common name. |**Yes**|
| **CSR** | string | Content of the CSR file pasted by the user |**Yes**|
| **CSROnline** | int | Generate Certificate Online |**Yes**|
| **CSREncryptAlgo** | string | CSR Encryption Algorithm |**Yes**|
| **CSRKeyParameter** | string | Key Pair Parameters |**Yes**|
| **CompanyName** | string | Company Name |**Yes**|
| **CompanyAddress** | string | Company Contact Address |**Yes**|
| **CompanyRegion** | string | Province where the company is located |**Yes**|
| **CompanyCity** | string | City where the company is located |**Yes**|
| **CompanyDivision** | string | Company Department |**Yes**|
| **CompanyCountry** | string | Country code, default is China CN |**Yes**|
| **CompanyPhone** | string | Company Contact Number |**Yes**|
| **CompanyPostalCode** | string | Company Zip Code |**Yes**|
| **CompanyType** | string | Company Type |**Yes**|
| **CompanyCodeType** | string | Company Code Type |**Yes**|
| **CompanyCode** | string | Company Code |**Yes**|
| **AdminName** | string | Applicant Name |**Yes**|
| **AdminPhone** | string | Applicant's Phone |**Yes**|
| **AdminTitle** | string | Applicant's Position |**Yes**|
| **AdminEmail** | string | Applicant's Email |**Yes**|
| **DVAuthMethod** | string | Verification type of DV certificate DNS\|FILE |**Yes**|

## Example

### Request Example
    
```
https://api.genesissai.com/?Action=GetUnconfirmedComplementInfo
&CertificateID=21312312
&Type=1
```

### Response Example
    
```json
{
  "Action": "GetUnconfirmedComplementInfoResponse",
  "Details": {
    "AdminEmail": "",
    "AdminName": "",
    "AdminPhone": "",
    "AdminTitle": "",
    "CSR": "",
    "CSREncryptAlgo": "",
    "CSRKeyParameter": "",
    "CSROnline": "",
    "CompanyAddress": "",
    "CompanyCity": "",
    "CompanyCode": "",
    "CompanyCodeType": "",
    "CompanyCountry": "",
    "CompanyDivision": "",
    "CompanyName": "",
    "CompanyPhone": "",
    "CompanyPostalCode": "",
    "CompanyRegion": "",
    "CompanyType": "",
    "DVAuthMethod": "",
    "Domains": "usecure_ussl"
  },
  "RetCode": 0
}
```





