- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 10:09 AM
I have a standard change template created via record producer. I want to create the standard change via REST API explorer. Can anybody help me with this. It is real urgent.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2020 08:01 AM
Hi Harshit,
Adding to Pradeep's point with example and how to send the data.
Note: ensure you give your instance name and sys_id of record producer
HTTP Method: POST
Endpoint: https://instanceName.service-now.com/api/sn_sc/servicecatalog/items/fae4d9be4fd98c10fc11fa218110c7bd/submit_producer
Request Body: key-value json pair
key -> name of variable
value -> value you want to set for that variable
{"select_option":"Option 1","description":"my description from API"}
Screenshots:
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2020 08:01 AM
Hi Harshit,
Adding to Pradeep's point with example and how to send the data.
Note: ensure you give your instance name and sys_id of record producer
HTTP Method: POST
Endpoint: https://instanceName.service-now.com/api/sn_sc/servicecatalog/items/fae4d9be4fd98c10fc11fa218110c7bd/submit_producer
Request Body: key-value json pair
key -> name of variable
value -> value you want to set for that variable
{"select_option":"Option 1","description":"my description from API"}
Screenshots:
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2021 06:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2021 06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 02:42 AM
Hi Ankur,
Is there any way that we can skip the mandatory variables while submitting record producer using the API.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 03:47 AM
Found the solution.
Need to pass sysparm_no_validation=true