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