接口请求域名: controlcenter.intl.tencentcloudapi.com 。
获取账号工厂系统基线项
默认接口请求频率限制:20次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:ListAccountFactoryBaselineItems。 |
| Version | 是 | String | 公共参数,本接口取值:2023-01-10。 |
| Region | 否 | String | 公共参数,此参数为可选参数。 |
| Limit | 是 | Integer | 返回记录最大数目,取值范围0~200。 |
| Offset | 是 | Integer | 偏移量,取值范围大于等于0。 |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| BaselineItems | Array of AccountFactoryItem | 账号工厂基线列表。 |
| Total | Integer | 总数。 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
控制台获取账号基线列表
POST / HTTP/1.1
Host: controlcenter.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListAccountFactoryBaselineItems
<公共请求参数>
{
"Limit": 10,
"Offset": 0
}
{
"Response": {
"BaselineItems": [
{
"Classify": "消息",
"ClassifyEn": "Message",
"DependsOn": [
{
"Identifier": "TCC-AF_ACCOUNT_CONTACT",
"Type": "AccountFactorySetUp"
}
],
"Description": "可以为每类消息设置接收人。账户、产品、故障等重要消息,建议您务必设置接收,防止消息遗漏造成损失。",
"DescriptionEn": "Specify recipients for the notifications of different products. To avoid unexpected losses, we recommend you subscribe to important messages related to accounts, products, and errors.",
"Identifier": "TCC-AF_ACCOUNT_NOTIFICATION",
"Name": "消息订阅",
"NameEn": "Message subscriptions",
"Required": 0,
"Weight": 8
}
],
"RequestId": "885a87d0-af7d-414a-b128-fd13653387b7",
"Total": 1
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码。
| 错误码 | 描述 |
|---|---|
| FailedOperation.ControlCenterNotOpen | Control Center服务未开通 |
| FailedOperation.DBOperationError | 数据库操作异常 |
文档反馈