POST api/{version}/StudentNotification/GetNotificationCount

Used to return the count of notification

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

NotificationCommonUtility
NameDescriptionTypeAdditional information
StudentId

Gets or sets the student id

integer

None.

NotificationType

Gets or sets the notification status.like read or unread or all

string

None.

PageNumber

Gets or sets the start index of the data

integer

None.

IsMailCount

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentId": 1,
  "NotificationType": "sample string 2",
  "PageNumber": 3,
  "IsMailCount": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NotificationCommonUtility'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
12345

text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12345</int>