POST api/Notifications/Count
Request Information
URI Parameters
None.
Body Parameters
Collection of NotificationCountRequestName | Description | Type | Additional information |
---|---|---|---|
NotificationType | integer |
None. |
|
RequiresAction | boolean |
None. |
|
StartRange | date |
None. |
|
EndRange | date |
None. |
Request Formats
application/json, text/json
Sample:
[ { "NotificationType": 1, "RequiresAction": true, "StartRange": "2025-01-28T23:44:22.7184353+00:00", "EndRange": "2025-01-28T23:44:22.7184353+00:00" }, { "NotificationType": 1, "RequiresAction": true, "StartRange": "2025-01-28T23:44:22.7184353+00:00", "EndRange": "2025-01-28T23:44:22.7184353+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfNotificationCountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <NotificationCountRequest> <EndRange>2025-01-28T23:44:22.7184353+00:00</EndRange> <NotificationType>1</NotificationType> <RequiresAction>true</RequiresAction> <StartRange>2025-01-28T23:44:22.7184353+00:00</StartRange> </NotificationCountRequest> <NotificationCountRequest> <EndRange>2025-01-28T23:44:22.7184353+00:00</EndRange> <NotificationType>1</NotificationType> <RequiresAction>true</RequiresAction> <StartRange>2025-01-28T23:44:22.7184353+00:00</StartRange> </NotificationCountRequest> </ArrayOfNotificationCountRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NotificationCountResponseName | Description | Type | Additional information |
---|---|---|---|
NotificationType | integer |
None. |
|
NotificationCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "NotificationType": 1, "NotificationCount": 2 }, { "NotificationType": 1, "NotificationCount": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfNotificationCountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <NotificationCountResponse> <NotificationCount>2</NotificationCount> <NotificationType>1</NotificationType> </NotificationCountResponse> <NotificationCountResponse> <NotificationCount>2</NotificationCount> <NotificationType>1</NotificationType> </NotificationCountResponse> </ArrayOfNotificationCountResponse>