GET Menu/Units/{id}?group={group}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| group | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of MenuUnits| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Unit ID |
integer |
None. |
| Name |
Unit Name |
string |
Max length: 50 |
| ParentUnitId |
Parent's Unit Id. null if root |
integer |
None. |
| UnitLevel |
Unit Level starting from 0 |
integer |
None. |
| WaitTimeAvg |
Average wait time in seconds (from stats cache) of all services in the unit. If none waiting, defaults to 60 |
integer |
None. |
| WaitTimeMax |
Maximum wait time in seconds (from stats cache) of all services in the unit. If none waiting, defaults to 60 |
integer |
None. |
| WaitCount |
Number of cases waiting (from stats cache) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"ParentUnitId": 3,
"UnitLevel": 4,
"WaitTimeAvg": 5,
"WaitTimeMax": 6,
"WaitCount": 7
},
{
"Id": 1,
"Name": "sample string 2",
"ParentUnitId": 3,
"UnitLevel": 4,
"WaitTimeAvg": 5,
"WaitTimeMax": 6,
"WaitCount": 7
}
]