Room Activities API

PUT Set Room Activity

Sets the current activity for the room.

https://{enteliWEB Server IP Address}/enteliweb/api/rooms/{roomId}/currentactivity?&alt=json

In the body of the request, add

{ "$base": "String", "value": "activity ID" }

Note: The room activity cannot be set in enteliWEB.

Request Body Parameters

Name Data Type Description

{roomId}

string

The O3 room ID.

To find out the room ID, perform a GET of the room list.

{activity ID}

string

The ID of the new room activity.

To find out the room activity ID, perform a GET of all enabled room activities of a single room.

Requires Authentication

Assumes request is made during a session that has not expired.

In the authorization header, add X-Csrf-Token: {_csrfToken} where {_csrfToken} is the CSRF token generated when you make a basic login GET request.

Response

{ "$base": "String", "value": "activity ID" "errorText": "OK", "error": "-1" }

 
© 2019 Delta Controls O3 Room REST API Version 1.0