UC Getting Pool ID
Motivation
For creating scheduling requests, a pool id can be provided to schedule a pool recording.
Description
This search can be performed by doing a GET request on Pools. To set some conditions and change the sub objects that are returned the parameters from the following table can be used as query parameters.
Parameters
Name | Type | Required? | Description | Example |
---|---|---|---|---|
content | string | No | Defines which other objects from the hierarchy should be returned. | PoolDevices,PoolCapabilities,PoolCapabilities.Capability |
Example
GET vidicontrol/schedulercore/SchedulerCore/ResourceService/v1/Pools
Result
[
{
"deviceIds": [],
"poolCapabilities": [],
"id": "0B",
"description": "5 Devices starting with 5",
"name": "Pool1"
},
{
"deviceIds": [],
"poolCapabilities": [],
"id": "GD",
"description": "5 Devices starting with 10",
"name": "Pool2"
},
{
"deviceIds": [],
"poolCapabilities": [],
"id": "pY",
"description": "5 Devices starting with 15",
"name": "Pool3"
},
{
"deviceIds": [],
"poolCapabilities": [],
"id": "wl",
"description": "5 Devices starting with 20",
"name": "Pool4"
},
{
"deviceIds": [],
"poolCapabilities": [],
"id": "MX",
"description": "5 Devices for QA starting with 25",
"name": "QA-Pool5"
},
{
"deviceIds": [],
"poolCapabilities": [],
"id": "2n",
"description": "5 Devices for QA starting with 30",
"name": "QA-Pool6"
}
]
The pool id can be found in lines 5, 12, 19, 26, 33 and 40 of the result.