POST SetMDNarrativesConfig

Request Information

URI Parameters

None.

Body Parameters

MDNarrativesConfigSettings
NameDescriptionTypeAdditional information
SID

integer

None.

ChannelID

integer

None.

ChannelName

string

None.

SubRateVSavgCompsetRateThreshold

integer

None.

RankThreshold

integer

None.

AvgCompsetRateThreshold

integer

None.

CompsetRateThreshold

integer

None.

CompsetOpenOrClose

integer

None.

AribnbSupplyThreshold

integer

None.

MarketSupplyThreshold

integer

None.

IsBar

boolean

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SID": 1,
  "ChannelID": 1,
  "ChannelName": "sample string 2",
  "SubRateVSavgCompsetRateThreshold": 1,
  "RankThreshold": 1,
  "AvgCompsetRateThreshold": 1,
  "CompsetRateThreshold": 1,
  "CompsetOpenOrClose": 1,
  "AribnbSupplyThreshold": 1,
  "MarketSupplyThreshold": 1,
  "IsBar": true,
  "ModifiedDate": "2025-04-28T16:10:40.4715457+00:00",
  "ModifiedBy": 1,
  "IsActive": true
}

text/html

Sample:
{"SID":1,"ChannelID":1,"ChannelName":"sample string 2","SubRateVSavgCompsetRateThreshold":1,"RankThreshold":1,"AvgCompsetRateThreshold":1,"CompsetRateThreshold":1,"CompsetOpenOrClose":1,"AribnbSupplyThreshold":1,"MarketSupplyThreshold":1,"IsBar":true,"ModifiedDate":"2025-04-28T16:10:40.4715457+00:00","ModifiedBy":1,"IsActive":true}

application/xml, text/xml

Sample:
<MDNarrativesSettings.MDNarrativesConfigSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings">
  <AribnbSupplyThreshold>1</AribnbSupplyThreshold>
  <AvgCompsetRateThreshold>1</AvgCompsetRateThreshold>
  <ChannelID>1</ChannelID>
  <ChannelName>sample string 2</ChannelName>
  <CompsetOpenOrClose>1</CompsetOpenOrClose>
  <CompsetRateThreshold>1</CompsetRateThreshold>
  <IsActive>true</IsActive>
  <IsBar>true</IsBar>
  <MarketSupplyThreshold>1</MarketSupplyThreshold>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2025-04-28T16:10:40.4715457+00:00</ModifiedDate>
  <RankThreshold>1</RankThreshold>
  <SID>1</SID>
  <SubRateVSavgCompsetRateThreshold>1</SubRateVSavgCompsetRateThreshold>
</MDNarrativesSettings.MDNarrativesConfigSettings>

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 'MDNarrativesConfigSettings'.

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>