REST Table API access to sys_choice

johnhughes1
Mega Contributor

Hello Community,   I have a request to provide a REST web service (read-only) into the sys_choice, using the Table API.  

Here pictured below is the sys_choice table with 'Allow access to this table via web services' checked.

find_real_file.png

and here is the Ugggh!, the sys_choice table cannot be selected. Is there a better/another way to accomplish this ask?   Many thanks to all those that reply. -

find_real_file.png

1 ACCEPTED SOLUTION

Using Hurl.it - Make HTTP requests



this is workign as an inbound REST call.


https://<your instance name>/api/now/table/sys_choice?sysparm_query=name%3Dalm_asset&sysparm_fields=name%2Celement%2Clabel&sysparm_limit=10


View solution in original post

3 REPLIES 3

Shishir Srivast
Mega Sage

There is nothing provided with the baseline configuration of the system. Something like this could be done with a scripted REST API where you have full control over the inputs, processing on the server, and response.


Using Hurl.it - Make HTTP requests



this is workign as an inbound REST call.


https://<your instance name>/api/now/table/sys_choice?sysparm_query=name%3Dalm_asset&sysparm_fields=name%2Celement%2Clabel&sysparm_limit=10