Rest API in creating REQ and RITM in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 08:47 PM
Hello SNOW Experts!
I am trying to create REQ and RITM tickets using Rest API. Apologies, I am new to this and not really sure if I'm doing it correctly. I have followed the steps to take from documentations I have gone through to no avail. Here are the steps that I have taken so far:
1. Used the sn_sc namespace with Buy Item ( POST ).
2. Created the request body containing the mandatory fields.
img1: Form fields
img2: Request Body
Despite filling in all mandatory fields, the response returns 400 Bad Request, saying mandatory fields should be filled in.
There are differences also that I have found in the but not sure if it weighs in.
IMG4: catalog item does not have the Order Now option but rather it's showing Apply Now.
img5: Mandatory variables are indicated in the Variables Sets tab instead on the Variables Tab.
Would appreciate your expert advice on this issue please.
Thank you!