# Range

## Function

This API is used to get the cloud recovery default page parameter range.

> Note:

> The Range provides reference information for client UI input limits and API request limits. When sending Set requests, the parameters must be strictly limited according to the Range, otherwise the request may be rejected by the device.

## Request Message

None.

Sampel：

    POST /API/Maintenance/Reset/Range HTTP/1.1

    {
        "version": "1.0",
        "data": {
        }
    }

## Response Message

### Parameter Description

#### Table 2

Parameter | Range | Type | Description
--- | --- | --- | ---
secondary_authentication | Max length: 16 | string | Verify the admin user password for secondary authentication.
intelligent |  | bool Restores Intellight parameters. | Restore intelligent related parameters
except_network_param |  | bool | Restore parameters except NetWork.
base_secondary_authentication |  | Json Object | Encryption authentication structure, structure members see **[base_secondary_authentication information table](... /.. / Login/Request % 20 pubkey % 20 or % 20 randbyte/EncryptObjectTable md# form - 2) * *.
factory_type | "restore_defaults"， "factory_defualts"， "restore_to_inactive" | string | Restore the factory mode and execute immediately

> Tips:

> The response message of the Range request may not contain all the fields in the above table, and the fields not included indicate that the device does not support this parameter configuration.

Sample:

    HTTP/1.1 200 OK
    Content-Type: application/json

    {
        "result": "success",
        "data": {
            "factory_type": {
                "type": "string",
                "items": [
                    "restore_to_inactive",
                    "restore_defaults",
                    "factory_defaults"
                ]
            }
        }
    }

## Error Code

See Response Messages Body and Common error_code for more information.