Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Postman Collections

To be able to test the API without configuring the jtel system, install postman and import the postman collections as described here:

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

Tests

Application: Get App Only Access Token

Image Added

Application: Get Users

Image Added

On Behalf of a User: Get User Access Token

Image Added

Get Presence status of a specific user

This request does not exist in the postman collection, you have to create a new GET request as shown below:

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

Authorization: Bearer token using the variable: {{UserAccessToken}}.

Image Added

For more details about the MS Graph Get preseence for multiple users, please see https://docs.microsoft.com/en-us/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-1.0&tabs=http

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

Image Added

Applikation: Get Users

Image Added

Als User: Get User Access Token

Image Added

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}}.

Image Added

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: Obtenir un jeton d'accès à l'application uniquement

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

Application: Obtenir les utilisateurs

Image Added

Au nom d'un utilisateur : Obtenir le jeton d'accès de l'utilisateur

Image Added

Obtenir l'état de présence d'un utilisateur spécifique

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