POST UpdateGeneralSettings/{userid}/{sid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | integer |
Required |
|
| sid | integer |
Required |
Body Parameters
UpdateGeneralSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| AlertSettingMasterValueId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| PreferredViewEnabled | boolean |
None. |
|
| PreferedLowerWIndow | decimal number |
None. |
|
| PreferedHigherWindow | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"AlertSettingMasterValueId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"PreferredViewEnabled": true,
"PreferedLowerWIndow": 5.0,
"PreferedHigherWindow": 6.0
}
text/html
Sample:
{"AlertSettingMasterValueId":1,"Name":"sample string 2","Description":"sample string 3","PreferredViewEnabled":true,"PreferedLowerWIndow":5.0,"PreferedHigherWindow":6.0}
application/xml, text/xml
Sample:
<UpdateGeneralSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings"> <AlertSettingMasterValueId>1</AlertSettingMasterValueId> <Description>sample string 3</Description> <Name>sample string 2</Name> <PreferedHigherWindow>6</PreferedHigherWindow> <PreferedLowerWIndow>5</PreferedLowerWIndow> <PreferredViewEnabled>true</PreferredViewEnabled> </UpdateGeneralSettings>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Body | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Body": true
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":true}
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body>true</Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfboolean>