» Lists » Views » Views » Put

PUT lists/{list_id}/views

Updates Views with relation to the list

Resource

Method PUT
URL http://api.responder.co.il/v1.0/lists/{list_id}/views

Parameters

views
required

Array of JSON object of Views

Example Value:
[
   {
      "ID" : "123",
      "NAME" : "Tel Aviv-Jaffa"
   },
   {
      "ID" : "12341",
      "NAME" : "New Car Owners"
   }
]

Example

PUT http://api.responder.co.il/v1.0/lists/123456/views
{
   "LIST_ID" : 123456,
   "UPDATED_VIEWS" : [123],
   "INVALID_VIEWS_IDS" : [12341]
}