none
EAS 16 trouble with all day events (recurring) RRS feed

  • Question

  • Hi guys,

    I have a trouble with changing recurrence instance to all day. 

    In details: I have a recurrence event, which is not all day and I want to make one of instance as allday.

    Example:

    <?xml version="1.0" encoding="utf-8"?>
    <airsync:Sync xmlns:airsync="AirSync:">
      <airsync:Collections>
        <airsync:Collection>
          <airsync:SyncKey>817743897</airsync:SyncKey>
          <airsync:CollectionId>1</airsync:CollectionId>
          <airsync:DeletesAsMoves />
          <airsync:GetChanges />
          <airsync:WindowSize>10</airsync:WindowSize>
          <airsync:Options>
            <airsync:FilterType>4</airsync:FilterType>
            <airsyncbase:BodyPreference xmlns:airsyncbase="AirSyncBase:">
              <airsyncbase:Type>1</airsyncbase:Type>
              <airsyncbase:TruncationSize>204800</airsyncbase:TruncationSize>
            </airsyncbase:BodyPreference>
          </airsync:Options>
          <airsync:Commands>
            <airsync:Change>
              <airsync:ServerId>1:2</airsync:ServerId>
              <airsync:ApplicationData>
                <calendar:TimeZone xmlns:calendar="Calendar:">iP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAFAAMAAAAAAAAAxP///w==</calendar:TimeZone>
                <calendar:AllDayEvent xmlns:calendar="Calendar:">0</calendar:AllDayEvent>
                <calendar:StartTime xmlns:calendar="Calendar:">20170425T090000Z</calendar:StartTime>
                <calendar:EndTime xmlns:calendar="Calendar:">20170425T100000Z</calendar:EndTime>
                <calendar:Subject xmlns:calendar="Calendar:">Ree</calendar:Subject>
                <airsyncbase:Body xmlns:airsyncbase="AirSyncBase:">
                  <airsyncbase:Type>1</airsyncbase:Type>
                  <airsyncbase:Data />
                </airsyncbase:Body>
                <calendar:Recurrence xmlns:calendar="Calendar:">
                  <calendar:Recurrence_Type>0</calendar:Recurrence_Type>
                  <calendar:Recurrence_Interval>1</calendar:Recurrence_Interval>
                  <calendar:Recurrence_Until>20170506T090000Z</calendar:Recurrence_Until>
                </calendar:Recurrence>
                <calendar:Reminder xmlns:calendar="Calendar:">15</calendar:Reminder>
                <calendar:MeetingStatus xmlns:calendar="Calendar:">0</calendar:MeetingStatus>
                <calendar:Sensitivity xmlns:calendar="Calendar:">0</calendar:Sensitivity>
              </airsync:ApplicationData>
            </airsync:Change>
            <airsync:Change>
              <airsync:ServerId>1:2</airsync:ServerId>
              <airsyncbase:InstanceId xmlns:airsyncbase="AirSyncBase:">20170502T090000Z</airsyncbase:InstanceId>
              <airsync:ApplicationData>
                <calendar:TimeZone xmlns:calendar="Calendar:">iP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAFAAMAAAAAAAAAxP///w==</calendar:TimeZone>
                <calendar:AllDayEvent xmlns:calendar="Calendar:">0</calendar:AllDayEvent>
                <calendar:StartTime xmlns:calendar="Calendar:">20170502T090000Z</calendar:StartTime>
                <calendar:EndTime xmlns:calendar="Calendar:">20170502T100000Z</calendar:EndTime>
                <calendar:Subject xmlns:calendar="Calendar:">Ree3</calendar:Subject>
                <airsyncbase:Body xmlns:airsyncbase="AirSyncBase:">
                  <airsyncbase:Type>1</airsyncbase:Type>
                  <airsyncbase:Data />
                </airsyncbase:Body>
                <calendar:Reminder xmlns:calendar="Calendar:">15</calendar:Reminder>
                <calendar:MeetingStatus xmlns:calendar="Calendar:">0</calendar:MeetingStatus>
                <calendar:Sensitivity xmlns:calendar="Calendar:">0</calendar:Sensitivity>
              </airsync:ApplicationData>
            </airsync:Change>
            <airsync:Change>
              <airsync:ServerId>1:2</airsync:ServerId>
              <airsyncbase:InstanceId xmlns:airsyncbase="AirSyncBase:">20170503T090000Z</airsyncbase:InstanceId>
              <airsync:ApplicationData>
                <calendar:AllDayEvent xmlns:calendar="Calendar:">1</calendar:AllDayEvent>
                <calendar:StartTime xmlns:calendar="Calendar:">20170502T000000Z</calendar:StartTime>
                <calendar:EndTime xmlns:calendar="Calendar:">20170503T000000Z</calendar:EndTime>
                <calendar:Subject xmlns:calendar="Calendar:">Ree333</calendar:Subject>
                <airsyncbase:Body xmlns:airsyncbase="AirSyncBase:">
                  <airsyncbase:Type>1</airsyncbase:Type>
                  <airsyncbase:Data />
                </airsyncbase:Body>
                <calendar:Reminder xmlns:calendar="Calendar:">15</calendar:Reminder>
                <calendar:MeetingStatus xmlns:calendar="Calendar:">0</calendar:MeetingStatus>
                <calendar:Sensitivity xmlns:calendar="Calendar:">0</calendar:Sensitivity>
              </airsync:ApplicationData>
            </airsync:Change>
          </airsync:Commands>
        </airsync:Collection>
      </airsync:Collections>
    </airsync:Sync>

    Server gives a response for instance "20170503T090000Z" with status 6, which means that some the tags are not correct. The most interesting thing is that when AllDayEvent value is set to 0 - all is OK (for last instance). 

    Also, in documentation, I found next sentence for AllDayEvent item "When a client edits an exception item, the AllDayEvent element of the exception MUST match the value on the master item of the recurring series", but I don't get how can I achive this. In my understanding, If I change the master item, all recurrence event will become as an allday, but not only an instance. 

    Original link for this post: https://social.technet.microsoft.com/Forums/office/en-US/7520fbec-6de3-48be-a13a-f6a95c3f3242/eas-16-changing-all-day-events?forum=Exch2016CM

    Please help. Thanks

    Tuesday, May 9, 2017 11:59 AM