ServiceNow – Resolve Incident via REST call
https://devxxxx.service-now.com/api/now/table/incident/76fa56d0db021300e105d740cf96191b
sys_id = 76fa56d0db021300e105d740cf96191b
how to get sys_id is described here
{
‘caller_id’:‘[email protected]’,
‘close_code’:‘Solved (Permanently)’,
‘close_notes’:‘It was an easy Fix’,
‘state’:‘6’,
‘short_description’:‘Updating state to Solved’,
‘description’:‘details about what the problem was’
}
This how the JSON attributes above are mapped to the UI textboxes/dropdowns in ServiceNow
caller_id – Caller
close_code = Resolution code
close_notes = Resolution notes
State = State
Where State:
State:
1 – New
2 – In Progress
3 – On Hold
6 – Resolved
7 – Closed
8 – Canceled
short_description = Short description
Description = Description