Dela via


Call Connection - Get Participant

Hämta deltagare från ett samtal.

GET {endpoint}/calling/callConnections/{callConnectionId}/participants/{participantRawId}?api-version=2023-10-15

URI-parametrar

Name I Obligatorisk Typ Description
callConnectionId
path True

string

Samtalsanslutnings-ID

endpoint
path True

string

url

Slutpunkten för Azure Communication-resursen.

participantRawId
path True

string

Rå-ID för deltagaren som ska hämtas.

api-version
query True

string

Version av API som ska anropas.

Begärandehuvud

Name Obligatorisk Typ Description
Authorization True

string

En Azure Communication Services användaråtkomsttoken.

Svar

Name Typ Description
200 OK

CallParticipant

Returnerar information om den begärda deltagaren.

Other Status Codes

CommunicationErrorResponse

Fel

Säkerhet

Authorization

En Azure Communication Services användaråtkomsttoken.

Typ: apiKey
I: header

Exempel

CallConnection_GetParticipant

Exempelbegäran

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=2023-10-15

Exempelsvar

{
  "identifier": {
    "kind": "communicationUser",
    "communicationUser": {
      "id": "8:acs:b9614373-fd0b-480c-8fd2-cb58b70eab9f_da7be3a9-8788-42a6-85c6-56b2cf784fce"
    }
  },
  "isMuted": false
}

Definitioner

CallParticipant

En samtalsdeltagare.

Name Typ Description
identifier

CommunicationIdentifierModel

isMuted

boolean

Är deltagaren avstängd