CablecastWS


Click here for a complete list of operations.

AdvancedShowSearch

Returns a list of show information at this site (and optionally other sites) for shows which match the given critera. "dateComparator" is a string consisting of "=", "<", ">", "<=", ">=", or "!=". The various "restrictTo" parameters take a "0" for no restriction, or an ID number to have results restricted to only include shows matching that particular ID. Note that these restrictions request ID numbers which in all probability will NOT match the IDs on remote sites. Therefore, it would be wise to not allow the restriction ("0") when searching other sites. Data versions must match between web services

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /CablecastWS/CablecastWS.asmx HTTP/1.1
Host: demo.trms.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.trms.com/CablecastWS/AdvancedShowSearch"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AdvancedShowSearch xmlns="http://www.trms.com/CablecastWS/">
      <ChannelID>int</ChannelID>
      <searchString>string</searchString>
      <eventDate>dateTime</eventDate>
      <dateComparator>string</dateComparator>
      <restrictToCategoryID>int</restrictToCategoryID>
      <restrictToProducerID>int</restrictToProducerID>
      <restrictToProjectID>int</restrictToProjectID>
      <displayStreamingShowsOnly>boolean</displayStreamingShowsOnly>
      <searchOtherSites>boolean</searchOtherSites>
    </AdvancedShowSearch>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AdvancedShowSearchResponse xmlns="http://www.trms.com/CablecastWS/">
      <AdvancedShowSearchResult>
        <SiteSearchResult>
          <IsRemoteSite>boolean</IsRemoteSite>
          <SiteName>string</SiteName>
          <SiteDescription>string</SiteDescription>
          <SiteAddress>string</SiteAddress>
          <SiteCity>string</SiteCity>
          <SiteState>string</SiteState>
          <SiteZipCode>string</SiteZipCode>
          <SitePhone>string</SitePhone>
          <SiteEmail>string</SiteEmail>
          <SiteWeb>string</SiteWeb>
          <Shows>
            <ShowInfo xsi:nil="true" />
            <ShowInfo xsi:nil="true" />
          </Shows>
        </SiteSearchResult>
        <SiteSearchResult>
          <IsRemoteSite>boolean</IsRemoteSite>
          <SiteName>string</SiteName>
          <SiteDescription>string</SiteDescription>
          <SiteAddress>string</SiteAddress>
          <SiteCity>string</SiteCity>
          <SiteState>string</SiteState>
          <SiteZipCode>string</SiteZipCode>
          <SitePhone>string</SitePhone>
          <SiteEmail>string</SiteEmail>
          <SiteWeb>string</SiteWeb>
          <Shows>
            <ShowInfo xsi:nil="true" />
            <ShowInfo xsi:nil="true" />
          </Shows>
        </SiteSearchResult>
      </AdvancedShowSearchResult>
    </AdvancedShowSearchResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /CablecastWS/CablecastWS.asmx HTTP/1.1
Host: demo.trms.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AdvancedShowSearch xmlns="http://www.trms.com/CablecastWS/">
      <ChannelID>int</ChannelID>
      <searchString>string</searchString>
      <eventDate>dateTime</eventDate>
      <dateComparator>string</dateComparator>
      <restrictToCategoryID>int</restrictToCategoryID>
      <restrictToProducerID>int</restrictToProducerID>
      <restrictToProjectID>int</restrictToProjectID>
      <displayStreamingShowsOnly>boolean</displayStreamingShowsOnly>
      <searchOtherSites>boolean</searchOtherSites>
    </AdvancedShowSearch>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AdvancedShowSearchResponse xmlns="http://www.trms.com/CablecastWS/">
      <AdvancedShowSearchResult>
        <SiteSearchResult>
          <IsRemoteSite>boolean</IsRemoteSite>
          <SiteName>string</SiteName>
          <SiteDescription>string</SiteDescription>
          <SiteAddress>string</SiteAddress>
          <SiteCity>string</SiteCity>
          <SiteState>string</SiteState>
          <SiteZipCode>string</SiteZipCode>
          <SitePhone>string</SitePhone>
          <SiteEmail>string</SiteEmail>
          <SiteWeb>string</SiteWeb>
          <Shows>
            <ShowInfo xsi:nil="true" />
            <ShowInfo xsi:nil="true" />
          </Shows>
        </SiteSearchResult>
        <SiteSearchResult>
          <IsRemoteSite>boolean</IsRemoteSite>
          <SiteName>string</SiteName>
          <SiteDescription>string</SiteDescription>
          <SiteAddress>string</SiteAddress>
          <SiteCity>string</SiteCity>
          <SiteState>string</SiteState>
          <SiteZipCode>string</SiteZipCode>
          <SitePhone>string</SitePhone>
          <SiteEmail>string</SiteEmail>
          <SiteWeb>string</SiteWeb>
          <Shows>
            <ShowInfo xsi:nil="true" />
            <ShowInfo xsi:nil="true" />
          </Shows>
        </SiteSearchResult>
      </AdvancedShowSearchResult>
    </AdvancedShowSearchResponse>
  </soap12:Body>
</soap12:Envelope>