Queries the information about workgroups. After you create a workgroup, you can query the information about the workgroup, such as the name, description, and alert information.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
WorkgroupId | array | No | The workgroup IDs. You can specify up to 50 workgroup IDs. | |
string | No | The workgroup ID. | w-*** | |
Name | string | No | The name of the workgroup. | test |
Status | string | No | The state of the workgroup. Valid values:
| InProgress |
PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Valid values: 1 to 50. Default value: 10. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "2D69A58F-345C-4FDE-88E4-BF518948****",
"TotalCount": 1,
"PageSize": 10,
"PageNumber": 1,
"Workgroups": {
"Workgroup": [
{
"WorkgroupId": "w-***",
"Name": "testWorkgroupName",
"Description": "test",
"Status": "InProgress",
"Warnings": {
"Waring": [
{
"WarningType": "InError",
"SourceIds": {
"SourceId": [
"s-***"
]
}
}
]
}
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden.Unauthorized | A required authorization for the specified action is not supplied. | - |
500 | InternalError | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. |
For a list of error codes, visit the Service error codes.