Export (0) Print
Expand All

cd:calendarData

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Holds calendar data including working hours or free-busy time slots and other calendar data.

<calendarData xmlns="..." mailboxID="...">
  <WorkingHours>...</WorkingHours>
  <freeBusy>...</freeBusy>
</calendarData>

Attribute Data Type Description

xmlns

url

Required: http://schemas.microsoft.com/2006/09/sip/calendarData

mailboxID

url

Required: xs:anyURI

majorVersion

int

Optional

minorVersion

int

Optional

Element Description

none

See Remarks below.

Element Occurrence Description

xt:WorkingHours Element

0 or 1

Working hours as defined in Microsoft Exchange.

cd:freeBusy Element

0 or 1

Free-busy intervals shown on a user's calendar.

A calendarData element consists of a sequence of one WorkingHours or freeBusy element.

This is a top-level element in the Enhanced Presence Schemas. When transported over the wire, it will be enveloped by an application- or API-specific parent element, such as cwaCategory in Unified Communications AJAX Service API.

XML Example of the calendarData Element

<?xml version="1.0" encoding="utf-8" ?>
<calendarData xmlns="http://schemas.microsoft.com/2006/09/sip/calendarData" 
mailboxID="bob@contoso.com">
  <WorkingHours xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
    <TimeZone>
      <Bias>480</Bias>
      <StandardTime>
        <Bias>0</Bias>
        <Time>02:00:00</Time>
        <DayOrder>1</DayOrder>
        <Month>11</Month>
        <DayOfWeek>Sunday</DayOfWeek>
      </StandardTime>
      <DaylightTime>
        <Bias>60</Bias>
        <Time>02:00:00</Time>
        <DayOrder>2</DayOrder>
        <Month>3</Month>
        <DayOfWeek>Sunday</DayOfWeek>
      </DaylightTime>
    </TimeZone>
    <WorkingPeriodArray>
      <WorkingPeriod>
        <DayOfWeek>Monday Tuesday Wednesday Thursday Friday</DayOfWeek>
        <StartTimeInMinutes>600</StartTimeInMinutes>
        <EndTimeInMinutes>1170</EndTimeInMinutes>
      </WorkingPeriod>
    </WorkingPeriodArray>
  </WorkingHours> 
</calendarData> 
Show:
© 2014 Microsoft