你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Call Connection - Get Participant
从呼叫中获取参与者。
GET {endpoint}/calling/callConnections/{callConnectionId}/participants/{participantRawId}?api-version=2024-09-15
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
call
|
path | True |
string |
呼叫连接 ID |
endpoint
|
path | True |
string url |
Azure 通信资源的终结点。 |
participant
|
path | True |
string |
要检索的参与者的原始 ID。 |
api-version
|
query | True |
string |
要调用的 API 版本。 |
请求头
名称 | 必需 | 类型 | 说明 |
---|---|---|---|
Authorization | True |
string |
Azure 通信服务用户访问令牌。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
返回请求的参与者的详细信息。 |
|
Other Status Codes |
Communication |
错误 |
安全性
Authorization
Azure 通信服务用户访问令牌。
类型:
apiKey
在:
header
示例
CallConnection_GetParticipant
示例请求
GET https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c/participants/8:acs:b9614373-fd0b-480c-8fd2-cb58b70eab9f_da7be3a9-8788-42a6-85c6-56b2cf784fce?api-version=2024-09-15
示例响应
{
"identifier": {
"kind": "communicationUser",
"communicationUser": {
"id": "8:acs:b9614373-fd0b-480c-8fd2-cb58b70eab9f_da7be3a9-8788-42a6-85c6-56b2cf784fce"
}
},
"isMuted": false
}
定义
CallParticipant
呼叫参与者。
名称 | 类型 | 说明 |
---|---|---|
identifier |
Communication |
|
isMuted |
boolean |
参与者静音 |
isOnHold |
boolean |
是被保留的参与者。 |