Skip to main content
Skip table of contents

UC Getting Device ID [VCON IG]

Motivation

For creating scheduling requests, it is neccessary to provide a device or pool id for the recorder and a device id for the router.

Description

This search can be performed by doing a GET request on Devices. 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

type

string

No

The type of the devices to get, either Recorder, Router, Source or Unknown.

Router

content

string

No

Defines which other objects from the hierarchy should be returned.

DeviceCapabilities,DeviceCapabilities.Capability

Examples

GET vidicontrol/schedulercore/SchedulerCore/ResourceService/v1/Devices?type=Router

GET vidicontrol/schedulercore/SchedulerCore/ResourceService/v1/Devices?type=Recorder

Result

JSON
[
  {
    "deviceCapabilities": [],
    "id": "0B",
    "type": "Router",
    "tags": "",
    "name": "SWP08Router",
    "deviceState": "Online",
    "internalName": "SWP08Router",
    "uri": "http://vidicontrol-routerswp08.vidicontrol-dev-gt-vctl:80",
    "connectionInfo": null,
    "deviceName": "SWP08Router",
    "customName": "SWP08Router"
  }
]

The device id can be found in line 4 of the result.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.