GET v1/shows/search/advanced/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
id No documentation available.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "savedShowSearch": {
    "id": 1,
    "name": "sample string 2",
    "query": {
      "sortOptions": [
        {
          "descending": true,
          "field": "showId"
        },
        {
          "descending": true,
          "field": "showId"
        },
        {
          "descending": true,
          "field": "showId"
        }
      ],
      "groups": [
        {
          "orAnd": "and",
          "filters": [
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            },
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            },
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            }
          ]
        },
        {
          "orAnd": "and",
          "filters": [
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            },
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            },
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            }
          ]
        },
        {
          "orAnd": "and",
          "filters": [
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            },
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            },
            {
              "operator": "equals",
              "field": "showId",
              "searchValue": "sample string 1"
            }
          ]
        }
      ]
    },
    "results": [
      1,
      2,
      3
    ]
  }
}

application/xml, text/xml

Sample:
<SavedShowSearchResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.Controllers.api.v1">
  <SavedShowSearch>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Query xmlns:d3p1="http://schemas.datacontract.org/2004/07/CablecastAPI.Models">
      <d3p1:Groups>
        <d3p1:ShowSearchGroup>
          <d3p1:Filters>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
          </d3p1:Filters>
          <d3p1:OrAnd>And</d3p1:OrAnd>
        </d3p1:ShowSearchGroup>
        <d3p1:ShowSearchGroup>
          <d3p1:Filters>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
          </d3p1:Filters>
          <d3p1:OrAnd>And</d3p1:OrAnd>
        </d3p1:ShowSearchGroup>
        <d3p1:ShowSearchGroup>
          <d3p1:Filters>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
            <d3p1:ShowSearchFilter>
              <d3p1:Field>ShowId</d3p1:Field>
              <d3p1:Operator>Equals</d3p1:Operator>
              <d3p1:SearchValue>sample string 1</d3p1:SearchValue>
            </d3p1:ShowSearchFilter>
          </d3p1:Filters>
          <d3p1:OrAnd>And</d3p1:OrAnd>
        </d3p1:ShowSearchGroup>
      </d3p1:Groups>
      <d3p1:SortOptions>
        <d3p1:ShowSearchSortingOption>
          <d3p1:Descending>true</d3p1:Descending>
          <d3p1:Field>ShowId</d3p1:Field>
        </d3p1:ShowSearchSortingOption>
        <d3p1:ShowSearchSortingOption>
          <d3p1:Descending>true</d3p1:Descending>
          <d3p1:Field>ShowId</d3p1:Field>
        </d3p1:ShowSearchSortingOption>
        <d3p1:ShowSearchSortingOption>
          <d3p1:Descending>true</d3p1:Descending>
          <d3p1:Field>ShowId</d3p1:Field>
        </d3p1:ShowSearchSortingOption>
      </d3p1:SortOptions>
    </Query>
    <Results xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
      <d3p1:int>3</d3p1:int>
    </Results>
  </SavedShowSearch>
</SavedShowSearchResource>