How to submit a record producer via rest api explorer

Harshit Jamwal1
Mega Guru

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.

1 ACCEPTED SOLUTION

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:

find_real_file.png

find_real_file.png

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

14 REPLIES 14

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

there is no OOB API which supports this as against Cart API which allows to submit catalog item from API

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

How ca we acheive create a ticket Ankush via rest api explorer. Is there a way?

Hello Harshit - Let me know if that answered your question. If so, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.