GET api/Notification?UserId={UserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of clNotification
NameDescriptionTypeAdditional information
UserId

integer

None.

NotificationId

integer

None.

NotificationDate

string

None.

NotificationTitle

string

None.

NotificationText

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": 1,
    "NotificationId": 2,
    "NotificationDate": "sample string 3",
    "NotificationTitle": "sample string 4",
    "NotificationText": "sample string 5"
  },
  {
    "UserId": 1,
    "NotificationId": 2,
    "NotificationDate": "sample string 3",
    "NotificationTitle": "sample string 4",
    "NotificationText": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotificationController.clNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationAPI.Controllers">
  <NotificationController.clNotification>
    <NotificationDate>sample string 3</NotificationDate>
    <NotificationId>2</NotificationId>
    <NotificationText>sample string 5</NotificationText>
    <NotificationTitle>sample string 4</NotificationTitle>
    <UserId>1</UserId>
  </NotificationController.clNotification>
  <NotificationController.clNotification>
    <NotificationDate>sample string 3</NotificationDate>
    <NotificationId>2</NotificationId>
    <NotificationText>sample string 5</NotificationText>
    <NotificationTitle>sample string 4</NotificationTitle>
    <UserId>1</UserId>
  </NotificationController.clNotification>
</ArrayOfNotificationController.clNotification>