How to Submit a catalog item from web page using REST API - Important to fill in variables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 01:37 AM - edited 04-08-2024 01:45 AM
Hi is this only possible with the CART Script Include?
I know that there is a Option to Order en ITEM with REST API.
"sn_sc" but i am not able to fill variables with that "namespace" ....
do i need to get the Vars first?
My goal is to order an ITEM with REST. I need to fill out 25 Vars with that call. And Avoid a scripted Rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 01:40 AM
Hi @Meloper,
Checkout this is
https://www.servicenow.com/community/itsm-forum/how-to-submit-a-catalog-item-from-web-page-using-res...
Please hit helpful and accept this as a solution if it solved your problem.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 01:45 AM
Hi thanks for the Qucik replay.
But this ist da Cart Option i already know about, i also mentioned it.
We want to find a Solution With REST, do we really need to create a scripted reest api?
The sysID will be know!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 02:45 AM
Hey @Meloper,
I think this is the API you are looking for - POST /sn_sc/servicecatalog/items/{sys_id}/order_now
Cheers