Getting started with REST - update the incident

Update the incident record using either a PUT or PATCH function.

Before you begin

Role required: web_service_admin, rest_api_explorer, or admin

About this task

Use the REST API Explorer to send the following request:

PUT https://instance.service-now.com/api/now/v1/table/incident/(sys_id)?sysparm_exclude_ref_link=true

Procedure

  1. In the top-left of the REST API Explorer, click Modify a record (PUT) or Update a record (PATCH).
  2. In the Path Parameters section, select the Incident table.
  3. In the sys_id field, enter the sys_id of the record you created.
  4. In the Request Body section, click Add a field.
  5. Select the Short description field and specify a new value.
  6. Click Send.
  7. Verify that the response contains the updated short_description value.
    Update record response