How do I Resolve/Close An Incident REST API (Fields?)

jaypman
Kilo Contributor

I'm trying to figure out what are the minimal required fields in the Incident table to resolve and close an Incident.   What are the valid values for those fields?

I'm using the REST API to implement this.

Thanks for your help!

12 REPLIES 12

use “incident_state“ instead of “state“ in my case.

chatbot
Kilo Explorer

state:6 is not resolving the ticket. it is closing the ticket

RAGHUSHYAM
Giga Contributor

Hi,

I am facing issue when resolve incident ticket in service now through REST API in postman. Still my incident is not updated to reslove. 

The blow are request url & json payload i am using in postman in put request 

 put method      https://dev92882.service-now.com/api/now/table/incident/2c666b722f9f1510655357892799b6b2

 

 {
 "short_description":"Short Description",
 "comments":"Sample comments",
 "close_code":"Solved Remotely (Permanently)",
 "impact":"3",
 "description":"testing new incident from postman using RESTAPI",
 "close_notes":"TEST",
 "number":"INC0010055",
"body/state""6",
 "caller_id":"2c666b722f9f1510655357892799b6b2",
 "urgency":"3"
  }