Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languagede

Postman Collections

Um die API testen zu können, ohne das jtel-System zu konfigurieren, installieren Sie postman und importieren Sie die postman-Sammlungen wie hier beschrieben:

https://github.com/microsoftgraph/microsoftgraph-postman-collections

Tests

Applikation: Get App Only Access Token

Applikation: Get Users

Als User: Get User Access Token

Presence-Status eines spezifischen Benutzer abfragen

Da diese Anfrage nicht in der Postman-Collection vorhanden ist, müssen Sie eine neue GET-Anfrage wie unten gezeigt erstellen:

URL: https://graph.microsoft.com/beta/users/{{users_id}}/presence

Autorisierung: Bearer-Token unter Verwendung der Variablen: {{UserAccessToken}}.

Weitere Einzelheiten über die MS Graph Get-Priorität für mehrere Benutzer finden Sie unter https://docs.microsoft.com/en-us/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-1.0&tabs=http 

Sv translation
languagefr

Collections Postman

Pour pouvoir tester l'API sans configurer le système jtel, installez postman et importez les collections postman comme décrit ici :

https://github.com/microsoftgraph/microsoftgraph-postman-collections

Tests

Application: Get App Only Access Token

image2021-11-25_9-46-15.pngImage Added

Application: Get Users

Image Added

On Behalf of a User: Get User Access Token

Image Added

Get Presence status of a specific user

Cette requête n'existe pas dans la collection postman, vous devez créer une nouvelle requête GET comme indiqué ci-dessous :

URL: https://graph.microsoft.com/beta/users/{{users_id}}/presence

Autorisation : Jeton de porteur utilisant la variable : {{UserAccessToken}}.

image2021-11-25_9-48-22.pngImage Added

Pour plus de détails sur la préséance de MS Graph Get pour plusieurs utilisateurs, voir https://docs.microsoft.com/en-us/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-1.0&tabs=http