Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

update

Log in to subscribe to topics and get notified when content changes.

update

Updates an existing record in the targeted table in the URL, identified by the mandatory sys_id field.

Input fields

All fields from the targeted table, excluding system fields, which will be used for updating the existing record. The sys_id field is used to locate the existing record.

Output fields

Returns the sys_id of the record that was updated.

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:update>
         <sys_id>46e18c0fa9fe19810066a0083f76bd56</sys_id>
         <short_description>this is updated</short_description>
      </inc:update>
   </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>
      <updateResponse>
         <sys_id>46e18c0fa9fe19810066a0083f76bd56</sys_id>
      </updateResponse>
   </soapenv:Body>
</soapenv:Envelope>

Language-specific sample messages

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

Perl SOAP::Lite

Java Apache Axis2

Microsoft .NET

Python

Feedback