Update Configuration Value
put
/HSDataService-web/api/3.2.0/config
This endpoint lets you update the Configuration value. Make sure that the Configuration Key being updated already exists.
Request
Supported Media Types
- application/json
- application/xml
Body Parameter
Root Schema : ConfigurationEntry
Type:
object
- key
-
Type:
string
Required:true
Key entry for the configuration. The typical ones are api.dateformat for date format , api.pagination.limit for default pagination limit. - value
-
Type:
string
Required:true
The value for the configuration.
Response
Supported Media Types
- application/json
- application/xml
Default Response
successful operation
Examples
The following example submits a PUT request.
http://localhost:7001/HSDataService-web/api/3.2.0/config
Example of Request Body
The following example shows the contents of the response body in JSON format:
{ "key":"api.pagination.limit", "value" : "200" }