Skip to content

Instantly share code, notes, and snippets.

@henningjensen
Created June 21, 2009 21:50
Show Gist options
  • Save henningjensen/133665 to your computer and use it in GitHub Desktop.
Save henningjensen/133665 to your computer and use it in GitHub Desktop.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:mes="http://schemas.microsoft.com/exchange/services/2006/messages">
<soapenv:Header>
<typ:RequestServerVersion Version="Exchange2007_SP1"/>
</soapenv:Header>
<soapenv:Body>
<mes:CreateItem MessageDisposition="SaveOnly" SendMeetingInvitations="SendToAllAndSaveCopy">
<mes:Items>
<typ:CalendarItem>
<typ:Subject>Dentist Appointment</typ:Subject>
<typ:Body BodyType="Text">The appointment is with Dr. Smith.</typ:Body>
<typ:Start>2009-03-02T17:00:00Z</typ:Start>
<typ:End>2009-03-02T19:00:00Z</typ:End>
</typ:CalendarItem>
</mes:Items>
</mes:CreateItem>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:mes="http://schemas.microsoft.com/exchange/services/2006/messages">
<soapenv:Header>
<typ:RequestServerVersion Version="Exchange2007_SP1"/>
</soapenv:Header>
<soapenv:Body>
<mes:FindItem Traversal="Shallow">
<mes:ItemShape>
<!--type: DefaultShapeNamesType - enumeration: [IdOnly,Default,AllProperties]-->
<typ:BaseShape>AllProperties</typ:BaseShape>
<!--Optional:-->
<!--type: boolean-->
<typ:IncludeMimeContent>false</typ:IncludeMimeContent>
<!--Optional:-->
<!--type: BodyTypeResponseType - enumeration: [Best,HTML,Text]-->
<typ:BodyType>Text</typ:BodyType>
</mes:ItemShape>
<mes:CalendarView MaxEntriesReturned="10" StartDate="2009-05-01T00:00:00" EndDate="2009-07-01T00:00:00"/>
<mes:ParentFolderIds>
<typ:DistinguishedFolderId Id="calendar">
</typ:DistinguishedFolderId>
</mes:ParentFolderIds>
</mes:FindItem>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment