Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com
Get Settings By Module
URL: http[s]:<host>:<port>/openspecimen/rest/ng/config-settings?module=common
Result: This will return all the configuration settings of specified module name in request (ex: common)
Note: Available module name can be known from result of getting all settings.
Below is an example of get all settings.
URL | http[s]:<host>:<port>/openspecimen/rest/ng/config-settings?module=administrative |
Method | GET |
Request | application/json |
Response | [ { "module": "administrative", "name": "dp_expiry_rem_notif", "value": "30", "type": "INT", "allowedValues": [], "displayNameCode": "dp_expiry_rem_notif", "descCode": "dp_expiry_rem_notif_desc", "activationDate": 1460378961534, "secured": false }, { "module": "administrative", "name": "dp_expiry_rem_rept_inter", "value": "5", "type": "INT", "allowedValues": [], "displayNameCode": "dp_expiry_rem_rept_inter", "descCode": "dp_expiry_rem_rept_inter_desc", "activationDate": 1457365710000, "secured": false }, ... ] |
Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com