Share via


calendarData/WorkingHours/WorkingPeriodArray Element

Holds an array of working-hours periods of a user.

    <WorkingPeriodArray>
      <WorkingPeriod>         <DayOfWeek>string</DayOfWeek>
         <StartTimeInMinutes>int</StartTimeInMinutes >
         <EndTimeInMinutes>int</EndTimeInMinutes >
      </WorkingPeriod>
      <WorkingPeriod>
         ......
      </WorkingPeriod>
    </ WorkingPeriodArray >

ArrayOfWorkingPeriod

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child Elements

Element

Occurrence

Description

WorkingPeriod

0 or more

A working period.

Parent Elements

Element

Description

WorkingHours

The working-hours specification obtained from the underlying Exchange Server.

Text Value

None

Remarks

A working period array can have zero or more working periods. For

Example

The following XML code snippet shows an array of two working periods:

    <WorkingPeriodArray>
      <WorkingPeriod>
        <DayOfWeek>Monday Wednesday Friday</DayOfWeek>
        <StartTimeInMinutes>480</StartTimeInMinutes>
        <EndTimeInMinutes>1020</EndTimeInMinutes>
      </WorkingPeriod>
      <WorkingPeriod>
        <DayOfWeek>Tuesday Thursday</DayOfWeek>
        <StartTimeInMinutes>600</StartTimeInMinutes>
        <EndTimeInMinutes>1140</EndTimeInMinutes>
      </WorkingPeriod>
    </WorkingPeriodArray>

The above working hour period array specification indicates that the specified contact works 08:00-17:00 on Mondays, Wednesdays and Fridays and on Tuesdays and Thursdays, the user also works 10:00-19:00.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema Name

calendarData

Validation File

calendarData.xsd, calendardatatypes.xsd

Can be Empty

True

See Also

Reference

calendarData