PUT api/GeneralSettings/Edit/ById?id={id}&valueType={valueType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | SettingName |
Required |
|
| valueType | SettingValueType |
Required |
Body Parameters
GeneralSettingBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | SettingName |
Required |
|
| ValueType | SettingValueType |
Required |
|
| Value | string |
Required String length: inclusive between 0 and 512 |
Request Formats
application/json, text/json
Sample:
{
"Name": 1,
"ValueType": 1,
"Value": "sample string 1"
}
application/xml, text/xml
Sample:
<GeneralSettingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Name>Xendit</Name> <Value>sample string 1</Value> <ValueType>Secret_key</ValueType> </GeneralSettingBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.