sn_chg_rest/change/standard/ API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 04:03 AM
Hi Team,
Can you please help me to get working curl for sn_chg_rest/change/standard/{standard_change_template_id} API?
I need to create standard change request by using Standart template through API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 02:17 AM
Hi Ankit,
Steps to follow.
- Create a standard change template (obtain the sys_id)
- Call it using the Standard Change Template API
https://<instance_name>.service-now.com/api/sn_chg_rest/change/standard/<standard_change_template_sys_id>
In the request body add some fields you wants to populate on the STD change record.
{"description":"Created from API"}
Please mark helpful or correct if I helped you.
This action will help other members with similar issues to find a solution.
Thanks
Ariel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 02:23 AM
The "curl" script is similar:
curl "https://<instance_name>.service-now.com/api/sn_chg_rest/change/standard/<standard_change_template_sys_id" \
--request POST \
--header "Accept:application/json" \
--user 'xxx':'xxxx'
Please mark helpful or correct if I helped you.
This action will help other members with similar issues to find a solution.
Thanks
Ariel