POST api/GetNotification

Request Information

URI Parameters

None.

Body Parameters

NotificationModel
NameDescriptionTypeAdditional information
NotificationId

integer

None.

UserId

integer

None.

Msg

string

None.

MainType

integer

None.

DateShow

string

None.

NotificationCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "NotificationId": 1,
  "UserId": 2,
  "Msg": "sample string 3",
  "MainType": 4,
  "DateShow": "sample string 5",
  "NotificationCount": 6
}

application/xml, text/xml

Sample:
<NotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models">
  <DateShow>sample string 5</DateShow>
  <MainType>4</MainType>
  <Msg>sample string 3</Msg>
  <NotificationCount>6</NotificationCount>
  <NotificationId>1</NotificationId>
  <UserId>2</UserId>
</NotificationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of NotificationModel
NameDescriptionTypeAdditional information
NotificationId

integer

None.

UserId

integer

None.

Msg

string

None.

MainType

integer

None.

DateShow

string

None.

NotificationCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "NotificationId": 1,
    "UserId": 2,
    "Msg": "sample string 3",
    "MainType": 4,
    "DateShow": "sample string 5",
    "NotificationCount": 6
  },
  {
    "NotificationId": 1,
    "UserId": 2,
    "Msg": "sample string 3",
    "MainType": 4,
    "DateShow": "sample string 5",
    "NotificationCount": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models">
  <NotificationModel>
    <DateShow>sample string 5</DateShow>
    <MainType>4</MainType>
    <Msg>sample string 3</Msg>
    <NotificationCount>6</NotificationCount>
    <NotificationId>1</NotificationId>
    <UserId>2</UserId>
  </NotificationModel>
  <NotificationModel>
    <DateShow>sample string 5</DateShow>
    <MainType>4</MainType>
    <Msg>sample string 3</Msg>
    <NotificationCount>6</NotificationCount>
    <NotificationId>1</NotificationId>
    <UserId>2</UserId>
  </NotificationModel>
</ArrayOfNotificationModel>