POST api/Notification/AddNotification
Request Information
URI Parameters
None.
Body Parameters
NotificationType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Text | string |
None. |
|
| Day | string |
None. |
|
| MovieId | integer |
None. |
|
| MoviePoster | string |
None. |
|
| Category | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Text": "sample string 2",
"Day": "sample string 3",
"MovieId": 4,
"MoviePoster": "sample string 5",
"Category": "sample string 6"
}
application/xml, text/xml
Sample:
<NotificationType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IOTT_API.Models"> <Category>sample string 6</Category> <Day>sample string 3</Day> <Id>1</Id> <MovieId>4</MovieId> <MoviePoster>sample string 5</MoviePoster> <Text>sample string 2</Text> </NotificationType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |