3.1.4.2.3.2 m:CreateItemType Complex Type

The CreateItemType complex type specifies a request to create an item. The CreateItemType complex type extends the BaseRequestType complex type ([MS-OXWSCDATA] section 2.2.4.17).

 <xs:complexType name="CreateItemType">
   <xs:complexContent>
     <xs:extension
       base="m:BaseRequestType"
     >
       <xs:sequence>
         <xs:element name="SavedItemFolderId"
           type="t:TargetFolderIdType"
           minOccurs="0"
          />
         <xs:element name="Items"
           type="t:NonEmptyArrayOfAllItemsType"
          />
       </xs:sequence>
       <xs:attribute name="MessageDisposition"
         type="t:MessageDispositionType"
         use="optional"
        />
       <xs:attribute name="SendMeetingInvitations"
         type="t:CalendarItemCreateOrDeleteOperationType"
         use="optional"
        />
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

The following table lists and describes the child elements of the CreateItemType complex type.<106>

Element name

Type

Description

SavedItemFolderId

t:TargetFolderIdType ([MS-OXWSFOLD] section 2.2.4.16)

Specifies the folder in which new items are saved.

Items

t:NonEmptyArrayOfAllItemsType ([MS-OXWSCDATA] section 2.2.4.46)

Specifies the collection of items to be created.

The following table lists and describes the attributes of the CreateItemType complex type.

Attribute name

Type

Description

MessageDisposition

t:MessageDispositionType ([MS-OXWSMSG] section 2.2.5.1)

Specifies an enumeration that describes how an item is handled after it is created.

SendMeetingInvitations

t:CalendarItemCreateOrDeleteOperationType ([MS-OXWSMTGS] section 2.2.5.1)

Specifies an enumeration that describes how meeting requests are handled after they are created.