GET api/lists/{id}/views

Gets the Views for the List with the specified id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the List

string

Required

Body Parameters

None.

Response Information

Resource Description

Returns a list of Views.

Collection of WorkPoint365.WebAPI.Model.ListView
NameDescriptionTypeAdditional information
Id

View Id

string

None.

Title

View Title

string

None.

ServerRelativeUrl

View server relative url

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Title": "sample string 2",
    "ServerRelativeUrl": "sample string 3"
  },
  {
    "Id": "sample string 1",
    "Title": "sample string 2",
    "ServerRelativeUrl": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfListView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
  <ListView>
    <Id>sample string 1</Id>
    <ServerRelativeUrl>sample string 3</ServerRelativeUrl>
    <Title>sample string 2</Title>
  </ListView>
  <ListView>
    <Id>sample string 1</Id>
    <ServerRelativeUrl>sample string 3</ServerRelativeUrl>
    <Title>sample string 2</Title>
  </ListView>
</ArrayOfListView>