# Get UPFS File System Price - DescribeUPFSVolumePrice

## Overview

Get UPFS File System Price






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DescribeUPFSVolumePrice`.                      | **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 |
|:---|:---|:---|:---|
| **Region** | string | Region. See [List of Regions and Availability Zones](/docs/api/summary/regionlist) |**Yes**|
| **ProjectId** | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the [GetProjectList interface](/docs/api/summary/get_project_list). |No|
| **Size** | int | The size of the file system is in GB. For the new architecture capacity type, the minimum capacity is 500GB, increasing in increments of 100GB, and does not exceed 100TB. |**Yes**|
| **Quantity** | int | The duration of purchasing UFS, default is 1 |No|
| **ChargeType** | string | Yearly, Monthly Default:  Monthly |No|
| **VolumeId** | string | File system ID, this parameter is not required when creating a file system for the first time. |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|
| **DataSet** | array[[*UPFSPriceDataSet*](#upfspricedataset)] | UPFS Pricing Information |No|

#### Data Model


#### UPFSPriceDataSet

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ChargeType** | string | Yearly, Monthly |No|
| **Price** | float | Price (Unit: Cent) |No|
| **OriginalPrice** | float | Original Price (Unit: Cent) |No|
| **ChargeName** | string | File Storage |No|

## Example

### Request Example
    
```
https://api.sigcalcloud.com/?Action=DescribeUPFSVolumePrice
&Region=nBGbTxUa
&ProjectId=wrAsrDmQ
&Size=9
&StorageType=nzWXCeOf
&Quantity=4
&ChargeType=RKSdyKyy
&VolumeId=ErIzqNtu
```

### Response Example
    
```json
{
  "Action": "DescribeUPFSVolumePriceResponse",
  "DataSet": [
    {
      "ChargeName": "pSGLBrph",
      "ChargeType": "MJjvvwUG",
      "OriginalPrice": 4.59432,
      "Price": 9.89657
    }
  ],
  "RetCode": 0
}
```





