POST UpdateGeneralSettings/{userid}/{sid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

integer

Required

sid

integer

Required

Body Parameters

UpdateGeneralSettings
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateGeneralSettings'.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional 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>