我如何为自己的公司电子邮件交换获取outlook忙/闲rest api?

我如何为自己的公司电子邮件交换获取outlook忙/闲rest api?,outlook,outlook-2010,outlook-restapi,outlook-2013,Outlook,Outlook 2010,Outlook Restapi,Outlook 2013,我使用Microsoft outlook作为客户端来查看我的邮件 如何获取日历的特定用户忙/闲详细信息 我怎样才能看到RESTAPI呢 我已经看过这方面的C#代码,并且已经检查过了 但是我需要RESTAPI来实现这个。我查过了 我如何在我的案例中实现这一点 如果需要更多信息,请告诉我 任何暗示都将不胜感激。谢谢好的,我终于解决了这个问题 让我告诉你怎么做 你需要做的两件事是 1)您的exchange服务器url 你可以通过这种方法得到。 对于exchange服务器url,此url为贷方 我

我使用Microsoft outlook作为客户端来查看我的邮件

如何获取日历的特定用户忙/闲详细信息

我怎样才能看到RESTAPI呢

我已经看过这方面的C#代码,并且已经检查过了

但是我需要RESTAPI来实现这个。我查过了

我如何在我的案例中实现这一点

如果需要更多信息,请告诉我


任何暗示都将不胜感激。谢谢

好的,我终于解决了这个问题

让我告诉你怎么做

你需要做的两件事是

1)您的exchange服务器url

你可以通过这种方法得到。 对于exchange服务器url,此url为贷方

我还添加了一个步骤

2. Use Microsoft Outlook (2007 and later) that connects to the same Exchange EWS Connector.

Hold the Ctrl key and right click on the Outlook Icon in the system tray
Select “Test E-mail Auto Configuration” from the menu
Type in an email address located on the desired Exchange server
Click Test
The URL is listed as 'Availability Service URL'
在你有url后,做这个

2)发送POST text\xml请求

网址

以及这里的xml主体


480
0
02:00:00
5.
10
星期日
-60
02:00:00
1.
4.
星期日
user1@example.com
要求的
错误的
user2@example.com
要求的
错误的
2006-10-16T00:00:00
2006-10-16T23:59:59
60
详细的
希望这对你也有用

如果有任何问题困扰着我。我喜欢分享

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Body>
    <GetUserAvailabilityRequest xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
                xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <t:TimeZone xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
        <Bias>480</Bias>
        <StandardTime>
          <Bias>0</Bias>
          <Time>02:00:00</Time>
          <DayOrder>5</DayOrder>
          <Month>10</Month>
          <DayOfWeek>Sunday</DayOfWeek>
        </StandardTime>
        <DaylightTime>
          <Bias>-60</Bias>
          <Time>02:00:00</Time>
          <DayOrder>1</DayOrder>
          <Month>4</Month>
          <DayOfWeek>Sunday</DayOfWeek>
        </DaylightTime>
      </t:TimeZone>
      <MailboxDataArray>
        <t:MailboxData>
          <t:Email>
            <t:Address>user1@example.com</t:Address>
          </t:Email>
          <t:AttendeeType>Required</t:AttendeeType>
          <t:ExcludeConflicts>false</t:ExcludeConflicts>
        </t:MailboxData>
        <t:MailboxData>
          <t:Email>
            <t:Address>user2@example.com</t:Address>
          </t:Email>
          <t:AttendeeType>Required</t:AttendeeType>
          <t:ExcludeConflicts>false</t:ExcludeConflicts>
        </t:MailboxData>
      </MailboxDataArray>
      <t:FreeBusyViewOptions>
        <t:TimeWindow>
          <t:StartTime>2006-10-16T00:00:00</t:StartTime>
          <t:EndTime>2006-10-16T23:59:59</t:EndTime>
        </t:TimeWindow>
        <t:MergedFreeBusyIntervalInMinutes>60</t:MergedFreeBusyIntervalInMinutes>
        <t:RequestedView>DetailedMerged</t:RequestedView>
      </t:FreeBusyViewOptions>
    </GetUserAvailabilityRequest>
  </soap:Body>
</soap:Envelope>