Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

servicenow cart api

var cartId = GlideGuid.generate(null);
var cart = new Cart(cartId);
var item = cart.addItem('e46305bdc0a8010a00645e608031eb0f'); 
cart.setVariable(item,'os','Linux Red Hat');
var rc = cart.placeOrder(); 
gs.addInfoMessage(rc.number);
Source by docs.servicenow.com #
 
PREVIOUS NEXT
Tagged: #servicenow #cart #api
ADD COMMENT
Topic
Name
6+6 =