Migrate POST Scripted REST API to OOTB Table API for catalog item order

kanu28
Tera Contributor

I need to migrate ServiceNow Scripted APIs to ServiceNow OOTB Table APIs, i am using for a post call. 

POST /sn_sc/servicecatalog/items/{sys_id}/order_now

 

This API call needs to be migrated to OOTB Table API as mentioned in the below link
Service Catalog API | ServiceNow Developers

Please guide how can this be achieved in table API

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@kanu28 

so you were using Scripted REST API earlier to submit catalog items and now you want to use Service catalog API

already everything is mentioned in docs

where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar i was under the impression that the table API are in this format /now/table . But in the documentation it is similar to sn_sc which i am already using - {instance_name}/api/sn_sc/service_catalog_item/items/{item_sys_id}/custom_order_now  .
what should i interpret from this. 
how can these two be differentiated to understand scripted vs table API and what difference would it add while calling.