
# 查询用户配置的个性化音频时长 - ShowTenantDurationCfg
#### 功能介绍
查询用户配置的个性化音频时长
#### 调用方法
请参见[如何调用API](https://support.huaweicloud.com/api-metastudio/metastudio_02_0002.html)。
#### 授权信息
账号具备所有API的调用权限，如果使用账号下的IAM用户调用当前API，该IAM用户需具备调用API所需的权限，具体权限要求请参见[权限和授权项](https://support.huaweicloud.com/api-metastudio/metastudio_02_0071.html)。
#### URI
GET /v1/{project_id}/voice-training-manage/user/tenant-duration-cfg
表1路径参数 
| 参数         | 是否必选 | 参数类型   | 描述                                                                                            |
|:---|:---|:---|:---|
| project_id | 是    | String | 项目ID，获取方法请参考[获取项目ID](https://support.huaweicloud.com/api-metastudio/metastudio_02_0006.html)。 |
   
#### 请求参数
无
#### 响应参数
**状态码：200**
表2响应Body参数 
| 参数                   | 参数类型    | 描述                                                                                                                                                                                 |
|:---|:---|:---|
| tenant_id            | String  | 租户id                                                                                                                                                                               |
| basic_min            | Integer | 基础版最低时长（秒） **取值范围：** 0\~2147483647     |
| basic_max            | Integer | 基础版最高时长（秒） **取值范围：** 0\~2147483647     |
| basic_advice_value   | Integer | 建议时长（秒） **取值范围：** 0\~2147483647        |
| middle_min           | Integer | 进阶版最低时长（秒） **取值范围：** 0\~2147483647     |
| middle_max           | Integer | 进阶版最高时长（秒） **取值范围：** 0\~2147483647     |
| middle_advice_value  | Integer | 建议时长（秒） **取值范围：** 0\~2147483647        |
| advance_min          | Integer | 高级版最低时长（秒） **取值范围：** 0\~2147483647     |
| advance_max          | Integer | 高级版最高时长（秒） **取值范围：** 0\~2147483647     |
| advance_advice_value | Integer | 建议时长（秒） **取值范围：** 0\~2147483647        |
| flexus_min           | Integer | flexus版最低时长（秒） **取值范围：** 0\~2147483647 |
| flexus_max           | Integer | flexus版最高时长（秒） **取值范围：** 0\~2147483647 |
| flexus_advice_value  | Integer | flexus建议时长（秒） **取值范围：** 0\~2147483647  |
| cmww_min             | Integer | 出门问问最低时长（秒） **取值范围：** 0\~2147483647    |
| cmww_max             | Integer | 出门问问最高时长（秒） **取值范围：** 0\~2147483647    |
| cmww_advice_value    | Integer | 出门问问建议时长（秒） **取值范围：** 0\~2147483647    |
| ljzn_min             | Integer | 逻辑智能最低时长（秒） **取值范围：** 0\~2147483647    |
| ljzn_max             | Integer | 逻辑智能最高时长（秒） **取值范围：** 0\~2147483647    |
| ljzn_advice_value    | Integer | 逻辑智能建议时长（秒） **取值范围：** 0\~2147483647    |
| short_assess_min     | Integer | 短任务质量检测最低时长（秒） **取值范围：** 0\~2147483647 |
| short_assess_max     | Integer | 短任务质量检测最高时长（秒） **取值范围：** 0\~2147483647 |
   
**状态码：400**
表3响应Body参数 
| 参数         | 参数类型   | 描述    |
|:---|:---|:---|
| error_code | String | 错误码。  |
| error_msg  | String | 错误描述。 |
   
#### 请求示例
无
#### 响应示例
**状态码：200**
处理成功返回。
```
{
  "tenant_id" : "05c9b8888380d5c32fb0c00cfa2aedb2",
  "basic_min" : 120,
  "basic_max" : 600,
  "basic_advice_value" : 300,
  "middle_min" : 600,
  "middle_max" : 1800,
  "middle_advice_value" : 900,
  "advance_min" : 1800,
  "advance_max" : 12000,
  "advance_advice_value" : 3600,
  "flexus_min" : 30,
  "flexus_max" : 300,
  "flexus_advice_value" : 120,
  "cmww_min" : 30,
  "cmww_max" : 12000,
  "cmww_advice_value" : 300,
  "ljzn_min" : 5,
  "ljzn_max" : 15,
  "ljzn_advice_value" : 10
}
```
#### 状态码
| 状态码 | 描述      |
|:---|:---|
| 200 | 处理成功返回。 |
| 400 | 参数异常。   |
   
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-metastudio/ErrorCode.html)。
