Updates notifications records

PUT
api/databases/{dbid}/tables/Notifications
This request is used for batched checking or unchecking of notification list as 'New' and "Read'.

Request:

Argument Type Description
dbid GUID  The ID of the database
Array of:

Content

Name Type Options Description
ETag String  ETag of object
Id GUID  The id of the object
InfoName String  The name of the object
IsMarkedAsDeleted Boolean  Indicates that the object is marked for deletion
ModifiedStamp Date  Last modified of object
Properties Array of name: value  List of properties of an object

Response:

In this example, two notifications are marked as not 'new' and already 'read'.

Request:
  1. PUT api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/tables/Notifications
  2. Accept: text/json
  3. Accept-Encoding: deflate
  4. Content-Type: text/json
  5. Host: localhost:6496
  6. Cookie: sid=20715d87-29dc-429e-9a86-4b3c60cd8a45
  7. Content-Length: 124
  8. Expect: 100-continue
  9.  
  10. [
  11. {
  12. "Id": "634ab5fb-75cb-41a3-b706-704b7a7cf0f3",
  13. "Properties":
  14. {
  15. "new": false,
  16. "read": true,
  17. }
  18. },
  19. {
  20. "Id": "ff995444-61ee-4485-8de6-c57e4ed3a602",
  21. "Properties":
  22. {
  23. "new": false,
  24. "read": true,
  25. }
  26. }
  27. ]
Response:
  1. Cache-Control: no-store
  2. Date: Fri, 21 Dec 2012 16:26:51 GMT
  3. Set-Cookie: sid=20715d87-29dc-429e-9a86-4b3c60cd8a45; path=/;
  4. Server: Microsoft-HTTPAPI/2.0