Not able to access Table API URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 04:50 AM
Hi All,
We have tried to access the below API from local browser.
https://<instance>/api/now/table/em_alert
We have the mentioned privileges evt_mgmt_admin, evt_mgmt_user, evt_mgmt_operator, web_service_admin, rest_api_explorer,rest_service, soap and itil role. Still no luck and getting the below error. Kindly advise what else require to get the output.
Browser Output :
=============
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 05:35 AM
Hi Yokesh,
What do you want to do?
When I go to that URL and log in with an admin account, i get the same message with an overview (XML format) of all the alerts.
Do you have any records in the table em_alert?
Regards,
Michael
Michael
Please mark the suggestion as helpful/like, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided has resolved your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 06:22 AM
Yokesh,
Have you tried: https://<instancename>.service-now.com/api/global/em/jsonv2 as per the following doc:
https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/event-management/task/send-events-via-web-service.html#send-events-via-web-service
It has a sample json payload that you can test with Postman.
Regards,
Derek

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 06:42 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 06:44 AM
Yokesh,
APIs aren't generally meant to be used with a browser, if you are using one, you will be invoking the HTTP GET method on the API. It looks to me that the API is working fine and the issue you are having is the browser.
Viewing the page source in the browser might show you more detail, but you really want to be using something like Postman or SOAP UI.
What are you trying to achieve accessing the endpoint using a browser?
Richard