# Get Reserved Cabinet Information - GetBookRackView

## Overview

Get Reserved Cabinet Information






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `GetBookRackView`.                      | **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 |
|:---|:---|:---|:---|
| **Region** | string | Region. See [Region and Availability Zone List](/docs/api/summary/regionlist) |**Yes**|
| **Zone** | string | Availability Zone. See [Availability Zone List](/docs/api/summary/regionlist) |**Yes**|
| **ProjectId** | string | Project ID. Leave blank for the default project; sub-accounts must fill in. Please refer to [GetProjectList API](/docs/api/summary/get_project_list) |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** | [*RackBookView*](#rackbookview) | Return Object |No|
| **TotalCount** | int | Is the response normal: 0 - Failure, 1 - Normal |No|

#### Data Model


#### RackBookView

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **BookCount** | int | Reserved Quantity |No|
| **PowerOnCount** | int | Number of Power On |No|
| **RackInfo** | array[[*Rack*](#rack)] | Cabinet Information |No|

#### Rack

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Zone** | string | Availability Zone |No|
| **CompanyName** | string | Company Name |No|
| **Email** | string | Email |No|
| **Id** | string | The translation for 'id' in English remains 'id'. |No|
| **Alias** | string | Cabinet Alias |No|
| **Number** | string | Cabinet Number |No|
| **RegionId** | int | Region ID |No|
| **ZoneId** | int | Availability Zone ID |No|
| **Status** | int | Status (1: Initial state, 10: Reserved, 20: Powering on, 30: Powered on, 40: Under renovation, 50: Powering off, 60: Powered off, 70: Power on failed, 80: Power off failed) |No|
| **AccountId** | int | Account ID |No|
| **CompanyId** | int | Company ID |No|
| **Module** | string | Module |No|
| **Battery** | int | Maximum Current |No|
| **Height** | int | Cabinet Height |No|
| **Pdu** | object | pdu parameter |No|
| **Bearer** | int | Load Bearing Device |No|
| **Picture** | string | Appearance Diagram |No|
| **PictureTime** | int | Photo Time |No|
| **PictureStatus** | int | Photographing Status (1: Initial state of cabinet photographing, 2: Cabinet photographing request in progress) |No|
| **BookTime** | int | Reserved Start Time |No|
| **BookDeadline** | int | Cabinet Reservation Deadline |No|
| **BookOffTime** | int | Cancel Reserved Time |No|
| **PowerOnTime** | int | Start Time of Power On |No|
| **PowerOnDeadline** | int | User demand for power-on time |No|
| **PduCost** | float | The term "pdu" doesn't seem to be related to cloud computing or any of the provided examples. Could you please provide more context or check if there's a typo? |No|
| **BatteryCost** | float | Voltage Price |No|
| **BearerCost** | float | Load-bearing device price |No|
| **InclosureCost** | float | Attachment Price |No|
| **CreateTime** | int | Creation Time |No|
| **UpdateTime** | int | Update Time |No|
| **DeleteTime** | int | Deletion Time |No|
| **LongId** | string | Long ID |No|
| **ShortId** | string | USID |No|
| **ChargeType** | int | Billing Type |No|

## Example

### Request Example
    
```
https://api.genesissai.com/?Action=GetBookRackView
```

### Response Example
    
```json
{
  "Action": "GetBookRackViewResponse",
  "RetCode": 0,
  "TotalCount": 6
}
```





