How to Submit a catalog item from web page using REST API - Important to fill in variables?

Meloper
Kilo Sage

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? 

Meloper_0-1712565634760.png

 

 

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

3 REPLIES 3

M Ismail
Tera Guru

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!

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!

James Chun
Kilo Patron

Hey @Meloper,

 

I think this is the API you are looking for - POST /sn_sc/servicecatalog/items/{sys_id}/order_now

https://docs.servicenow.com/bundle/washingtondc-api-reference/page/integrate/inbound-rest/concept/c_...

 

Cheers