Table of Contents

API : IPTV : FlexCare Conference : Create command

Introduction

This will create a command for a device while it is in a meeting.

Request

URL https://api.telecomx.dk/iptv/flexcareconference/meeting/:FLEXCARE_CONFERENCE_ID/createcommand
Method POST
Access level RESELLER, ADMIN
Params FLEXCARE_CONFERENCE_ID Id of the FlexCare Conference meeting.
Body deviceId Id Id of the device.
command Object command
command.type String Type of command.
command.volume Number If type is SET_VOLUME then this is the volume niveu in %.
command.value Boolean If type is CAMERA_ON or MICROPHONE_ON then if this is true then camera or microphone is unmuted.
command.quality String If type is SET_QUALITY then this is the quality value

Query example

https://api.telecomx.dk/iptv/flexcareconference/meeting/1234567890123457890CCCC/createcommand	

Response

JSON object
_id ObjecId Unique id of the command
type  String  Type of command
value  Boolean  If type is CAMERA_ON or MICROPHONE_ON then if this is true then camera or microphone is unmuted
volume Number Volume niveu if type is SET_VOLUME
quality String Quality on videostream if type is SET_QUALITY

Example

{
    _id: ObjectId('1234567890123457890CCCC'),
    type: 'SET_QUALITY',
    value: true,
    volume: 80,
    quality: 'LOW'
}

Errors

Error code Message Description
400 meeting Meeting not in body
400 employee Employee is invalid
400 customer Customer is invalid
404 customer Customer not found
409 customer Customer does not have IPTV
500 internal_error <Unspecified>