Rest API to get the system properties and their values

poojasomani
Kilo Contributor

Hi,

I want to get values of system properties "com.glide.attachment.max_size" and "glide.attachment.extensions" through rest API. Let me know if there is any?

Also let me know if there is any way to fetch the values of above mentioned properties in nodejs.

Note. You can give me generic API to fetch the values of all system properties aqvailable in servicenow.

3 REPLIES 3

srinivasthelu
Tera Guru

Hi Pooja,



I would suggest you to buid your own API in ServiceNow. i.e processors. In the processor you can read the the property(gs.getProperty) and send the response.



Thanks


Srinivas


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Pooja,



You can query the table sys_properties.list for the same.


venkata_koya
ServiceNow Employee
ServiceNow Employee

Table API request to sys_properties table will work. like below


<instance>/api/now/table/sys_properties?sysparm_fields=value,name&name=com.glide.attachment.max_size