Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Update Setting

URL: http[s]:<host>:<port>/openspecimen/rest/ng/config-settings

Result: This will update the configuration setting as per request.

Note: Module name and property name to put in request json is available here.

 

Below are the attributes which need to be sent in the request body:

Parameter
Details
moduleName of the module of which property going to be update.
name

Name of the property which user wants to update

valueNew value of the setting.

 

Below is an example of get all settings.

URLhttp[s]:<host>:<port>/openspecimen/rest/ng/config-settings
MethodPUT
Requestapplication/json
Json
{
"module": "common",
"name": "locale",
"value": "en_IN"
}
Response
{
"module": "common",
"name": "locale",
"value": "en_IN",
"type": "STRING",
"allowedValues": [],
"displayNameCode": "common_locale",
"descCode": "common_locale_desc",
"activationDate": 1466070080881,
"secured": false
}
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com