GET – 帐户集合
使用 GET 方法检索 Redfish 服务的帐户集合中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/AccountService/Accounts
请求正文
无
响应正文
| 字段 | 类型 | 描述 | |||
|---|---|---|---|---|---|
Name  | 字符串 | “ManagerAccountCollection” | |||
Members  | 数组 | 项:帐户元素的引用链接 | |||
Description  | 字符串 | “A collection of ManagerAccount resource instances.” | |||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
返回以下示例 JSON 响应:
{
    "Name": "ManagerAccountCollection",
    "@odata.type": "#ManagerAccountCollection.ManagerAccountCollection",
    "@odata.id": "/redfish/v1/AccountService/Accounts",
    "Members@odata.count": 3,
    "Members": [
        {
            "@odata.id": "/redfish/v1/AccountService/Accounts/1"
        },
        {
            "@odata.id": "/redfish/v1/AccountService/Accounts/2"
        },
        {
            "@odata.id": "/redfish/v1/AccountService/Accounts/HostBootStrap"
        }
    ],
    "Description": "A collection of ManagerAccount resource instances.",
    "@odata.context": "/redfish/v1/$metadata#ManagerAccountCollection.ManagerAccountCollection",
    "@odata.etag": "\"3b99e5593dbe2ae8b91\""
}
提供反馈