GET Alerts/GetPreviousAlertsSortByDate?UID={UID}&HID={HID}&LID={LID}&count={count}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UID

integer

Required

HID

integer

Required

LID

integer

Required

count

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfWebAlertNotification
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

Collection of WebAlertNotification

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": [
    {
      "WebAlertUserID": 1,
      "UserID": 1,
      "HotelMasterID": 2,
      "AlertTypeID": 1,
      "AlertCode": "sample string 3",
      "isRead": true,
      "Message": "sample string 4",
      "CreatedOn": "2025-04-28T16:20:56.3560221+00:00",
      "AlertDays": "sample string 5",
      "AlertSettingMasterID": 6,
      "ShoppedDateTime": "2025-04-28T16:20:56.3560221+00:00",
      "isReplace": true
    },
    {
      "WebAlertUserID": 1,
      "UserID": 1,
      "HotelMasterID": 2,
      "AlertTypeID": 1,
      "AlertCode": "sample string 3",
      "isRead": true,
      "Message": "sample string 4",
      "CreatedOn": "2025-04-28T16:20:56.3560221+00:00",
      "AlertDays": "sample string 5",
      "AlertSettingMasterID": 6,
      "ShoppedDateTime": "2025-04-28T16:20:56.3560221+00:00",
      "isReplace": true
    }
  ]
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":[{"WebAlertUserID":1,"UserID":1,"HotelMasterID":2,"AlertTypeID":1,"AlertCode":"sample string 3","isRead":true,"Message":"sample string 4","CreatedOn":"2025-04-28T16:20:56.3560221+00:00","AlertDays":"sample string 5","AlertSettingMasterID":6,"ShoppedDateTime":"2025-04-28T16:20:56.3560221+00:00","isReplace":true},{"WebAlertUserID":1,"UserID":1,"HotelMasterID":2,"AlertTypeID":1,"AlertCode":"sample string 3","isRead":true,"Message":"sample string 4","CreatedOn":"2025-04-28T16:20:56.3560221+00:00","AlertDays":"sample string 5","AlertSettingMasterID":6,"ShoppedDateTime":"2025-04-28T16:20:56.3560221+00:00","isReplace":true}]}

application/xml, text/xml

Sample:
<ResponseOfArrayOfWebAlertNotification7Mi1OgLN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Alerts">
    <d2p1:WebAlertNotification>
      <d2p1:AlertCode>sample string 3</d2p1:AlertCode>
      <d2p1:AlertDays>sample string 5</d2p1:AlertDays>
      <d2p1:AlertSettingMasterID>6</d2p1:AlertSettingMasterID>
      <d2p1:AlertTypeID>1</d2p1:AlertTypeID>
      <d2p1:CreatedOn>2025-04-28T16:20:56.3560221+00:00</d2p1:CreatedOn>
      <d2p1:HotelMasterID>2</d2p1:HotelMasterID>
      <d2p1:Message>sample string 4</d2p1:Message>
      <d2p1:ShoppedDateTime>2025-04-28T16:20:56.3560221+00:00</d2p1:ShoppedDateTime>
      <d2p1:UserID>1</d2p1:UserID>
      <d2p1:WebAlertUserID>1</d2p1:WebAlertUserID>
      <d2p1:isRead>true</d2p1:isRead>
      <d2p1:isReplace>true</d2p1:isReplace>
    </d2p1:WebAlertNotification>
    <d2p1:WebAlertNotification>
      <d2p1:AlertCode>sample string 3</d2p1:AlertCode>
      <d2p1:AlertDays>sample string 5</d2p1:AlertDays>
      <d2p1:AlertSettingMasterID>6</d2p1:AlertSettingMasterID>
      <d2p1:AlertTypeID>1</d2p1:AlertTypeID>
      <d2p1:CreatedOn>2025-04-28T16:20:56.3560221+00:00</d2p1:CreatedOn>
      <d2p1:HotelMasterID>2</d2p1:HotelMasterID>
      <d2p1:Message>sample string 4</d2p1:Message>
      <d2p1:ShoppedDateTime>2025-04-28T16:20:56.3560221+00:00</d2p1:ShoppedDateTime>
      <d2p1:UserID>1</d2p1:UserID>
      <d2p1:WebAlertUserID>1</d2p1:WebAlertUserID>
      <d2p1:isRead>true</d2p1:isRead>
      <d2p1:isReplace>true</d2p1:isReplace>
    </d2p1:WebAlertNotification>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfArrayOfWebAlertNotification7Mi1OgLN>