In Office 365 Contacts UI you can have contacts that are linked. When retrieving the contacts through the Graph API endpoint https://graph.microsoft.com/v1.0/me/contacts there is no field that indicates that the contacts are linked.
Contacts can be linked when they are created with the same email or you can specify any two contacts to link. So it is important to know when contacts are linked as they share data.
Using https://outlook.office.com/api/beta/me/contacts I have the PersonId field which allows me to determine a link.
How do I determine if a contact is linked and who it is linked to in the Graph API?
Related
How to fetch contact groups, also called contact lists in Outlook web (not contact folders) using Microsoft Graph API?
List contacts and list contact folders doesn't fetch contact groups.
Created a uservoice for this feature: link.
Do support if you think there's no feature currently avaliable to do this!
I am working on an app where I need to check if a contact is google contact or not for IOS.
After reading Contacts Framework what I understood was a contact can belong to multiple containers. Basically, containers are the server accounts where contacts are synced.
I tried to get the containers of contact but was not able to identify from the returned info that the contact is google contact or not.
Is there any way from which I can check for the same and get google id of the contact if it's a google contact?
https://graph.microsoft.com/v1.0/me/people/?$Search="contact1"
Result is empty if contact1 is under a user created folder - Folder1.
How can we search for COntacts from all Folders using a Single API call?
According to the questions and the comments you posted, I suppose you want to get the email-address of the people under a Contact Folder and get all contacts under the contacts folder.
For your case 1, according to the description of the content Use the People API in Microsoft Graph to get information about the people most relevant to you, we can get the people most relevant to the signed-in user (/me), or to a specific user in the signed-in user’s organization, instead of the people under a Contact Folder.
For your case 2, we use the API for getting the contacts, It will only return contacts under the default folder. Single contact file directories can only be obtained through this API. We can refer to the simple code in this content to get contacts in the contact folder.
I am trying to use the Graph API inside an Office 365 add-in to get contact information out of GAL. Neither of the following queries return any contacts from the GAL, although both return some information.
beta/me/contacts?$filter=displayName eq 'John Smith'
beta/me/people?$filter=displayName eq 'John Smith'
Is it possible to get contacts from the GAL using the Graph API? I having a feeling I am not giving my app the correct permission to access the GAL.
The /me/contacts endpoint returns the contacts from your default Outlook Contacts folder. The /me/people endpoint is similar but attempts to pull information on contacts access multiple sources.
The GAL represents contact information from your organization (i.e. Active Directory). To see the contact information for other users in your organization, you use the /users endpoint. To see organizational contacts (contacts added to the AD/GAL) you need to use the /contacts endpoint (note the lack of /me/ in the path).
I am not able to fetch phone number of restaurant using Zomato API. Do we need to Partner with Zomato then only it will provide such details. I also want restaurant other details such as its website(if any provided).
The partner access is required to fetch restaurant's phone numbers whereas the restaurant's website information is not yet supported by the Zomato API for both basic and partner users. Find out the supported data – https://developers.zomato.com/documentation#!/restaurant/restaurant_0