Want to add email id's in watchlist field through API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 08:38 PM
Hi,
We are using OOB sn_sc service catalog API to create service request. It is working fine.
Now we want to add watchlist through this API. When I tried to add email id's or sys_id's through API, nothing get added to the watchlist in servicenow service request.
Any suggestions for adding watchlist through API.?
Regards,
Dhanashree
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 10:44 PM
Hi Dhanu,
Can you share how you are testing? Are you testing with Postman tool?
How the request body looks like?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 10:52 PM
Hi Ankur,
Yes I am testing with postman and also from rest API explorer.
{"request_type":"create","requested_for":"sys_id of user","description":"test1","contact_type":"self-service","watch_list":"sys_id of user","sysparm_quantity":"1","sysparm_no_validation":"true"}
Regards,
Dhanashree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 11:35 PM
Hi Dhanu,
Is it updating other fields?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 11:49 PM
Yes, for other fields it is working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 11:55 PM
Hi,
any reference qualifier on that field?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader