Use REST API to Create Standard Change Request from Template and Set Fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2019 10:03 AM
I am needing to create a Standard Change Request using an approved template and also be able to set some fields that are dynamic (such as the company and configuration_item fields). I'm able to create the Standard Change Request using the Service Catalog submit_producer API, but for some reason when I pass variables to it for any field it does not fill that field in.
I've tried this using the REST API Explorer with no success using the sn_sc namespace and OOB Service Catalog API and the Submit a Record Producer method. Screenshots of this are below. Note that I have indeed already tried specifying the sys_id for the reference fields. That isn't the problem.
Thank you for any assistance you can offer.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2023 10:06 AM
I am not sure if this is still a question, but you can use different name space sn_chg_rest, it has APIs to post changes using standard or normal change tmeplates and also set fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2023 10:23 AM
I'm not sure I understand your post. I looked for a table by that name and couldn't find anything. Do you have more detail or a link to more detail?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2023 01:15 PM - edited ‎03-13-2023 01:22 PM
In the REST API Explorer instead of using sn_sc (in your screenshot) use the sn_chg_rest as the Namespace.