DataService


Click here for a complete list of operations.

RequestProgramData

Request program data

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
UUID:
ProviderId:
DaysRequested:

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 /dataservice.asmx HTTP/1.1
Host: data.titantv.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.titantv.com/services/dataservice/RequestProgramData"

<?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>
    <RequestProgramData xmlns="http://www.titantv.com/services/dataservice">
      <UUID>string</UUID>
      <ProviderId>string</ProviderId>
      <DaysRequested>int</DaysRequested>
    </RequestProgramData>
  </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>
    <RequestProgramDataResponse xmlns="http://www.titantv.com/services/dataservice">
      <RequestProgramDataResult>
        <ProgramData>
          <BaseTime>string</BaseTime>
          <ProviderId>string</ProviderId>
          <StationCount>int</StationCount>
          <ScheduleCount>int</ScheduleCount>
          <ProgramCount>int</ProgramCount>
          <Stations>
            <Station xsi:nil="true" />
            <Station xsi:nil="true" />
          </Stations>
          <Programs>
            <Program xsi:nil="true" />
            <Program xsi:nil="true" />
          </Programs>
          <Schedules>
            <Schedule xsi:nil="true" />
            <Schedule xsi:nil="true" />
          </Schedules>
        </ProgramData>
        <ProgramData>
          <BaseTime>string</BaseTime>
          <ProviderId>string</ProviderId>
          <StationCount>int</StationCount>
          <ScheduleCount>int</ScheduleCount>
          <ProgramCount>int</ProgramCount>
          <Stations>
            <Station xsi:nil="true" />
            <Station xsi:nil="true" />
          </Stations>
          <Programs>
            <Program xsi:nil="true" />
            <Program xsi:nil="true" />
          </Programs>
          <Schedules>
            <Schedule xsi:nil="true" />
            <Schedule xsi:nil="true" />
          </Schedules>
        </ProgramData>
      </RequestProgramDataResult>
    </RequestProgramDataResponse>
  </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 /dataservice.asmx HTTP/1.1
Host: data.titantv.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>
    <RequestProgramData xmlns="http://www.titantv.com/services/dataservice">
      <UUID>string</UUID>
      <ProviderId>string</ProviderId>
      <DaysRequested>int</DaysRequested>
    </RequestProgramData>
  </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>
    <RequestProgramDataResponse xmlns="http://www.titantv.com/services/dataservice">
      <RequestProgramDataResult>
        <ProgramData>
          <BaseTime>string</BaseTime>
          <ProviderId>string</ProviderId>
          <StationCount>int</StationCount>
          <ScheduleCount>int</ScheduleCount>
          <ProgramCount>int</ProgramCount>
          <Stations>
            <Station xsi:nil="true" />
            <Station xsi:nil="true" />
          </Stations>
          <Programs>
            <Program xsi:nil="true" />
            <Program xsi:nil="true" />
          </Programs>
          <Schedules>
            <Schedule xsi:nil="true" />
            <Schedule xsi:nil="true" />
          </Schedules>
        </ProgramData>
        <ProgramData>
          <BaseTime>string</BaseTime>
          <ProviderId>string</ProviderId>
          <StationCount>int</StationCount>
          <ScheduleCount>int</ScheduleCount>
          <ProgramCount>int</ProgramCount>
          <Stations>
            <Station xsi:nil="true" />
            <Station xsi:nil="true" />
          </Stations>
          <Programs>
            <Program xsi:nil="true" />
            <Program xsi:nil="true" />
          </Programs>
          <Schedules>
            <Schedule xsi:nil="true" />
            <Schedule xsi:nil="true" />
          </Schedules>
        </ProgramData>
      </RequestProgramDataResult>
    </RequestProgramDataResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /dataservice.asmx/RequestProgramData?UUID=string&ProviderId=string&DaysRequested=string HTTP/1.1
Host: data.titantv.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ProgramDataCollection xmlns="http://www.titantv.com/services/dataservice">
  <ProgramData>
    <BaseTime>string</BaseTime>
    <ProviderId>string</ProviderId>
    <StationCount>int</StationCount>
    <ScheduleCount>int</ScheduleCount>
    <ProgramCount>int</ProgramCount>
    <Stations>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
    </Stations>
    <Programs>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
    </Programs>
    <Schedules>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
    </Schedules>
  </ProgramData>
  <ProgramData>
    <BaseTime>string</BaseTime>
    <ProviderId>string</ProviderId>
    <StationCount>int</StationCount>
    <ScheduleCount>int</ScheduleCount>
    <ProgramCount>int</ProgramCount>
    <Stations>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
    </Stations>
    <Programs>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
    </Programs>
    <Schedules>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
    </Schedules>
  </ProgramData>
</ProgramDataCollection>

HTTP POST

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

POST /dataservice.asmx/RequestProgramData HTTP/1.1
Host: data.titantv.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UUID=string&ProviderId=string&DaysRequested=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ProgramDataCollection xmlns="http://www.titantv.com/services/dataservice">
  <ProgramData>
    <BaseTime>string</BaseTime>
    <ProviderId>string</ProviderId>
    <StationCount>int</StationCount>
    <ScheduleCount>int</ScheduleCount>
    <ProgramCount>int</ProgramCount>
    <Stations>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
    </Stations>
    <Programs>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
    </Programs>
    <Schedules>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
    </Schedules>
  </ProgramData>
  <ProgramData>
    <BaseTime>string</BaseTime>
    <ProviderId>string</ProviderId>
    <StationCount>int</StationCount>
    <ScheduleCount>int</ScheduleCount>
    <ProgramCount>int</ProgramCount>
    <Stations>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
      <Station>
        <station_id>int</station_id>
        <call_sign>string</call_sign>
        <rf_channel>int</rf_channel>
        <network>string</network>
        <psip_major>string</psip_major>
        <psip_minor>string</psip_minor>
      </Station>
    </Stations>
    <Programs>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
      <Program>
        <program_id>string</program_id>
        <run_time>string</run_time>
        <title>string</title>
        <episode_title>string</episode_title>
        <episode_id>string</episode_id>
        <is_episodic>string</is_episodic>
        <description>string</description>
        <genre>string</genre>
        <show_type>string</show_type>
        <mpaa_rating>string</mpaa_rating>
        <star_rating>string</star_rating>
        <language>string</language>
        <Actors d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <director>string</director>
      </Program>
    </Programs>
    <Schedules>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
      <Schedule>
        <program_id>string</program_id>
        <station_id>int</station_id>
        <start_time>int</start_time>
        <end_time>int</end_time>
        <repeat>string</repeat>
        <hd>string</hd>
        <stereo>string</stereo>
        <cc>string</cc>
        <tv_rating>string</tv_rating>
        <fv_rating>string</fv_rating>
        <other_rating>string</other_rating>
      </Schedule>
    </Schedules>
  </ProgramData>
</ProgramDataCollection>