Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

15 REPLIES 15

Anirudh29
Tera Contributor

Hi @Ankur Bawiskar , Im trying to generate payload for a record producer using Submit a Record Producer(POST) API. Im getting the mandatory fields error, is there a way to skip this and just get the payload?