- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 12:55 PM
The use case is to invoke REST API from Jenkins and submit a Service request from Service Catalog. Checked the Service Now documentation and it says REST API is for getting the data from the Service Now tables. What we are looking for is REST API which will represent the function "Submit Request" in the Snow UI. We are using London.
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 01:13 PM
You should be able to do it using REST.
Check REST API explorer in servicenow and name space is sn_sc
and use Buy Item (POST) from the list
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 12:59 PM
Have you checked cart API in servicenow?
https://docs.servicenow.com/bundle/london-application-development/page/script/server-scripting/reference/r_ServiceCatalogScriptAPI.html
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 01:03 PM
Yes I checked, but it is scripted API. Can we call this over REST? As per my reading, scripted API cannot be invoked over REST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 01:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 02:24 PM
Thanks for the information. We do not have access to the explorer, however I could access APIs which has good information on creating the cart item. We will use that.