POST SetThresholdPreference

Request Information

URI Parameters

None.

Body Parameters

UpdateCompSetAndSettings
NameDescriptionTypeAdditional information
SID

integer

None.

ThresholdType

integer

None.

UpdatedById

integer

None.

UpdatedByName

string

None.

UpdatedOn

date

None.

PropertyID

integer

None.

CompsetID

integer

None.

Weightage

integer

None.

LowThreshold

integer

None.

HighThreshold

integer

None.

Operation

string

None.

PropertyName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

Country

string

None.

SelectedHMID

integer

None.

SelectedName

string

None.

ChangedIndex

string

None.

TempPropID

integer

None.

IsOptimaTrial

boolean

None.

DHISCOSupported

boolean

None.

MarketDroneEnabled

boolean

None.

IsSecondary

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SID": 1,
  "ThresholdType": 2,
  "UpdatedById": 1,
  "UpdatedByName": "sample string 3",
  "UpdatedOn": "2025-04-28T15:59:06.3787506+00:00",
  "PropertyID": 4,
  "CompsetID": 5,
  "Weightage": 6,
  "LowThreshold": 7,
  "HighThreshold": 8,
  "Operation": "sample string 9",
  "PropertyName": "sample string 10",
  "Address1": "sample string 11",
  "Address2": "sample string 12",
  "City": "sample string 13",
  "Country": "sample string 14",
  "SelectedHMID": 15,
  "SelectedName": "sample string 16",
  "ChangedIndex": "sample string 17",
  "TempPropID": 18,
  "IsOptimaTrial": true,
  "DHISCOSupported": true,
  "MarketDroneEnabled": true,
  "IsSecondary": true
}

text/html

Sample:
{"SID":1,"ThresholdType":2,"UpdatedById":1,"UpdatedByName":"sample string 3","UpdatedOn":"2025-04-28T15:59:06.3787506+00:00","PropertyID":4,"CompsetID":5,"Weightage":6,"LowThreshold":7,"HighThreshold":8,"Operation":"sample string 9","PropertyName":"sample string 10","Address1":"sample string 11","Address2":"sample string 12","City":"sample string 13","Country":"sample string 14","SelectedHMID":15,"SelectedName":"sample string 16","ChangedIndex":"sample string 17","TempPropID":18,"IsOptimaTrial":true,"DHISCOSupported":true,"MarketDroneEnabled":true,"IsSecondary":true}

application/xml, text/xml

Sample:
<UpdateCompSetAndSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings">
  <Address1>sample string 11</Address1>
  <Address2>sample string 12</Address2>
  <ChangedIndex>sample string 17</ChangedIndex>
  <City>sample string 13</City>
  <CompsetID>5</CompsetID>
  <Country>sample string 14</Country>
  <DHISCOSupported>true</DHISCOSupported>
  <HighThreshold>8</HighThreshold>
  <IsOptimaTrial>true</IsOptimaTrial>
  <IsSecondary>true</IsSecondary>
  <LowThreshold>7</LowThreshold>
  <MarketDroneEnabled>true</MarketDroneEnabled>
  <Operation>sample string 9</Operation>
  <PropertyID>4</PropertyID>
  <PropertyName>sample string 10</PropertyName>
  <SID>1</SID>
  <SelectedHMID>15</SelectedHMID>
  <SelectedName>sample string 16</SelectedName>
  <TempPropID>18</TempPropID>
  <ThresholdType>2</ThresholdType>
  <UpdatedById>1</UpdatedById>
  <UpdatedByName>sample string 3</UpdatedByName>
  <UpdatedOn>2025-04-28T15:59:06.3787506+00:00</UpdatedOn>
  <Weightage>6</Weightage>
</UpdateCompSetAndSettings>

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

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>