Participants (participants)
Requests
HTTP verb | Endpoint | Description |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adding a member
Request
Field Description: selector’s participant entity
POST /rest/v1/uc/selectors/2c51f8a2-016d-5d72-d44a-50e54938780c/participants HTTP/1.1
Content-Type: application/json; charset=utf-8
selector’s participant entity
Response
Field Description: selector’s participant entity
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"id": "61c0b3aa-016d-61e6-0f67-50e54938780c",
"name": "",
"number": "",
"state": "waiting",
"hold": false,
"mic": true,
"spk": true,
"recall": false,
"topology_type": "listener"
}
Obtaining the list of participants
Request
Name | Type | Description |
---|---|---|
|
|
Filter by field values. |
|
|
List of fields to output. Available fields for output: id, displayname, enabled, topology_mode, timestartutc, calldurationsec, state, default_spk, default_mic, default_recall. |
|
|
Offset in the list of resources to be issued. |
|
|
The maximum number of resources in the list. |
|
|
The sort order of the resources in the list. |
|
|
Conversion to flat form of composite fields. |
GET /rest/v1/uc/selectors/2c51f8a2-016d-5d72-d44a-50e54938780c/participants HTTP/1.1
Response
Field Description: selector’s participant entity
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[
{
"id": "61c0b3aa-016d-61e6-0f67-50e54938780c",
"name": "Vasya",
"number": "123",
"state": "waiting",
"hold": false,
"mic": true,
"spk": true,
"recall": false,
"topology_type": "listener"
},
{
"id": "eb3864c3-016d-5d75-9544-50e54938780c",
"name": "16",
"number": "16",
"state": "waiting",
"hold": false,
"mic": true,
"spk": true,
"recall": false,
"topology_type": "listener"
}
]
Obtaining participant data
Request
Name | Type | Description |
---|---|---|
|
|
A list of fields to output. |
|
|
Conversion to flat form of composite fields. |
GET /rest/v1/uc/selectors/2c51f8a2-016d-5d72-d44a-50e54938780c/participants/61c0b3aa-016d-61e6-0f67-50e54938780c HTTP/1.1
Response
Field Description: selector’s participant entity
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"id": "61c0b3aa-016d-61e6-0f67-50e54938780c",
"name": "Vasya",
"number": "123",
"state": "waiting",
"hold": false,
"mic": true,
"spk": true,
"recall": false,
"topology_type": "listener"
}
Changing participant data
Fields prohibited for modification: id
Request
Field Description: selector’s participant entity
PATCH /rest/v1/uc/selectors/2c51f8a2-016d-5d72-d44a-50e54938780c/participants/61c0b3aa-016d-61e6-0f67-50e54938780c HTTP/1.1
Content-Type: application/json; charset=utf-8
selector’s participant entity
Response
Field Description: selector’s participant entity
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"id": "61c0b3aa-016d-61e6-0f67-50e54938780c",
"name": "Vasya",
"number": "123",
"state": "waiting",
"hold": false,
"mic": true,
"spk": true,
"recall": false,
"topology_type": "listener"
}
Related Composite Resources
-
Parent: selectors meetings