- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2015 01:42 AM
Any documentation link which gives the list of tables present in service now, Can i also find this list dynammically from a API?
Solved! Go to Solution.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2015 04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2015 11:27 PM
I am currently checking the API, sys_db_object.do?SOAP - getRecords operation
with the admin user - which has the "admin" role.
Req:
<soapenv:Body>
<sys:getRecords>
<sys_created_by>admin</sys_created_by>
</sys:getRecords>
</soapenv:Body>
Response:
Table names and their information
Table names - asmt_metric_result, asmt_metric_category, all the custom tables created by admin.
I wanted this API to return the list of all the tables,
I think I am missing on the request, can you give me a valid request for which will return all the list of tables?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2015 12:30 AM
Use json to get all table names
https://yourinstancename.service-now.com/sys_db_object.do?JSONv2&sysparm_action=getRecords;
Regards,
Harish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2015 01:13 AM
Thanks Harish, this was helpful,
Any wiki link which gives more details about the same and different parameters which can be passed using json?
But Can we not do it in SOAP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2015 01:17 AM
Hi Rohit,
SOAP is very much possible
SOAP Web Service - ServiceNow Wiki
ANd this is the basic start for webservice in SN
Web Services - ServiceNow Wiki
Start from here and navigate through the connecting pages

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2015 01:45 AM
Hi Rohit,
Below is the link how to pass parameters using json.
http://wiki.servicenow.com/index.php?title=Legacy:JSON_Web_Service
Regards,
Harish Murikinati.