def get_item(exchange_id, format=u"<STR_LIT>"):
elements = list()<EOL>if type(exchange_id) == list:<EOL><INDENT>for item in exchange_id:<EOL><INDENT>elements.append(T.ItemId(Id=item))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>elements = [T.ItemId(Id=exchange_id)]<EOL><DEDENT>root = M.GetItem(<EOL>M.ItemShape(<EOL>T.BaseShape(format)<EOL>),<EOL>M.ItemIds(<EOL>*elements<EOL>)<EOL>)<EOL>return root<EOL>
Requests a calendar item from the store.

  exchange_id is the id for this event in the Exchange store.

  format controls how much data you get back from Exchange. Full docs are here, but acceptible values
  are IdOnly, Default, and AllProperties.

  http://msdn.microsoft.com/en-us/library/aa564509(v=exchg.140).aspx

  <m:GetItem  xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
          xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <m:ItemShape>
        <t:BaseShape>{format}</t:BaseShape>
    </m:ItemShape>
    <m:ItemIds>
        <t:ItemId Id="{exchange_id}"/>
    </m:ItemIds>
</m:GetItem>