GET Alerts/GetNotificationForUser?UID={UID}&HID={HID}&count={count}&SID={SID}&IsMarketdrone={IsMarketdrone}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UID

integer

Required

HID

integer

Required

count

integer

Required

SID

integer

Required

IsMarketdrone

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

ResponseOfUserNotification
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

UserNotification

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": {
    "Notifications": [
      {
        "WebAlertUserID": 1,
        "UserID": 1,
        "HotelMasterID": 2,
        "AlertTypeID": 1,
        "AlertCode": "sample string 3",
        "isRead": true,
        "Message": "sample string 4",
        "CreatedOn": "2025-04-28T16:24:02.9629397+00:00",
        "AlertDays": "sample string 5",
        "AlertSettingMasterID": 6,
        "ShoppedDateTime": "2025-04-28T16:24:02.9629397+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:24:02.9629397+00:00",
        "AlertDays": "sample string 5",
        "AlertSettingMasterID": 6,
        "ShoppedDateTime": "2025-04-28T16:24:02.9629397+00:00",
        "isReplace": true
      }
    ],
    "TotalNotifications": 1,
    "UnreadTotal": 2
  }
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":{"Notifications":[{"WebAlertUserID":1,"UserID":1,"HotelMasterID":2,"AlertTypeID":1,"AlertCode":"sample string 3","isRead":true,"Message":"sample string 4","CreatedOn":"2025-04-28T16:24:02.9629397+00:00","AlertDays":"sample string 5","AlertSettingMasterID":6,"ShoppedDateTime":"2025-04-28T16:24:02.9629397+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:24:02.9629397+00:00","AlertDays":"sample string 5","AlertSettingMasterID":6,"ShoppedDateTime":"2025-04-28T16:24:02.9629397+00:00","isReplace":true}],"TotalNotifications":1,"UnreadTotal":2}}

application/xml, text/xml

Sample:
<ResponseOfUserNotification7Mi1OgLN 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:Notifications>
      <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:24:02.9629397+00:00</d2p1:CreatedOn>
        <d2p1:HotelMasterID>2</d2p1:HotelMasterID>
        <d2p1:Message>sample string 4</d2p1:Message>
        <d2p1:ShoppedDateTime>2025-04-28T16:24:02.9629397+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:24:02.9629397+00:00</d2p1:CreatedOn>
        <d2p1:HotelMasterID>2</d2p1:HotelMasterID>
        <d2p1:Message>sample string 4</d2p1:Message>
        <d2p1:ShoppedDateTime>2025-04-28T16:24:02.9629397+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:Notifications>
    <d2p1:TotalNotifications>1</d2p1:TotalNotifications>
    <d2p1:UnreadTotal>2</d2p1:UnreadTotal>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfUserNotification7Mi1OgLN>