WTI - How to get monitor list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • avc863553355074
    Member
    • Sep 2024
    • 4

    WTI - How to get monitor list

    Hi,

    I want to retrieve all monitors, but i got the wrong response.

    My request uri: /api/fe/v1/GetMonitorList
    My request body:
    {
    "sessionID": "D47E08B657727DCFA67CEBF740360DA7-10"
    }

    My response:

    {
    "stateIncompatibility": "invalidDeviceState"
    }​

    (400 - Bad request)

    According to the documentation, this must be correct, but probably i'm missing something?

    Thanks.
  • flynn1
    Brainiac
    .
    • Jun 2011
    • 82

    #2
    GetMonitorList, GetDeviceIDList etc. return their data as a series of events. In order to receive these events, you must first setup a Session Management monitor. If you have not done this, AES will return this error.

    Start a Session Management monitor using: MonitorStart
    {
    "extensions": {"privateData": {"private": {"AvayaEvents": {
    "invertFilter": true,
    "deviceServices": {
    "transferMonitorObjects": true,
    "getMonitorList": true,
    "getDeviceIdList": true
    }
    }}}},
    "monitorObject": {"deviceObject": ""},
    "targetUrl": "http://10.10.13.242:8081/v1/events"
    }

    Comment

    • avc863553355074
      Member
      • Sep 2024
      • 4

      #3
      that works, thanks!

      Comment

      Loading