GET api/Notifications/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
NotificationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| notification_id | integer |
None. |
|
| project_id | integer |
None. |
|
| item_type | byte |
None. |
|
| sent_at | integer |
None. |
|
| message | string |
None. |
|
| image | string |
None. |
|
| order_year | integer |
None. |
|
| order_number | integer |
None. |
|
| status_message | boolean |
None. |
|
| sample_id | string |
None. |
|
| message_id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"notification_id": 1,
"project_id": 2,
"item_type": 64,
"sent_at": 4,
"message": "sample string 5",
"image": "sample string 6",
"order_year": 7,
"order_number": 8,
"status_message": true,
"sample_id": "sample string 10",
"message_id": 11
}
application/xml, text/xml
Sample:
<NotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <image>sample string 6</image> <item_type>64</item_type> <message>sample string 5</message> <message_id>11</message_id> <notification_id>1</notification_id> <order_number>8</order_number> <order_year>7</order_year> <project_id>2</project_id> <sample_id>sample string 10</sample_id> <sent_at>4</sent_at> <status_message>true</status_message> </NotificationModel>