3.1.4.3 DeleteItem Operation

The DeleteItem operation deletes Post objects on the server. This operation is specified in [MS-OXWSCORE] section 3.1.4.3.

The following is the WSDL port type specification for the DeleteItem operation.

 <wsdl:operation name="DeleteItem">
      <wsdl:input message="tns:DeleteItemSoapIn" />
      <wsdl:output message="tns:DeleteItemSoapOut" />
 </wsdl:operation>

The following is the WSDL binding specification for the DeleteItem operation.

 <wsdl:operation name="DeleteItem">
    <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem"/>
    <wsdl:input>
       <soap:header message="tns:DeleteItemSoapIn" part="Impersonation" use="literal"/>
       <soap:header message="tns:DeleteItemSoapIn" part="MailboxCulture" use="literal"/>
       <soap:header message="tns:DeleteItemSoapIn" part="RequestVersion" use="literal"/>
       <soap:body parts="request" use="literal"/>
    </wsdl:input>
    <wsdl:output>
       <soap:body parts="DeleteItemResult" use="literal"/>
       <soap:header message="tns:DeleteItemSoapOut" part="ServerVersion" use="literal"/>
    </wsdl:output>
 </wsdl:operation>

The following table summarizes the set of WSDL message definitions that are specific to the DeleteItem operation.

Message name

Description

DeleteItemSoapIn

The DeleteItemSoapIn message is specified in [MS-OXWSCORE] section 3.1.4.3.1.1. It specifies the DeleteItem operation request to delete one or more Post objects on the server.

The DeleteItem element ([MS-OXWSCORE] section 3.1.4.3.2.1) that specifies the XML request MUST contain the ItemIds child element ([MS-OXWSCORE] section 3.1.4.3.3.2).

The ItemIds element MUST contain one or more ItemId child elements ([MS-OXWSCORE] section 2.2.4.31), each one having an Id attribute ([MS-OXWSCORE] section 2.2.4.25) that identifies a Post object.

The ItemIds element MUST NOT contain an OccurrenceId child element ([MS-OXWSCORE] section 2.2.4.31) or a RecurringMasterItemId child element ([MS-OXWSCORE] section 2.2.4.31) in a request to delete a Post object.

DeleteItemSoapOut

The DeleteItemSoapOut message is specified in [MS-OXWSCORE] section 3.1.4.3.1.2. It specifies the server response to the DeleteItem operation request.

The client sends a tns:DeleteItemSoapIn request WSDL message and the server MUST respond with a tns:DeleteItemSoapOut response WSDL message.

Show: