The second request will return additional contacts and either a skipToken if there are more contacts available, or a deltaToken if the last contact was sent. You should always make a second GET request using the deltaToken to determine if there are any additional contacts. The initial response to a sync request always returns a deltaToken. The second and subsequent GET requests differ from the first GET request by including either a deltaToken or a skipToken received in a previous response. GET header to set the maximum number of contacts returned in each request. "value": "W/\"EQAAABYAAACd9nJ/tVysQos2hTfspaWRAAADTIa7\"", Sample response Status code: "$metadata#Me/Contacts(EmailAddresses,GivenName,Surname)", Sample request GET $select=EmailAddresses,GivenName,Surname See OData query parameters for filtering, sorting, and paging parameters. Use $select to specify only those properties you need for best performance. The contact folder ID, if you're getting contacts from a specific folder.īy default, each contact in the response includes all its properties. me/contacts), or from the specified contact folder. Get a contact collection from the default Contacts folder of the signed-in user (. You can get a contact collection or an individual contact from a contact folder. See Use the Outlook REST API for more information common to all subsets of The Contacts API requests are always performed on behalf of the current user. The functionality may differ depending on the specific version. The Contacts REST API is supported in all versions of the Outlook REST API. Keep this in mind as you proceed with the specific operations in the Contacts API. You can find out more about some streamlined registration and authorization options for you. Getting an access token requires you to have registered and identified your app, and obtained the appropriate authorization. Like other Outlook REST API, for every request to the Contacts API, Using the Contacts REST API Authentication You can get or set a photo for a contact. You can get contact folders and create contacts in a contact folder.Įach contact can have an optional contact picture.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |