rest api for fetching cat_item images
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2016 12:28 AM
I am trying to get images of the item using the rest api /api/sn_sc/servicecatalog/items?sysparm_text=laptop
the image field is missing in the response.
when I try the rest api api/sn_sc/servicecatalog/items/8b6abec14f86c68085b73485f110c7fa it does not give the field.
even I tried on api/now/table/sc_cat_item/8b6abec14f86c68085b73485f110c7fa
the field is present here but comes blank..
but when I try on the UI I see an image...
what api will help fetch me the image?
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2016 12:29 AM
ok. got it.
this is the api... it returns icon and picture both... thanks a lot Geoffrey.
/api/now/attachment?sysparm_query=table_sys_id=8b6abec14f86c68085b73485f110c7fa