GET api/admin/users/{userId}/alerts/{userAlertId}

This method will retrieve a single user alert by id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userAlertId

User alert id

integer

Required

userId

string

None.

Body Parameters

None.

Response Information

Resource Description

Instance of

UserAlertPo
NameDescriptionTypeAdditional information
AlertType

string

None.

PriorityLevel

string

None.

OriginatorUserName

string

None.

OriginatorFirstName

string

None.

OriginatorLastName

string

None.

OriginatorEmail

string

None.

Id

integer

None.

Content

string

None.

Deadline

date

None.

AddedDate

date

None.

ResolvedDate

date

None.

UserId

integer

None.

AlertTypeId

integer

None.

PriorityId

integer

None.

OriginatorUserId

integer

None.

User

AspNetUser

None.

AlertType

AlertType

None.

Priority

Priority

None.

OriginatorUser

AspNetUser

None.

Response Formats

application/json, text/json

Sample:
{
  "alertType": "sample string 1",
  "priorityLevel": "sample string 2",
  "originatorUserName": "sample string 3",
  "originatorFirstName": "sample string 4",
  "originatorLastName": "sample string 5",
  "originatorEmail": "sample string 6",
  "id": 7,
  "content": "sample string 8",
  "deadline": "2025-05-20T14:31:21.7087084-05:00",
  "addedDate": "2025-05-20T14:31:21.7087084-05:00",
  "resolvedDate": "2025-05-20T14:31:21.7087084-05:00",
  "userId": 11,
  "alertTypeId": 12,
  "priorityId": 13,
  "originatorUserId": 1,
  "user": {
    "id": 1,
    "accessFailedCount": 2,
    "email": "sample string 3",
    "emailConfirmed": true,
    "lockoutEnabled": true,
    "lockoutEndDateUtc": "2025-05-20T14:31:21.7108011-05:00",
    "passwordHash": "sample string 6",
    "phoneNumberConfirmed": true,
    "securityStamp": "sample string 8",
    "twoFactorEnabled": true,
    "userName": "sample string 10",
    "joinDate": "2025-05-20T14:31:21.7108011-05:00",
    "firstName": "sample string 12",
    "lastName": "sample string 13",
    "isSystemUser": true,
    "accountVerified": true,
    "acceptedTermsAndConditionsDate": "2025-05-20T14:31:21.7108011-05:00",
    "phoneNumber": "sample string 15",
    "roles": [],
    "claims": [],
    "logins": []
  },
  "priority": {
    "id": 1,
    "level": "sample string 2"
  },
  "originatorUser": {
    "id": 1,
    "accessFailedCount": 2,
    "email": "sample string 3",
    "emailConfirmed": true,
    "lockoutEnabled": true,
    "lockoutEndDateUtc": "2025-05-20T14:31:21.7108011-05:00",
    "passwordHash": "sample string 6",
    "phoneNumberConfirmed": true,
    "securityStamp": "sample string 8",
    "twoFactorEnabled": true,
    "userName": "sample string 10",
    "joinDate": "2025-05-20T14:31:21.7108011-05:00",
    "firstName": "sample string 12",
    "lastName": "sample string 13",
    "isSystemUser": true,
    "accountVerified": true,
    "acceptedTermsAndConditionsDate": "2025-05-20T14:31:21.7108011-05:00",
    "phoneNumber": "sample string 15",
    "roles": [],
    "claims": [],
    "logins": []
  }
}

text/html

