GET api/Tickets/GetViewsForTicketsFilter

Gets a list of available Views by which the user can filter Tickets.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetViewsResult
NameDescriptionTypeAdditional information
Views

Collection of ViewItem

None.

Response Formats

application/json, text/json

Sample:
{
  "Views": [
    {
      "Id": 1,
      "Title": "All my Incidents",
      "IsPersonal": false,
      "Favorite": false,
      "Archive": false
    },
    {
      "Id": 2,
      "Title": "All Incidents of the Customer ltd.",
      "IsPersonal": true,
      "Favorite": false,
      "Archive": false
    }
  ]
}

application/xml, text/xml

Sample:
<GetViewsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <Views>
    <GetViewsResult.ViewItem>
      <Archive>false</Archive>
      <Favorite>false</Favorite>
      <Id>1</Id>
      <IsPersonal>false</IsPersonal>
      <Title>All my Incidents</Title>
    </GetViewsResult.ViewItem>
    <GetViewsResult.ViewItem>
      <Archive>false</Archive>
      <Favorite>false</Favorite>
      <Id>2</Id>
      <IsPersonal>true</IsPersonal>
      <Title>All Incidents of the Customer ltd.</Title>
    </GetViewsResult.ViewItem>
  </Views>
</GetViewsResult>