Create a standard change via rest api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 02:44 AM
Afternoon all.
Has anyone had any luck in creating a Standard change via rest api servicenow to servicenow
I created a standard change template, then on the end point (see below) put the sys id of that template but it fails when trying to create with the error - {"error":{"message":"Standard Change Template not found","detail":""},"status":"failure"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 02:54 AM
Your API should be below:
https://xxxxx.service-now.com/api/sn_chg_rest/change/standard/{standard_change_template_id}
Replace xxxx with your instance name.
Also your sys_id of template should be from "std_change_record_producer" table.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 03:41 AM
I got this working via this end point, but thank you for resonding and giving me the correct pointer.
/api/sn_sc/servicecatalog/items/32e5f2d01bbf1910d978eb53b24bcb24/submit_producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 03:50 AM
@CandyDee you can mark the relevant answers correct so that it can help members with same question in future.
Raghav
MVP 2023