module


Click here for a complete list of operations.

QueryRecords

Test

The test form is only available for methods with primitive types as parameters.

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 /restful_v5_2_8/ws_cas_module.asmx HTTP/1.1
Host: kbcsony.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ca.tvinci.com/QueryRecords"

<?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>
    <QueryRecords xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <userID>string</userID>
      <epgIDs>
        <long>long</long>
        <long>long</long>
      </epgIDs>
    </QueryRecords>
  </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>
    <QueryRecordsResponse xmlns="http://ca.tvinci.com/">
      <QueryRecordsResult>
        <Status>
          <Code>int</Code>
          <Message>string</Message>
          <Args>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </Args>
        </Status>
        <Recordings>
          <Recording>
            <Status xsi:nil="true" />
            <Id>long</Id>
            <EpgId>long</EpgId>
            <ChannelId>long</ChannelId>
            <RecordingStatus>OK or Failed or Scheduled or Recording or Recorded or Canceled or Deleted or LifeTimePeriodExpired or SeriesCancel or SeriesDelete or DeletePending</RecordingStatus>
            <ExternalRecordingId>string</ExternalRecordingId>
            <EpgStartDate>dateTime</EpgStartDate>
            <EpgEndDate>dateTime</EpgEndDate>
            <Type>Single or Season or Series</Type>
            <GetStatusRetries>int</GetStatusRetries>
            <ProtectedUntilDate>long</ProtectedUntilDate>
            <ViewableUntilDate>long</ViewableUntilDate>
            <CreateDate>dateTime</CreateDate>
            <UpdateDate>dateTime</UpdateDate>
            <Crid>string</Crid>
            <isExternalRecording>boolean</isExternalRecording>
            <IsProtected>boolean</IsProtected>
            <UserId>string</UserId>
          </Recording>
          <Recording>
            <Status xsi:nil="true" />
            <Id>long</Id>
            <EpgId>long</EpgId>
            <ChannelId>long</ChannelId>
            <RecordingStatus>OK or Failed or Scheduled or Recording or Recorded or Canceled or Deleted or LifeTimePeriodExpired or SeriesCancel or SeriesDelete or DeletePending</RecordingStatus>
            <ExternalRecordingId>string</ExternalRecordingId>
            <EpgStartDate>dateTime</EpgStartDate>
            <EpgEndDate>dateTime</EpgEndDate>
            <Type>Single or Season or Series</Type>
            <GetStatusRetries>int</GetStatusRetries>
            <ProtectedUntilDate>long</ProtectedUntilDate>
            <ViewableUntilDate>long</ViewableUntilDate>
            <CreateDate>dateTime</CreateDate>
            <UpdateDate>dateTime</UpdateDate>
            <Crid>string</Crid>
            <isExternalRecording>boolean</isExternalRecording>
            <IsProtected>boolean</IsProtected>
            <UserId>string</UserId>
          </Recording>
        </Recordings>
        <TotalItems>int</TotalItems>
      </QueryRecordsResult>
    </QueryRecordsResponse>
  </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 /restful_v5_2_8/ws_cas_module.asmx HTTP/1.1
