Toggle User Line Incoming


This request toggles the incoming value of the connected user line.
This is used in a user based lines environment sets the incoming value of the current user.
If true, communication is incoming, if false no communication is incoming.

Resource

PUT /me/user_lines/<OID>/toggle_incoming

Where 'OID' is the object ID of the connected user line.
The connected user lines can be fetched by Get User Lines

Parameters

None

Payload

The new incoming state of the connected user line (true/false).

Response

None

Context

Authorization

User

Errors

HTTP code Xelion code Description

400

10069

User is in the line by default.

10070

User cannot activate the line.

10072

Minimum number of users in the line reached.

404

10068

User is not part of line.

Example

Request
PUT https://xelion.nl/api/v1/master/me/user_lines/1234345/toggle_incoming
Payload
true