User Tools

Site Tools


api:flexcare:videochat:listdevices

API : Flexcare : Videochat : List devices

Introduction

This will list devices taht have FlexCare app installed and is based on customer

Request

URL https://api.telecomx.dk/flexcare/videochat/meetings/devices
Method GET
Access level RESELLER, ADMIN
Query customer Customer id.

Query example

https://api.telecomx,dk/flexcare/videochat/meetings/devices?customer=12345678901234567890ABCD

Response

Property Type Description
offset Number Index of the first device returned.
limit Number Number of devices to return. Note that the actual number of devices returned may be lower.
total Number Number of devices that can be returned when offset and limit is not considered. This is to be used for paging through the data.
items Array Array of devices, see definition below.

Device object

JSON object
items Array List of devices
items []._id ObjecId Unique id of the device
items [].customer ObjectId  Id of customer
items [].type String  Log section
items [].deviceId String Android id
items [].name String Device name
items [].technicalRoomNumber String  Room where tablet should be
items [].developmentMode Boolean  If tablet is in devolpment mode or not

Example

[
  {
    offset: 10,
    limit: 25,
    total: 243,
    logs: [
       {
          _id: ObjectId('1234567890123457890CCCC'),
          deviceId: 'ObjectId('1234567890123457890CCCC')',
          section: 'FLEXCARE_CONFERENCE',
          message: 'App started',
          type: 'ANDROID',
          customer: 'ObjectId('1234567890123457890CCCC')',
          name: '',
          created: '2025-11-04T10:40:23.223+00:00',
       }
    ],
    devices: [
       {
          _id: ObjectId('1234567890123457890CCCC'),
          name: 'Test',
       }
    ]
  }
]

Errors

Error code Message Description
403 token Access denied
404 customer Customer not found
422 Invalid data Data is not valid in query
500 internal_error <Unspecified>
api/flexcare/videochat/listdevices.txt · Last modified: 2025/11/10 08:09 by Gudni Sigurdsson

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki