GET api/Notifications?dummy={dummy}&employeeId={employeeId}
Return all notifications
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dummy | boolean |
Default value is True |
|
| employeeId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
List of Notification
ServiceResultTypedOfListOfNotification| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | Collection of Notification |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": [
{
"NotificationId": 1,
"EventId": 2,
"UserId": 3,
"ClaimId": 4,
"IsRead": true,
"IsActive": true,
"Message": "sample string 7",
"URL": "sample string 8",
"FormatMessage": "sample string 9",
"FormatURL": "sample string 10",
"CreatedDate": "2026-04-01T16:41:49.4756888+07:00",
"LineUserId": "sample string 12",
"FormatLineMessage": "sample string 13",
"ReceiptRemainAmount": 14.0,
"EmployeeId": 15
},
{
"NotificationId": 1,
"EventId": 2,
"UserId": 3,
"ClaimId": 4,
"IsRead": true,
"IsActive": true,
"Message": "sample string 7",
"URL": "sample string 8",
"FormatMessage": "sample string 9",
"FormatURL": "sample string 10",
"CreatedDate": "2026-04-01T16:41:49.4756888+07:00",
"LineUserId": "sample string 12",
"FormatLineMessage": "sample string 13",
"ReceiptRemainAmount": 14.0,
"EmployeeId": 15
}
]
}
text/html
Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":[{"NotificationId":1,"EventId":2,"UserId":3,"ClaimId":4,"IsRead":true,"IsActive":true,"Message":"sample string 7","URL":"sample string 8","FormatMessage":"sample string 9","FormatURL":"sample string 10","CreatedDate":"2026-04-01T16:41:49.4756888+07:00","LineUserId":"sample string 12","FormatLineMessage":"sample string 13","ReceiptRemainAmount":14.0,"EmployeeId":15},{"NotificationId":1,"EventId":2,"UserId":3,"ClaimId":4,"IsRead":true,"IsActive":true,"Message":"sample string 7","URL":"sample string 8","FormatMessage":"sample string 9","FormatURL":"sample string 10","CreatedDate":"2026-04-01T16:41:49.4756888+07:00","LineUserId":"sample string 12","FormatLineMessage":"sample string 13","ReceiptRemainAmount":14.0,"EmployeeId":15}]}
application/xml, text/xml
Sample:
<ServiceResultTypedOfArrayOfNotificationYj8O1tFc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSW.Common.Models">
<Code>1</Code>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
<d2p1:Notification>
<d2p1:ClaimId>4</d2p1:ClaimId>
<d2p1:CreatedDate>2026-04-01T16:41:49.4756888+07:00</d2p1:CreatedDate>
<d2p1:EmployeeId>15</d2p1:EmployeeId>
<d2p1:EventId>2</d2p1:EventId>
<d2p1:FormatLineMessage>sample string 13</d2p1:FormatLineMessage>
<d2p1:FormatMessage>sample string 9</d2p1:FormatMessage>
<d2p1:FormatURL>sample string 10</d2p1:FormatURL>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsRead>true</d2p1:IsRead>
<d2p1:LineUserId>sample string 12</d2p1:LineUserId>
<d2p1:Message>sample string 7</d2p1:Message>
<d2p1:NotificationId>1</d2p1:NotificationId>
<d2p1:ReceiptRemainAmount>14</d2p1:ReceiptRemainAmount>
<d2p1:URL>sample string 8</d2p1:URL>
<d2p1:UserId>3</d2p1:UserId>
</d2p1:Notification>
<d2p1:Notification>
<d2p1:ClaimId>4</d2p1:ClaimId>
<d2p1:CreatedDate>2026-04-01T16:41:49.4756888+07:00</d2p1:CreatedDate>
<d2p1:EmployeeId>15</d2p1:EmployeeId>
<d2p1:EventId>2</d2p1:EventId>
<d2p1:FormatLineMessage>sample string 13</d2p1:FormatLineMessage>
<d2p1:FormatMessage>sample string 9</d2p1:FormatMessage>
<d2p1:FormatURL>sample string 10</d2p1:FormatURL>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsRead>true</d2p1:IsRead>
<d2p1:LineUserId>sample string 12</d2p1:LineUserId>
<d2p1:Message>sample string 7</d2p1:Message>
<d2p1:NotificationId>1</d2p1:NotificationId>
<d2p1:ReceiptRemainAmount>14</d2p1:ReceiptRemainAmount>
<d2p1:URL>sample string 8</d2p1:URL>
<d2p1:UserId>3</d2p1:UserId>
</d2p1:Notification>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
</ServiceResultTypedOfArrayOfNotificationYj8O1tFc>