office365api - Profile details in outlook rest api -
starting here: https://dev.outlook.com/restapi/tutorial/php
scopes:
private static $scopes = array("openid" ,"profile" ,"offline_access" ,"https://outlook.office.com/calendars.read" ,"https://outlook.office.com/contacts.read" );
when authenticate in id_token basic info profile.
with:
https://outlook.office.com/api/v2.0/me/contacts
i nice details contacts, phone numbers i'm specially interested in case.
is possible same level of details current user profile 1 of contacts when accessed through api?
how using microsoft graph api:
get https://graph.microsoft.com/v1.0/me
the response should following:
http/1.1 200 ok content-type: application/json content-length: 491 { "businessphones": [ "businessphones-value" ], "displayname": "displayname-value", "givenname": "givenname-value", "jobtitle": "jobtitle-value", "mail": "mail-value", "mobilephone": "mobilephone-value", "officelocation": "officelocation-value", "preferredlanguage": "preferredlanguage-value", "surname": "surname-value", "userprincipalname": "userprincipalname-value", "id": "id-value" }
Comments
Post a Comment