Sample:
{"alertType":"sample string 1","priorityLevel":"sample string 2","originatorUserName":"sample string 3","originatorFirstName":"sample string 4","originatorLastName":"sample string 5","originatorEmail":"sample string 6","id":7,"content":"sample string 8","deadline":"2025-05-20T14:31:21.7087084-05:00","addedDate":"2025-05-20T14:31:21.7087084-05:00","resolvedDate":"2025-05-20T14:31:21.7087084-05:00","userId":11,"alertTypeId":12,"priorityId":13,"originatorUserId":1,"user":{"id":1,"accessFailedCount":2,"email":"sample string 3","emailConfirmed":true,"lockoutEnabled":true,"lockoutEndDateUtc":"2025-05-20T14:31:21.7108011-05:00","passwordHash":"sample string 6","phoneNumberConfirmed":true,"securityStamp":"sample string 8","twoFactorEnabled":true,"userName":"sample string 10","joinDate":"2025-05-20T14:31:21.7108011-05:00","firstName":"sample string 12","lastName":"sample string 13","isSystemUser":true,"accountVerified":true,"acceptedTermsAndConditionsDate":"2025-05-20T14:31:21.7108011-05:00","phoneNumber":"sample string 15","roles":[],"claims":[],"logins":[]},"priority":{"id":1,"level":"sample string 2"},"originatorUser":{"id":1,"accessFailedCount":2,"email":"sample string 3","emailConfirmed":true,"lockoutEnabled":true,"lockoutEndDateUtc":"2025-05-20T14:31:21.7108011-05:00","passwordHash":"sample string 6","phoneNumberConfirmed":true,"securityStamp":"sample string 8","twoFactorEnabled":true,"userName":"sample string 10","joinDate":"2025-05-20T14:31:21.7108011-05:00","firstName":"sample string 12","lastName":"sample string 13","isSystemUser":true,"accountVerified":true,"acceptedTermsAndConditionsDate":"2025-05-20T14:31:21.7108011-05:00","phoneNumber":"sample string 15","roles":[],"claims":[],"logins":[]}}

application/xml, text/xml

Sample:
<UserAlertPo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">7</Id>
  <AddedDate xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">2025-05-20T14:31:21.7087084-05:00</AddedDate>
  <AlertType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.ValueTypes" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">
    <Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">1</Id>
    <d2p1:Description>sample string 3</d2p1:Description>
    <d2p1:Type>sample string 2</d2p1:Type>
  </AlertType>
  <AlertTypeId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">12</AlertTypeId>
  <Content xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">sample string 8</Content>
  <Deadline xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">2025-05-20T14:31:21.7087084-05:00</Deadline>
  <OriginatorUser xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.AuthEntities" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">
    <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2</AccessFailedCount>
    <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 3</Email>
    <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">1</Id>
    <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
    <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2025-05-20T14:31:21.7108011-05:00</LockoutEndDateUtc>
    <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 6</PasswordHash>
    <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 15</PhoneNumber>
    <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
    <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 8</SecurityStamp>
    <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 10</UserName>
    <d2p1:AcceptedTermsAndConditionsDate>2025-05-20T14:31:21.7108011-05:00</d2p1:AcceptedTermsAndConditionsDate>
    <d2p1:AccountVerified>true</d2p1:AccountVerified>
    <d2p1:FirstName>sample string 12</d2p1:FirstName>
    <d2p1:IsSystemUser>true</d2p1:IsSystemUser>
    <d2p1:JoinDate>2025-05-20T14:31:21.7108011-05:00</d2p1:JoinDate>
    <d2p1:LastName>sample string 13</d2p1:LastName>
  </OriginatorUser>
  <OriginatorUserId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">1</OriginatorUserId>
  <Priority xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.ValueTypes" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">
    <Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">1</Id>
    <d2p1:Level>sample string 2</d2p1:Level>
  </Priority>
  <PriorityId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">13</PriorityId>
  <ResolvedDate xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">2025-05-20T14:31:21.7087084-05:00</ResolvedDate>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.AuthEntities" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">
    <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2</AccessFailedCount>
    <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 3</Email>
    <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">1</Id>
    <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
    <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2025-05-20T14:31:21.7108011-05:00</LockoutEndDateUtc>
    <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 6</PasswordHash>
    <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 15</PhoneNumber>
    <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
    <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 8</SecurityStamp>
    <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 10</UserName>
    <d2p1:AcceptedTermsAndConditionsDate>2025-05-20T14:31:21.7108011-05:00</d2p1:AcceptedTermsAndConditionsDate>
    <d2p1:AccountVerified>true</d2p1:AccountVerified>
    <d2p1:FirstName>sample string 12</d2p1:FirstName>
    <d2p1:IsSystemUser>true</d2p1:IsSystemUser>
    <d2p1:JoinDate>2025-05-20T14:31:21.7108011-05:00</d2p1:JoinDate>
    <d2p1:LastName>sample string 13</d2p1:LastName>
  </User>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">11</UserId>
  <AlertType>sample string 1</AlertType>
  <OriginatorEmail>sample string 6</OriginatorEmail>
  <OriginatorFirstName>sample string 4</OriginatorFirstName>
  <OriginatorLastName>sample string 5</OriginatorLastName>
  <OriginatorUserName>sample string 3</OriginatorUserName>
  <PriorityLevel>sample string 2</PriorityLevel>
</UserAlertPo>