Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Get Service Now Catalog items via API

Amit Basak
Kilo Explorer

Hi Snow Experts,

I am really new in this community portal and I don't know the forum space I choose this is correct or not.

I have an requirement on Service Now API.

Requirement : In Service Now we have various Catalog items and under each catalog item we have few sub catalog items and after choosing them we can create REQ / request to service now.

I want to fetch this Catalog items via API. I have gone through few community portal links and able to fetch the Parent catalogs but not able to fetch sub or child catalogs.

API I used :  https://<our.domain.com>/api/sn_sc/servicecatalog/catalogs/e0d08b13c3330100c8b837659bba8fb4

Catalog Model : Create User (Parent / Master Catalog) ---> Under that Create User (sys1), Create User (sys2). Here I able to fetch Create User (Parent) but not sub items. I tried to pass sys_id but somehow approach not correct.

Can you please help me on this problem?

Thanks and Regards,

Amit Basak

2 REPLIES 2

Hitoshi Ozawa
Giga Sage

Hi Amit,

The api in the question is to list a catalogs, to list catalog items use the "List of Catalog Items" api.

https://<instance name>.service-now.com/api/sn_sc/servicecatalog/items

 

Hi Hitoshi,

Thanks for your reply, I tried your suggested solution but not getting the intended result. I didn't know I am doing this right way or not.

I have fetched all the parent Service Catalog and I want to pass each parent catalog sys_id and want to get sub category items.

Thanks and Regards,

Amit Basak