O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Your First Calendar Item

Creating a basic appointment on the calendar is a straightforward operation. Like all other item types, you create a calendar item by using the CreateItem Web method. Look at Example 8-1 for the most basic example of creating a calendar item.

Example 8-1. Example of creating a calendar item via a CreateItem request

<CreateItem SendMeetingInvitations="SendToNone"
            xmlns=".../messages"
            xmlns:t=".../types">
  <Items>
    <t:CalendarItem>
      <t:Subject>Write Chapter Explaining Calendar Items</t:Subject>
    </t:CalendarItem>
  </Items>
</CreateItem>

As you can see, all you need to do is supply a CalendarItem XML node with a child node of Subject and set the SendMeetingInvitations attribute to SendToNone.[142] (We’ll discuss the SendMeetingInvitations ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required