GET api/UserNotification?UserID={UserID}&IsActive={IsActive}&SearchText={SearchText}&PageNumber={PageNumber}&PageSize={PageSize}&UsePaging={UsePaging}

Get user Notification

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserID

integer

Required

IsActive

integer

None.

SearchText

string

None.

PageNumber

integer

None.

PageSize

integer

None.

UsePaging

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MessagesListDataModel
NameDescriptionTypeAdditional information
NotificationId

integer

None.

ReceiptByUserId

integer

None.

SenderUserId

integer

None.

NotificationType

integer

None.

NotificationTypeText

string

None.

NotificationDate

date

None.

NotificationFrom

string

None.

Subject

string

None.

ShortDescription

string

None.

Description

string

None.

IsRead

boolean

None.

ObjectId

integer

None.

ObjectType

integer

None.

ObjectTypeText

string

None.

UserCode

string

None.

UserName

string

None.

UserReceipentName

string

None.

SenderUserCode

string

None.

SenderUserName

string

None.

UserSenderName

string

None.

IsUrgent

integer

None.

IsUrgentText

string

None.

CompanyID

integer

None.

IsActive

integer

None.

IsDeleted

integer

None.

AddedBy

integer

None.

AddedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

NUMBER

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
[
  {
    "notificationId": 1,
    "receiptByUserId": 1,
    "senderUserId": 1,
    "notificationType": 1,
    "notificationTypeText": "sample string 2",
    "notificationDate": "2025-07-17T04:17:46.6921826+00:00",
    "notificationFrom": "sample string 3",
    "subject": "sample string 4",
    "shortDescription": "sample string 5",
    "description": "sample string 6",
    "isRead": true,
    "objectId": 1,
    "objectType": 8,
    "objectTypeText": "sample string 9",
    "userCode": "sample string 10",
    "userName": "sample string 11",
    "userReceipentName": "sample string 12",
    "senderUserCode": "sample string 13",
    "senderUserName": "sample string 14",
    "userSenderName": "sample string 15",
    "isUrgent": 16,
    "isUrgentText": "sample string 17",
    "companyID": 1,
    "isActive": 18,
    "isDeleted": 19,
    "addedBy": 20,
    "addedDate": "2025-07-17T04:17:46.6921826+00:00",
    "modifiedBy": 21,
    "modifiedDate": "2025-07-17T04:17:46.6921826+00:00",
    "number": 22,
    "totalRecord": 23
  },
  {
    "notificationId": 1,
    "receiptByUserId": 1,
    "senderUserId": 1,
    "notificationType": 1,
    "notificationTypeText": "sample string 2",
    "notificationDate": "2025-07-17T04:17:46.6921826+00:00",
    "notificationFrom": "sample string 3",
    "subject": "sample string 4",
    "shortDescription": "sample string 5",
    "description": "sample string 6",
    "isRead": true,
    "objectId": 1,
    "objectType": 8,
    "objectTypeText": "sample string 9",
    "userCode": "sample string 10",
    "userName": "sample string 11",
    "userReceipentName": "sample string 12",
    "senderUserCode": "sample string 13",
    "senderUserName": "sample string 14",
    "userSenderName": "sample string 15",
    "isUrgent": 16,
    "isUrgentText": "sample string 17",
    "companyID": 1,
    "isActive": 18,
    "isDeleted": 19,
    "addedBy": 20,
    "addedDate": "2025-07-17T04:17:46.6921826+00:00",
    "modifiedBy": 21,
    "modifiedDate": "2025-07-17T04:17:46.6921826+00:00",
    "number": 22,
    "totalRecord": 23
  }
]

application/xml, text/xml

