getItemRequest

Returns the item specified by the ID.

Request

<getItemRequest>
   <id type="types:uid">
   <view type="string"/>
</getItemRequest>

Response

<getItemResponse>
   <item type="types:Item/>
   <status type="types:Status"/>
</getItemResponse>
id

Specifies the ID of the item to return.

view

Specifies the elements returned for each item. The view reduces the amount of data returned. If a view is not specified, all item elements are returned.

item

Returns the specified item.

code

Returns the error number related to the event. 0 indicates that the request was successful.

status

Returns the success or failure of the method.

Remarks

This method is used to get the following item types:

  • Mail

  • Appointments

  • Notes

  • Tasks

  • Phone

  • Contacts

  • Organizations

  • Resources

  • Groups

  • Documents

Example

<getItemRequest> 
   <id>45013330.domain1.po1.100.16E3837.1.FBB.1@1:7.
      domain1.po1.100.0.1.0.1@16</id> 
   <view>default recipients message/RTF attachments recipientStatus
      peek</view> 
</getItemRequest>

<getItemResponse> 
   <item type="Mail"> 
      <id>45013330.domain1.po1.100.16E3837.1.FBB.1@1:7.
               domain1.po1.100.0.1.0.1@16</id> 
      <version>1</version> 
      <modified>2012-09-08T15:09:04Z</modified> 
      <container>7.domain1.po1.100.0.1.0.1@16</container> 
      <created>2012-09-08T15:09:04Z</created> 
      <customs> 
         <custom> 
            <field>customSOAP1</field> 
            <value>Test Value</value> 
         </custom> 
      </customs> 
      <status> 
         <accepted>1</accepted> 
         <opened>1</opened> 
         <read>1</read> 
      </status> 
      <msgId>45013330.domain1.po1.100.16E3837.1.FBB.1</msgId> 
      <source>personal</source> 
      <delivered>2012-09-08T15:09:04Z</delivered> 
      <security>Normal</security> 
      <subject>Setting Custom fields</subject> 
      <distribution> 
         <from> 
            <displayName>u1</displayName> 
            <email>u1@phantom.com</email> 
            <uuid>1DEB6970-175B-0000-890F-6E00D5004E00</uuid> 
         </from> 
         <sendoptions> 
            <statusTracking>None</statusTracking> 
         </sendoptions> 
      </distribution> 
      <options> 
         <priority>Standard</priority> 
      </options> 
      <size>256</size> 
   </item> 
   <status> 
      <code>0</code> 
   </status> 
</getItemResponse>