outlook-restapi

Getting a Count of Contacts from Outlook Office REST API - Javascript

一世执手 提交于 2019-12-13 20:03:46
问题 I'm having difficulty distinguishing between Microsoft's absurd amount of conflicting API documentations: outlook.office.com, outlook.office365.com, microsoft graph, Azure, and so on I've successfully authenticated and pulled contacts, but I can't seem to get a count to know when I should stop pagination. I've been using: Access Token url: https://login.microsoftonline.com/common/oauth2/v2.0/token; Successful Contact url: https://outlook.office.com/api/v2.0/me/contacts; Their REST API

POST and DELETE a booking using OutlookClient and Outlook Calendar API

為{幸葍}努か 提交于 2019-12-13 05:31:59
问题 I'm using Outlook-SDK-Android (MS) to talk with Outlook Calendar REST API. So far I've been able to get the events from my calendar using: import com.microsoft.services.outlook.fetchers.OutlookClient; OutlookClient mClient; ... mClient = new OutlookClient(outlookBaseUrl, mResolver); final List<Event> events = mClient .getMe() //.getUsers() //.getById("meetingRoom@company.com") // This gives me back 403 :( .getCalendarView() .addParameter("startDateTime", startDate) .addParameter("endDateTime"

How to $filter attachments list endpoint by isInline?

拟墨画扇 提交于 2019-12-13 03:02:45
问题 I'm developing OWA add-in using OWA REST API I'm not able to get the filtered result when fetch the attachment list with $filter=inlinImage eq true for example: https://outlook.office.com/api/v2.0/me/messages/{id}/attachments?$filter=IsInline%20eq%20true or https://graph.microsoft.com/v1.0/me/messages/{id}/attachments?$filter=IsInline%20eq%20true knowing that is says in the resource reference that isInline is Filterable, and I got the response 200 when doing the requests above but the without

New Outlook API (2015) mail add-in send event

喜你入骨 提交于 2019-12-13 02:00:38
问题 Does the new Microsoft Outlook API, which enables development of Outlook addins for cross platform, have the ability to trigger an event off the user clicking the send button? I currently have an Outlook VSTO addin that uses the Application.ItemSend event to check an email for specific content and present the user with a popup asking them if they still want to send or not. This is only compatible with Outlook 2007-16 on Windows though, and I was hoping the new API might enable me to build

How to read my messages from Inbox or sent items from a specific email address and within a particular interval?

半城伤御伤魂 提交于 2019-12-12 17:42:50
问题 i am working in graph explorer API to read the email of my account. the idea is to pass an email address and a date interval to Graph API and it should return me the same Messages Associated with this email.it could be from sent item and inbox can be both . i am useing below api: https://graph.microsoft.com/v1.0/me/messages?$Search="Aj****@t**maxa****icas.com and Sent >= 2018-05-09" but this is giving Messages from my inbox not from sent Email.Can any 1 help me out. Thanks. 回答1: The /me

Office 365 API or Azure AD Graph API - Get Someone Elses Calendar

僤鯓⒐⒋嵵緔 提交于 2019-12-12 13:00:29
问题 I am trying to get an office 365 calendar, not for "me", but of a contact. i.e. in the company I work for (which has a global address list), I want to access Dave's calendar, as I would in outlook. I have been through the documentation here, StackOverflow (e.g. here and here), plus Office 365 samples and Graph API samples (I believe Graph API is required for global address lists), but cannot find a way to do it. I have 3 questions: Is this possible? If so, how please? If it's not possible

Log in into Outlook meeting room account

拥有回忆 提交于 2019-12-12 02:13:52
问题 Is it possible to log in into an Office365 Meeting Room user? I need to use an android app for each Meeting Room of my company and get the meeting room bookings to save them into a shared local repository. I have to use Outlook Calendar REST API to get the meetings, is it possible? "The meeting rooms have resource accounts, not user accounts. This means they cannot be logged into" .. is this true?? Many thanks 回答1: It is true, you cannot log in to resource accounts. Today in order to access

AADSTS50011: The reply URL specified in the request does not match the reply urls configured for the application

 ̄綄美尐妖づ 提交于 2019-12-11 18:32:07
问题 We're trying to do calendar sync between outlook and our calendar and running into this error https://snag.gy/o2dtm9.jpg We've connected hundreds of accounts and never ran into the issue 回答1: Based on your screenshot it could be one of the following scenarios: Your Application ID in your web.config does not match the Application ID in your app registration. Double-check that these values are the same. The Reply URL in your portal needs to match the URL of your published application. This can

using ExtendedProperties in the Outlook REST API to set Message item headers

感情迁移 提交于 2019-12-11 15:55:25
问题 It is possible to request message headers in the C# API: https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.item.internetmessageheaders(exchg.80).aspx Is it possible to set item message headers instead, using the REST API via ExtendedProperties ? This would allow us to remove the last remaining EWS SOAP call we have to do, which is to add a header to an Outlook draft. The reasons for wanting this: Apparently the EWS SOAP API seems to have a failure rate of 10 - 20%

Outlook webhook notification subscription

删除回忆录丶 提交于 2019-12-11 14:48:49
问题 I already implemented outlook notification rest api into my code and its work fine but today it suddenly failed and gives me 400 error. Request outlook for create subscription for notification Output:: {"error":{"code":"ErrorInvalidParameter","message":"The parameter 'Resource' is invalid."}} My post data as below :: URL => outlook.office.com/api/v2.0/me/subscriptions $subscriptionParameters = json_encode(array( "@odata.type" => "#Microsoft.OutlookServices.PushSubscription", "Resource" =>