POST api/{projectID}/Notification/{userID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectID

integer

Required

userID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Notification
NameDescriptionTypeAdditional information
notificationId

string

None.

userId

string

None.

title

string

None.

text

string

None.

imageUrl

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "notificationId": "sample string 1",
    "userId": "sample string 2",
    "title": "sample string 3",
    "text": "sample string 4",
    "imageUrl": "sample string 5"
  },
  {
    "notificationId": "sample string 1",
    "userId": "sample string 2",
    "title": "sample string 3",
    "text": "sample string 4",
    "imageUrl": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
  <Notification>
    <imageUrl>sample string 5</imageUrl>
    <notificationId>sample string 1</notificationId>
    <text>sample string 4</text>
    <title>sample string 3</title>
    <userId>sample string 2</userId>
  </Notification>
  <Notification>
    <imageUrl>sample string 5</imageUrl>
    <notificationId>sample string 1</notificationId>
    <text>sample string 4</text>
    <title>sample string 3</title>
    <userId>sample string 2</userId>
  </Notification>
</ArrayOfNotification>