GET api/Notifications
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
NotificationsName | Description | Type | Additional information |
---|---|---|---|
data | Collection of NotificationModel |
None. |
|
message_total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "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 }, { "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 } ], "message_total": 1 }
application/xml, text/xml
Sample:
<Notifications xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <data> <NotificationModel> <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> <NotificationModel> <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> </data> <message_total>1</message_total> </Notifications>