GET api/SiteAlerts_Notifications/GetAllSiteAlert?userID={userID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SiteAlertModel
NameDescriptionTypeAdditional information
ID

integer

None.

StartDate

date

None.

EndDate

date

None.

ActiveAlert

boolean

None.

AlertTitle

string

None.

AlertText

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

IsDelete

boolean

None.

UserID

integer

None.

CreatedByName

string

None.

ClientName

string

None.

ProjectName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "StartDate": "2026-06-30T14:18:53.9982434+01:00",
    "EndDate": "2026-06-30T14:18:53.9982434+01:00",
    "ActiveAlert": true,
    "AlertTitle": "sample string 5",
    "AlertText": "sample string 6",
    "CreatedDate": "2026-06-30T14:18:53.9982434+01:00",
    "UpdatedDate": "2026-06-30T14:18:53.9982434+01:00",
    "CreatedBy": 9,
    "UpdatedBy": 10,
    "IsDelete": true,
    "UserID": 12,
    "CreatedByName": "sample string 13",
    "ClientName": "sample string 14",
    "ProjectName": "sample string 15"
  },
  {
    "ID": 1,
    "StartDate": "2026-06-30T14:18:53.9982434+01:00",
    "EndDate": "2026-06-30T14:18:53.9982434+01:00",
    "ActiveAlert": true,
    "AlertTitle": "sample string 5",
    "AlertText": "sample string 6",
    "CreatedDate": "2026-06-30T14:18:53.9982434+01:00",
    "UpdatedDate": "2026-06-30T14:18:53.9982434+01:00",
    "CreatedBy": 9,
    "UpdatedBy": 10,
    "IsDelete": true,
    "UserID": 12,
    "CreatedByName": "sample string 13",
    "ClientName": "sample string 14",
    "ProjectName": "sample string 15"
  }
]

text/xml

Sample:
<ArrayOfSiteAlertModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <SiteAlertModel>
    <ActiveAlert>true</ActiveAlert>
    <AlertText>sample string 6</AlertText>
    <AlertTitle>sample string 5</AlertTitle>
    <ClientName>sample string 14</ClientName>
    <CreatedBy>9</CreatedBy>
    <CreatedByName>sample string 13</CreatedByName>
    <CreatedDate>2026-06-30T14:18:53.9982434+01:00</CreatedDate>
    <EndDate>2026-06-30T14:18:53.9982434+01:00</EndDate>
    <ID>1</ID>
    <IsDelete>true</IsDelete>
    <ProjectName>sample string 15</ProjectName>
    <StartDate>2026-06-30T14:18:53.9982434+01:00</StartDate>
    <UpdatedBy>10</UpdatedBy>
    <UpdatedDate>2026-06-30T14:18:53.9982434+01:00</UpdatedDate>
    <UserID>12</UserID>
  </SiteAlertModel>
  <SiteAlertModel>
    <ActiveAlert>true</ActiveAlert>
    <AlertText>sample string 6</AlertText>
    <AlertTitle>sample string 5</AlertTitle>
    <ClientName>sample string 14</ClientName>
    <CreatedBy>9</CreatedBy>
    <CreatedByName>sample string 13</CreatedByName>
    <CreatedDate>2026-06-30T14:18:53.9982434+01:00</CreatedDate>
    <EndDate>2026-06-30T14:18:53.9982434+01:00</EndDate>
    <ID>1</ID>
    <IsDelete>true</IsDelete>
    <ProjectName>sample string 15</ProjectName>
    <StartDate>2026-06-30T14:18:53.9982434+01:00</StartDate>
    <UpdatedBy>10</UpdatedBy>
    <UpdatedDate>2026-06-30T14:18:53.9982434+01:00</UpdatedDate>
    <UserID>12</UserID>
  </SiteAlertModel>
</ArrayOfSiteAlertModel>