在這裏看到:http://msdn.microsoft.com/en-us/library/office/dn792115%28v=office.15%29.aspx#sectionSection2
您還可以檢索有關使用 聯繫人實體的Id屬性特定聯繫人的信息。
GET https://outlook.office365.com/ews/odata/Me/Contacts(contactId)
樣品JSON響應:基本上你在找什麼!
{
"@odata.id": "https://outlook.office365.com/EWS/OData/Users('[email protected]')/Contacts('AAMkADA5...')",
"@odata.etag": "W/\"EQAAABYAAACjVbBbHnDNQZzaeCbB94zAAABkh+ph\"",
"@odata.editLink": "https://outlook.office365.com/EWS/OData/Users('[email protected]')/Contacts('AAMkADA5...')",
"Id": "AAMkADA5...",
"ChangeKey": "EQAAABYAAACjVbBbHnDNQZzaeCbB94zAAABkh+ph",
"ClassName": "IPM.Contact",
"Subject": "Alex Darrow",
"BodyPreview": "",
"Body": {
"ContentType": "Text",
"Content": ""
},
"Importance": "Normal",
"Categories": [],
"HasAttachments": false,
"ParentFolderId": "AAMkADA5...",
"Birthday": null,
"FileAs": "Darrow, Alex",
"DisplayName": "Alex Darrow",
"GivenName": "Alex",
"Initials": null,
"MiddleName": null,
"NickName": null,
"Surname": "Darrow",
"Title": null,
"Generation": null,
"EmailAddress1": "[email protected]",
"ImAddress1": null,
"ImAddress2": null,
"ImAddress3": null,
"JobTitle": null,
"CompanyName": null,
"Department": null,
"OfficeLocation": null,
"Profession": null,
"BusinessHomePage": null,
"AssistantName": null,
"Manager": null,
"HomePhone1": null,
"HomePhone2": null,
"BusinessPhone1": null,
"BusinessPhone2": null,
"MobilePhone1": null,
"OtherPhone": null,
"DateTimeCreated": "2014-07-01T16:24:09Z",
"LastModifiedTime": "2014-07-01T16:24:09Z",
"[email protected]": "https://outlook.office365.com/EWS/OData/Users('[email protected]')/Contacts('AAMkADA5...')/Attachments"
}
可以使用相同的訪問令牌檢索Azure AD圖形API嗎? – tatigo 2015-10-13 16:22:50