POST api/update-settings
Request Information
URI Parameters
None.
Body Parameters
SettingsModelName | Description | Type | Additional information |
---|---|---|---|
SettingId | integer |
None. |
|
SettingName | string |
None. |
|
SettingValue | string |
None. |
|
NewValue | string |
None. |
|
Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SettingId": 1, "SettingName": "sample string 1", "SettingValue": "sample string 2", "NewValue": "sample string 3", "Description": "sample string 4" }
application/xml, text/xml
Sample:
<SettingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.AdminModels"> <Description>sample string 4</Description> <NewValue>sample string 3</NewValue> <SettingId>1</SettingId> <SettingName>sample string 1</SettingName> <SettingValue>sample string 2</SettingValue> </SettingsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |