Partager via


Call Connection - Get Participant

Obtenez le participant à partir d’un appel.

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

Paramètres URI

Nom Dans Obligatoire Type Description
callConnectionId
path True

string

ID de connexion d’appel

endpoint
path True

string

url

Point de terminaison de la ressource Azure Communication.

participantRawId
path True

string

ID brut du participant à récupérer.

api-version
query True

string

Version de l’API à appeler.

En-tête de la demande

Nom Obligatoire Type Description
Authorization True

string

Jeton d’accès utilisateur Azure Communication Services.

Réponses

Nom Type Description
200 OK

CallParticipant

Retourne le détail du participant demandé.

Other Status Codes

CommunicationErrorResponse

Erreur

Sécurité

Authorization

Jeton d’accès utilisateur Azure Communication Services.

Type: apiKey
Dans: header

Exemples

CallConnection_GetParticipant

Exemple de requête

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

Exemple de réponse

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

Définitions

CallParticipant

Un participant d’appel.

Nom Type Description
identifier

CommunicationIdentifierModel

isMuted

boolean

Est-ce que le participant est désactivé

isOnHold

boolean

Est-ce que le participant est en attente.