what are all the roles needed for the users to access the API Tables?

aswink
Tera Contributor

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.

5 REPLIES 5

dravvyramlochun
ServiceNow Employee
ServiceNow Employee

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

Manik
ServiceNow Employee
ServiceNow Employee

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.

Chandu Telu
Tera Guru
Tera Guru

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

manali harmalka
Kilo Guru

Hi ashwin,

A user with soap role has access to all the tables.

 

Kindly mark as correct or helpful if applicable.

Regards,

Manali H.