Host: kbcsony.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>
    <QueryRecords xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <userID>string</userID>
      <epgIDs>
        <long>long</long>
        <long>long</long>
      </epgIDs>
    </QueryRecords>
  </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>
    <QueryRecordsResponse xmlns="http://ca.tvinci.com/">
      <QueryRecordsResult>
        <Status>
          <Code>int</Code>
          <Message>string</Message>
          <Args>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </Args>
        </Status>
        <Recordings>
          <Recording>
            <Status xsi:nil="true" />
            <Id>long</Id>
            <EpgId>long</EpgId>
            <ChannelId>long</ChannelId>
            <RecordingStatus>OK or Failed or Scheduled or Recording or Recorded or Canceled or Deleted or LifeTimePeriodExpired or SeriesCancel or SeriesDelete or DeletePending</RecordingStatus>
            <ExternalRecordingId>string</ExternalRecordingId>
            <EpgStartDate>dateTime</EpgStartDate>
            <EpgEndDate>dateTime</EpgEndDate>
            <Type>Single or Season or Series</Type>
            <GetStatusRetries>int</GetStatusRetries>
            <ProtectedUntilDate>long</ProtectedUntilDate>
            <ViewableUntilDate>long</ViewableUntilDate>
            <CreateDate>dateTime</CreateDate>
            <UpdateDate>dateTime</UpdateDate>
            <Crid>string</Crid>
            <isExternalRecording>boolean</isExternalRecording>
            <IsProtected>boolean</IsProtected>
            <UserId>string</UserId>
          </Recording>
          <Recording>
            <Status xsi:nil="true" />
            <Id>long</Id>
            <EpgId>long</EpgId>
            <ChannelId>long</ChannelId>
            <RecordingStatus>OK or Failed or Scheduled or Recording or Recorded or Canceled or Deleted or LifeTimePeriodExpired or SeriesCancel or SeriesDelete or DeletePending</RecordingStatus>
            <ExternalRecordingId>string</ExternalRecordingId>
            <EpgStartDate>dateTime</EpgStartDate>
            <EpgEndDate>dateTime</EpgEndDate>
            <Type>Single or Season or Series</Type>
            <GetStatusRetries>int</GetStatusRetries>
            <ProtectedUntilDate>long</ProtectedUntilDate>
            <ViewableUntilDate>long</ViewableUntilDate>
            <CreateDate>dateTime</CreateDate>
            <UpdateDate>dateTime</UpdateDate>
            <Crid>string</Crid>
            <isExternalRecording>boolean</isExternalRecording>
            <IsProtected>boolean</IsProtected>
            <UserId>string</UserId>
          </Recording>
        </Recordings>
        <TotalItems>int</TotalItems>
      </QueryRecordsResult>
    </QueryRecordsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

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

POST /restful_v5_2_8/ws_cas_module.asmx/QueryRecords HTTP/1.1
Host: kbcsony.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sWSUserName=string&sWSPassword=string&userID=string&epgIDs=string&epgIDs=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<RecordingResponse xmlns="http://ca.tvinci.com/">
  <Status>
    <Code>int</Code>
    <Message>string</Message>
    <Args>
      <KeyValuePair>
        <key>string</key>
        <value>string</value>
      </KeyValuePair>
      <KeyValuePair>
        <key>string</key>
        <value>string</value>
      </KeyValuePair>
    </Args>
  </Status>
  <Recordings>
    <Recording>
      <Status>
        <Code>int</Code>
        <Message>string</Message>
        <Args d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Status>
      <Id>long</Id>
      <EpgId>long</EpgId>
      <ChannelId>long</ChannelId>
      <RecordingStatus>OK or Failed or Scheduled or Recording or Recorded or Canceled or Deleted or LifeTimePeriodExpired or SeriesCancel or SeriesDelete or DeletePending</RecordingStatus>
      <ExternalRecordingId>string</ExternalRecordingId>
      <EpgStartDate>dateTime</EpgStartDate>
      <EpgEndDate>dateTime</EpgEndDate>
      <Type>Single or Season or Series</Type>
      <GetStatusRetries>int</GetStatusRetries>
      <ProtectedUntilDate>long</ProtectedUntilDate>
      <ViewableUntilDate>long</ViewableUntilDate>
      <CreateDate>dateTime</CreateDate>
      <UpdateDate>dateTime</UpdateDate>
      <Crid>string</Crid>
      <isExternalRecording>boolean</isExternalRecording>
      <IsProtected>boolean</IsProtected>
      <UserId>string</UserId>
    </Recording>
    <Recording>
      <Status>
        <Code>int</Code>
        <Message>string</Message>
        <Args d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Status>
      <Id>long</Id>
      <EpgId>long</EpgId>
      <ChannelId>long</ChannelId>
      <RecordingStatus>OK or Failed or Scheduled or Recording or Recorded or Canceled or Deleted or LifeTimePeriodExpired or SeriesCancel or SeriesDelete or DeletePending</RecordingStatus>
      <ExternalRecordingId>string</ExternalRecordingId>
      <EpgStartDate>dateTime</EpgStartDate>
      <EpgEndDate>dateTime</EpgEndDate>
      <Type>Single or Season or Series</Type>
      <GetStatusRetries>int</GetStatusRetries>
      <ProtectedUntilDate>long</ProtectedUntilDate>
      <ViewableUntilDate>long</ViewableUntilDate>
      <CreateDate>dateTime</CreateDate>
      <UpdateDate>dateTime</UpdateDate>
      <Crid>string</Crid>
      <isExternalRecording>boolean</isExternalRecording>
      <IsProtected>boolean</IsProtected>
      <UserId>string</UserId>
    </Recording>
  </Recordings>
  <TotalItems>int</TotalItems>
</RecordingResponse>