Standard Change Risk Assessment via REST API

Maria3
Kilo Contributor

I'm trying to complete the risk assessment bit for a standard change via the REST API. Creating the change is no problem, and I can GET the change. But when I do a PATCH /sn_chg_rest/change/standard/{sys_id}/risk as described at https://developer.servicenow.com/app.do#!/rest_api_doc?v=madrid&id=changemgmt-PATCH-std-chng-risk, I get "Requested URI does not represent any resource: /sn_chg_rest/change/standard/32061b0cdb86ff00bb0cd12c5e9619e3/risk". Why does the documentation say that I can PATCH to that URI if the resource doesn't actually exist? Is there some other way to complete the risk assessment so I can move this change along in the workflow? What am I missing?

5 REPLIES 5

Maria3
Kilo Contributor

Ack, so I realized I had my urls a bit off. But I'm still getting an error. When I try to GET rows from the change_risk_asmt table to check out, I'm now getting "Invalid table change_risk_asmt". I'm running against the Madrid release. Is it possible that's not the right table name for Madrid?