Service


Click here for a complete list of operations.

GetUserFavorites

Selects all user favorites nPageSize and nPageNumber must be more then 0. nPageSize number of result per page,nPageNumber the current page number,sOrderBy can be:time,add_time,channel,name

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 /cas/service.asmx HTTP/1.1
Host: www.iptv-distribution.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.iptv-distribution.com/cas/GetUserFavorites"

<?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>
    <GetUserFavorites xmlns="http://www.iptv-distribution.com/cas/">
      <sUserLogin>string</sUserLogin>
      <sOrderBy>string</sOrderBy>
      <nPageSize>int</nPageSize>
      <nPageNumber>int</nPageNumber>
    </GetUserFavorites>
  </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>
    <GetUserFavoritesResponse xmlns="http://www.iptv-distribution.com/cas/">
      <GetUserFavoritesResult>
        <FavoritesData>
          <TvGuideID>int</TvGuideID>
          <ProgramTvGuideID>int</ProgramTvGuideID>
          <DetailsID>int</DetailsID>
          <Date>dateTime</Date>
          <ChannelID>int</ChannelID>
          <ProgramName>string</ProgramName>
          <ChannelName>string</ChannelName>
          <Type>string</Type>
          <TypeIcon>string</TypeIcon>
          <Description>string</Description>
          <ImageAlt>string</ImageAlt>
          <Results>int</Results>
          <IsWatchable>boolean</IsWatchable>
          <HasShowing>boolean</HasShowing>
          <ImageURL>string</ImageURL>
          <Link>string</Link>
          <DisplayTooltip>string</DisplayTooltip>
        </FavoritesData>
        <FavoritesData>
          <TvGuideID>int</TvGuideID>
          <ProgramTvGuideID>int</ProgramTvGuideID>
          <DetailsID>int</DetailsID>
          <Date>dateTime</Date>
          <ChannelID>int</ChannelID>
          <ProgramName>string</ProgramName>
          <ChannelName>string</ChannelName>
          <Type>string</Type>
          <TypeIcon>string</TypeIcon>
          <Description>string</Description>
          <ImageAlt>string</ImageAlt>
          <Results>int</Results>
          <IsWatchable>boolean</IsWatchable>
          <HasShowing>boolean</HasShowing>
          <ImageURL>string</ImageURL>
          <Link>string</Link>
          <DisplayTooltip>string</DisplayTooltip>
        </FavoritesData>
      </GetUserFavoritesResult>
    </GetUserFavoritesResponse>
  </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 /cas/service.asmx HTTP/1.1
Host: www.iptv-distribution.net
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>
    <GetUserFavorites xmlns="http://www.iptv-distribution.com/cas/">
      <sUserLogin>string</sUserLogin>
      <sOrderBy>string</sOrderBy>
      <nPageSize>int</nPageSize>
      <nPageNumber>int</nPageNumber>
    </GetUserFavorites>
  </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>
    <GetUserFavoritesResponse xmlns="http://www.iptv-distribution.com/cas/">
      <GetUserFavoritesResult>
        <FavoritesData>
          <TvGuideID>int</TvGuideID>
          <ProgramTvGuideID>int</ProgramTvGuideID>
          <DetailsID>int</DetailsID>
          <Date>dateTime</Date>
          <ChannelID>int</ChannelID>
          <ProgramName>string</ProgramName>
          <ChannelName>string</ChannelName>
          <Type>string</Type>
          <TypeIcon>string</TypeIcon>
          <Description>string</Description>
          <ImageAlt>string</ImageAlt>
          <Results>int</Results>
          <IsWatchable>boolean</IsWatchable>
          <HasShowing>boolean</HasShowing>
          <ImageURL>string</ImageURL>
          <Link>string</Link>
          <DisplayTooltip>string</DisplayTooltip>
        </FavoritesData>
        <FavoritesData>
          <TvGuideID>int</TvGuideID>
          <ProgramTvGuideID>int</ProgramTvGuideID>
          <DetailsID>int</DetailsID>
          <Date>dateTime</Date>
          <ChannelID>int</ChannelID>
          <ProgramName>string</ProgramName>
          <ChannelName>string</ChannelName>
          <Type>string</Type>
          <TypeIcon>string</TypeIcon>
          <Description>string</Description>
          <ImageAlt>string</ImageAlt>
          <Results>int</Results>
          <IsWatchable>boolean</IsWatchable>
          <HasShowing>boolean</HasShowing>
          <ImageURL>string</ImageURL>
          <Link>string</Link>
          <DisplayTooltip>string</DisplayTooltip>
        </FavoritesData>
      </GetUserFavoritesResult>
    </GetUserFavoritesResponse>
  </soap12:Body>
</soap12:Envelope>