POST api/Notification/GetNotificationCount

Request Information

URI Parameters

None.

Body Parameters

UINotificationFilters
NameDescriptionTypeAdditional information
status

NotificationStatus

None.

userId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "status": 1,
  "userId": "sample string 1"
}

text/html, multipart/form-data

Sample:
{"status":1,"userId":"sample string 1"}

application/xml, text/xml

Sample:
<UINotificationFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO.Models.Notifications">
  <status>New</status>
  <userId>sample string 1</userId>
</UINotificationFilters>

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 'UINotificationFilters'.

Response Information

Resource Description

GlobalResponseOfInt32
NameDescriptionTypeAdditional information
ResultCode

ReturnResultCode

None.

Data

integer

None.

ResultMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Data": 1,
  "ResultMessage": "sample string 2"
}

text/html, multipart/form-data

Sample:
{"ResultCode":1,"Data":1,"ResultMessage":"sample string 2"}

application/xml, text/xml

Sample:
<GlobalResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.DTO">
  <Data>1</Data>
  <ResultCode>NullOrEmptyUserId</ResultCode>
  <ResultMessage>sample string 2</ResultMessage>
</GlobalResponseOfint>