GET api/Setting?name={name}
Retrieves the setting value based on the provided key.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name |
The key of the setting to retrieve. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
An that represents the result of the operation. Returns a BadRequestResult if authentication fails or if the provided value is null or empty. Returns a NotFoundResult if the setting does not exist. Returns an OkNegotiatedContentResult containing the setting value if found.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.