Update the incident record using either a PUT or PATCH function.
Avant de commencer
Role required: admin, web_service_admin, or rest_api_explorer
Pourquoi et quand exécuter cette tâche
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
Procédure
-
In the top-left of the REST API Explorer, click Modify a record
(PUT) or Update a record (PATCH).
-
In the Path Parameters section, select the Incident
(incident) table.
-
In the sys_id field, enter the sys_id of the record you
created.
-
In the Request Body section, click Add a field.
-
Select the Short description field and specify a new
value.
-
Click Send.
The response indicates the Status code and
Execution time (in milliseconds) of the
request.
-
Verify that the Response Body contains the updated
short_description value.