Sample:
<ArrayOfMessagesListDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel">
  <MessagesListDataModel>
    <AddedBy>20</AddedBy>
    <AddedDate>2025-07-17T04:17:46.6921826+00:00</AddedDate>
    <CompanyID>1</CompanyID>
    <Description>sample string 6</Description>
    <IsActive>18</IsActive>
    <IsDeleted>19</IsDeleted>
    <IsRead>true</IsRead>
    <IsUrgent>16</IsUrgent>
    <IsUrgentText>sample string 17</IsUrgentText>
    <ModifiedBy>21</ModifiedBy>
    <ModifiedDate>2025-07-17T04:17:46.6921826+00:00</ModifiedDate>
    <NUMBER>22</NUMBER>
    <NotificationDate>2025-07-17T04:17:46.6921826+00:00</NotificationDate>
    <NotificationFrom>sample string 3</NotificationFrom>
    <NotificationId>1</NotificationId>
    <NotificationType>1</NotificationType>
    <NotificationTypeText>sample string 2</NotificationTypeText>
    <ObjectId>1</ObjectId>
    <ObjectType>8</ObjectType>
    <ObjectTypeText>sample string 9</ObjectTypeText>
    <ReceiptByUserId>1</ReceiptByUserId>
    <SenderUserCode>sample string 13</SenderUserCode>
    <SenderUserId>1</SenderUserId>
    <SenderUserName>sample string 14</SenderUserName>
    <ShortDescription>sample string 5</ShortDescription>
    <Subject>sample string 4</Subject>
    <TotalRecord>23</TotalRecord>
    <UserCode>sample string 10</UserCode>
    <UserName>sample string 11</UserName>
    <UserReceipentName>sample string 12</UserReceipentName>
    <UserSenderName>sample string 15</UserSenderName>
  </MessagesListDataModel>
  <MessagesListDataModel>
    <AddedBy>20</AddedBy>
    <AddedDate>2025-07-17T04:17:46.6921826+00:00</AddedDate>
    <CompanyID>1</CompanyID>
    <Description>sample string 6</Description>
    <IsActive>18</IsActive>
    <IsDeleted>19</IsDeleted>
    <IsRead>true</IsRead>
    <IsUrgent>16</IsUrgent>
    <IsUrgentText>sample string 17</IsUrgentText>
    <ModifiedBy>21</ModifiedBy>
    <ModifiedDate>2025-07-17T04:17:46.6921826+00:00</ModifiedDate>
    <NUMBER>22</NUMBER>
    <NotificationDate>2025-07-17T04:17:46.6921826+00:00</NotificationDate>
    <NotificationFrom>sample string 3</NotificationFrom>
    <NotificationId>1</NotificationId>
    <NotificationType>1</NotificationType>
    <NotificationTypeText>sample string 2</NotificationTypeText>
    <ObjectId>1</ObjectId>
    <ObjectType>8</ObjectType>
    <ObjectTypeText>sample string 9</ObjectTypeText>
    <ReceiptByUserId>1</ReceiptByUserId>
    <SenderUserCode>sample string 13</SenderUserCode>
    <SenderUserId>1</SenderUserId>
    <SenderUserName>sample string 14</SenderUserName>
    <ShortDescription>sample string 5</ShortDescription>
    <Subject>sample string 4</Subject>
    <TotalRecord>23</TotalRecord>
    <UserCode>sample string 10</UserCode>
    <UserName>sample string 11</UserName>
    <UserReceipentName>sample string 12</UserReceipentName>
    <UserSenderName>sample string 15</UserSenderName>
  </MessagesListDataModel>
</ArrayOfMessagesListDataModel>

multipart/form-data

Sample:
<ArrayOfMessagesListDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><MessagesListDataModel><AddedBy>20</AddedBy><AddedDate>2025-07-17T04:17:46.6921826+00:00</AddedDate><CompanyID>1</CompanyID><Description>sample string 6</Description><IsActive>18</IsActive><IsDeleted>19</IsDeleted><IsRead>true</IsRead><IsUrgent>16</IsUrgent><IsUrgentText>sample string 17</IsUrgentText><ModifiedBy>21</ModifiedBy><ModifiedDate>2025-07-17T04:17:46.6921826+00:00</ModifiedDate><NUMBER>22</NUMBER><NotificationDate>2025-07-17T04:17:46.6921826+00:00</NotificationDate><NotificationFrom>sample string 3</NotificationFrom><NotificationId>1</NotificationId><NotificationType>1</NotificationType><NotificationTypeText>sample string 2</NotificationTypeText><ObjectId>1</ObjectId><ObjectType>8</ObjectType><ObjectTypeText>sample string 9</ObjectTypeText><ReceiptByUserId>1</ReceiptByUserId><SenderUserCode>sample string 13</SenderUserCode><SenderUserId>1</SenderUserId><SenderUserName>sample string 14</SenderUserName><ShortDescription>sample string 5</ShortDescription><Subject>sample string 4</Subject><TotalRecord>23</TotalRecord><UserCode>sample string 10</UserCode><UserName>sample string 11</UserName><UserReceipentName>sample string 12</UserReceipentName><UserSenderName>sample string 15</UserSenderName></MessagesListDataModel><MessagesListDataModel><AddedBy>20</AddedBy><AddedDate>2025-07-17T04:17:46.6921826+00:00</AddedDate><CompanyID>1</CompanyID><Description>sample string 6</Description><IsActive>18</IsActive><IsDeleted>19</IsDeleted><IsRead>true</IsRead><IsUrgent>16</IsUrgent><IsUrgentText>sample string 17</IsUrgentText><ModifiedBy>21</ModifiedBy><ModifiedDate>2025-07-17T04:17:46.6921826+00:00</ModifiedDate><NUMBER>22</NUMBER><NotificationDate>2025-07-17T04:17:46.6921826+00:00</NotificationDate><NotificationFrom>sample string 3</NotificationFrom><NotificationId>1</NotificationId><NotificationType>1</NotificationType><NotificationTypeText>sample string 2</NotificationTypeText><ObjectId>1</ObjectId><ObjectType>8</ObjectType><ObjectTypeText>sample string 9</ObjectTypeText><ReceiptByUserId>1</ReceiptByUserId><SenderUserCode>sample string 13</SenderUserCode><SenderUserId>1</SenderUserId><SenderUserName>sample string 14</SenderUserName><ShortDescription>sample string 5</ShortDescription><Subject>sample string 4</Subject><TotalRecord>23</TotalRecord><UserCode>sample string 10</UserCode><UserName>sample string 11</UserName><UserReceipentName>sample string 12</UserReceipentName><UserSenderName>sample string 15</UserSenderName></MessagesListDataModel></ArrayOfMessagesListDataModel>