deleteMultiple

Delete multiple records from the targeted table by example values.

Input fields

All fields from the targeted table, including system fields, are used in query-by-example (QBE) fashion to locate records to be deleted. Query example fields can have special prefixes to constrain the search function.

Output fields

A <count> element within the deleteRecordResponse parent element indicating the number of records deleted.

Sample SOAP messages

Sample SOAP request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inc="http://www.service-now.com/incident">
   <soapenv:Header/>
   <soapenv:Body>
      <inc:deleteMultiple>
         <category>hardware</category>
      </inc:deleteMultiple>
   </soapenv:Body>
</soapenv:Envelope>

Sample SOAP response

<soapenv:Envelope xmlns:inc="http://www.service-now.com/incident" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <deleteMultipleResponse>
         <count>6</count>
      </deleteMultipleResponse>
   </soapenv:Body>
</soapenv:Envelope>

Language-specific sample messages

For language-specific deleteRecord samples, refer to the following topics:

Perl SOAP::Lite

Java Apache Axis2

Microsoft .NET

Python