The query returns a list of notifications according to the condition [new] or not [read] with selected fields only Id, Subject, NotificationName, New, Read
Request:
- GET api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/tables/Notifications/query?fields=id;Subject;NotificationName;new;read&filter=[new] or not [read]
- Accept: text/json
- Accept-Encoding: deflate,deflate,deflate
- Authorization: Basic YWRtaW46YWRtaW4=
- Host: localhost:6496
- Cookie: sid=f90ee664-ac23-45e3-b1a4-f64dd3bb82af
Response:
- Transfer-Encoding: chunked
- Content-Encoding:
- Cache-Control: no-store
- Content-Type: text/json; charset=utf-8
- Date: Tue, 08 Jan 2013 14:32:16 GMT
- Server: Microsoft-HTTPAPI/2.0
-
- {
- "IsTooManyItems": false,
- "Items": [
- {
- "id": "634ab5fb-75cb-41a3-b706-704b7a7cf0f3",
- "Subject": "You have delayed task ‘T2688’",
- "NotificationName": "Overdue task event (Executor)",
- "new": true,
- "read": false
- }
- ]
- }