POST SaveMDNotification

Request Information

URI Parameters

None.

Body Parameters

MDSubDetails
NameDescriptionTypeAdditional information
SID

integer

None.

SubscriberName

string

None.

ChannelID

integer

None.

ChannelName

string

None.

RateType

string

None.

CheckInDate

date

None.

DateofNotification

date

None.

Headlines

string

None.

PrevRates

decimal number

None.

LatestRate

decimal number

None.

PrevStatus

string

None.

LatestStatus

string

None.

Compset

Collection of MDCompDetails

None.

AlertMessage

MDAlertMessage

None.

CreateOn

date

None.

ReportId

integer

None.

LatestShopDatetime

date

None.

PreviousShopDatetime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SID": 1,
  "SubscriberName": "sample string 2",
  "ChannelID": 3,
  "ChannelName": "sample string 4",
  "RateType": "sample string 5",
  "CheckInDate": "2025-04-28T16:02:31.5094854+00:00",
  "DateofNotification": "2025-04-28T16:02:31.5094854+00:00",
  "Headlines": "sample string 8",
  "PrevRates": 9.1,
  "LatestRate": 10.1,
  "PrevStatus": "sample string 11",
  "LatestStatus": "sample string 12",
  "Compset": [
    {
      "PropertyId": 1,
      "PropertyName": "sample string 2",
      "PrevRates": 3.1,
      "LatestRate": 4.1,
      "PrevStatus": "sample string 5",
      "LatestStatus": "sample string 6"
    },
    {
      "PropertyId": 1,
      "PropertyName": "sample string 2",
      "PrevRates": 3.1,
      "LatestRate": 4.1,
      "PrevStatus": "sample string 5",
      "LatestStatus": "sample string 6"
    }
  ],
  "AlertMessage": {
    "TotalProperty": 1,
    "ChangeProperty": 2,
    "ChangeValueinPercentage": 3,
    "ChangeType": "sample string 4",
    "PropertyName": "sample string 5"
  },
  "CreateOn": "2025-04-28T16:02:31.514989+00:00",
  "ReportId": 14,
  "LatestShopDatetime": "2025-04-28T16:02:31.514989+00:00",
  "PreviousShopDatetime": "2025-04-28T16:02:31.514989+00:00"
}

text/html

Sample:
{"SID":1,"SubscriberName":"sample string 2","ChannelID":3,"ChannelName":"sample string 4","RateType":"sample string 5","CheckInDate":"2025-04-28T16:02:31.5094854+00:00","DateofNotification":"2025-04-28T16:02:31.5094854+00:00","Headlines":"sample string 8","PrevRates":9.1,"LatestRate":10.1,"PrevStatus":"sample string 11","LatestStatus":"sample string 12","Compset":[{"PropertyId":1,"PropertyName":"sample string 2","PrevRates":3.1,"LatestRate":4.1,"PrevStatus":"sample string 5","LatestStatus":"sample string 6"},{"PropertyId":1,"PropertyName":"sample string 2","PrevRates":3.1,"LatestRate":4.1,"PrevStatus":"sample string 5","LatestStatus":"sample string 6"}],"AlertMessage":{"TotalProperty":1,"ChangeProperty":2,"ChangeValueinPercentage":3,"ChangeType":"sample string 4","PropertyName":"sample string 5"},"CreateOn":"2025-04-28T16:02:31.514989+00:00","ReportId":14,"LatestShopDatetime":"2025-04-28T16:02:31.514989+00:00","PreviousShopDatetime":"2025-04-28T16:02:31.514989+00:00"}

application/xml, text/xml

Sample:
<MDSubDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Utility.DL.BO">
  <AlertMessage>
    <ChangeProperty>2</ChangeProperty>
    <ChangeType>sample string 4</ChangeType>
    <ChangeValueinPercentage>3</ChangeValueinPercentage>
    <PropertyName>sample string 5</PropertyName>
    <TotalProperty>1</TotalProperty>
  </AlertMessage>
  <ChannelID>3</ChannelID>
  <ChannelName>sample string 4</ChannelName>
  <CheckInDate>2025-04-28T16:02:31.5094854+00:00</CheckInDate>
  <Compset>
    <MDCompDetails>
      <LatestRate>4.1</LatestRate>
      <LatestStatus>sample string 6</LatestStatus>
      <PrevRates>3.1</PrevRates>
      <PrevStatus>sample string 5</PrevStatus>
      <PropertyId>1</PropertyId>
      <PropertyName>sample string 2</PropertyName>
    </MDCompDetails>
    <MDCompDetails>
      <LatestRate>4.1</LatestRate>
      <LatestStatus>sample string 6</LatestStatus>
      <PrevRates>3.1</PrevRates>
      <PrevStatus>sample string 5</PrevStatus>
      <PropertyId>1</PropertyId>
      <PropertyName>sample string 2</PropertyName>
    </MDCompDetails>
  </Compset>
  <CreateOn>2025-04-28T16:02:31.514989+00:00</CreateOn>
  <DateofNotification>2025-04-28T16:02:31.5094854+00:00</DateofNotification>
  <Headlines>sample string 8</Headlines>
  <LatestRate>10.1</LatestRate>
  <LatestShopDatetime>2025-04-28T16:02:31.514989+00:00</LatestShopDatetime>
  <LatestStatus>sample string 12</LatestStatus>
  <PrevRates>9.1</PrevRates>
  <PrevStatus>sample string 11</PrevStatus>
  <PreviousShopDatetime>2025-04-28T16:02:31.514989+00:00</PreviousShopDatetime>
  <RateType>sample string 5</RateType>
  <ReportId>14</ReportId>
  <SID>1</SID>
  <SubscriberName>sample string 2</SubscriberName>
</MDSubDetails>

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

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>