what are all the roles needed for the users to access the API Tables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2018 11:40 PM
what are all the roles needed for the users to access the API Table?
We are trying to get the Application type of assets through below url.
https://{our instance url}/api/now/table/cmdb_ci_appl?sysparm_limit=10&sysparm_fields=name, ip_address, sys_class_name, type, category, version, sys_updated_on, sys_created_on, sys_id&sysparm_offset=10
On click of this url, it will ask for credentials to return the xml response.
but there is no xml response returning after providing credentials.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2018 11:43 PM
Hello
you can use SOAP, rest_api_explorer and rest_service
For admin you can give them web_service_admin
Thanks,
Dravvy
Please Hit Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2018 11:46 PM
Hi Aswink,
There are no specific roles exposed by the platform which gives access to Platform Classes/API's so there won't be a possible way for you read/modify API tables. To get information about the API's exposed by the platform you can refer API section on ServiceNow developer site.
https://developer.servicenow.com/
Thanks,
Manik
PS- Please like, helpful and mark correct if it is helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2018 11:53 PM
Hi Aswink,
you should frame your link like this
/api/now/table/cmdb_ci_appl?sysparm_limit=10&sysparm_fields=name%2Cip_address
Thanks
Chandu Telu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2018 12:00 AM
Hi ashwin,
A user with soap role has access to all the tables.
Kindly mark as correct or helpful if applicable.
Regards,
Manali H.