none
EWS Streaming notifications for FreeBusyChange RRS feed

  • Question

  • I am working on a program that will subscribe to streaming notifications to receive information on FreeBusyChanged events. We can create a subscription but are having an issue for reading the notification response

    We currently get the message below, i see the EventType = 7 which tells us the FB changed.  How can i tell what the new status is?  Do I nbeed to follow up with an additional EWS API call to get the user's availability state?

    Thanks,

    Tom

    ----------------------------------

    NotificationEventArgs {
      Events:
       [ ItemEvent {
           eventType: 7,
           timestamp:
            { [Number: 1538152538000]
              kind: 2,
              originalDateInput: null,
              getMomentDate: [Function],
              setMomentDate: [Function] },
           parentFolderId:
            FolderId {
              Namespace: 2,
              OnChange: [],
              mailbox: undefined,
              folderName: undefined,
              UniqueId: 'AAMkADJlYTM2ZmU0LWI3YmYtNGRhMy05ZmJjLWM1NzllODZhNjIxNQAuAAAAAAA4Fao3xo76SL8pT/clQF8sAQDscxl/z1PATJKuVURrfNwSAAAA1cPDAAA=',
              ChangeKey: 'AQAAAA==' },
           oldParentFolderId: null,
           itemId:
            ItemId {
              Namespace: 2,
              OnChange: [],
              UniqueId: 'AAMkADJlYTM2ZmU0LWI3YmYtNGRhMy05ZmJjLWM1NzllODZhNjIxNQBGAAAAAAA4Fao3xo76SL8pT/clQF8sBwDscxl/z1PATJKuVURrfNwSAAAA1cPDAAA9Vs9Imp1QTYW/n7b8xdfOARosnoIJAAA=',
              ChangeKey: 'DwAAAA==' },
           oldItemId: null } ],
      Subscription:
       StreamingSubscription {
         service:
          ExchangeService {
            requestedServerVersion: 3,
            timeZone:
             TimeZoneInfo {
               _ianaId: 'America/Chicago',
               _displayName: '(UTC-06:00) Central Time (US & Canada)',
               _standardDisplayName: 'Central Standard Time',
               _daylightDisplayName: 'Central Daylight Time',
               _supportsDaylightSavingTime: true,
               _adjustmentRules: [],
               _id: 'Central Standard Time',
               _baseUtcOffset: { [Number: -18000000] getMomentDuration: [Function], setMomentDuration: [Function] } },
            xhrApi: null,
            url: null,
            unifiedMessaging: null,
            renderingMode: 0,
            targetServerVersion: null,
            ImpersonatedUserId: ImpersonatedUserId { IdType: 2, Id: 'xxxxx@xxxxx.com' },
            PrivilegedUserId: null,
            ManagementRoles: null,
            PreferredCulture: null,
            DateTimePrecision: 0,
            FileAttachmentContentHandler: null,
            Exchange2007CompatibilityMode: false,
            TraceEnablePrettyPrinting: true,
            Credentials:
             ExchangeCredentials {
               UserName: 'xxxxx@xxxxx.com',
               setPassword: [Function],
               getPassword: [Function] },
            Url:
             Uri {
               m_scheme: 'https',
               url: 'https://casserver/ews/exchange.asmx' },
            httpResponseHeaders: {},
            ServerInfo:
             ExchangeServerInfo {
               MajorVersion: 14,
               MinorVersion: 3,
               MajorBuildNumber: 361,
               MinorBuildNumber: 1,
               VersionString: 'Exchange2010_SP2' } },
         id: 'JQBucGVjdHd2ZW1sY2FzMDEucHRlLWFtLmFtZXJpdHJhZGUuY29tEAAAACjWYHOv3VxKvsMMJGmo/dZO++dWXyXWCA==',
         watermark: null } }

    Monday, October 1, 2018 8:18 PM

Answers

All replies