Back | Webservices | Home

GetTop10Videos

Description

Returns GetTop10Videos from the statistics.

Request Parameters

Name Description

soap:header

Username and password

Type: UserCredentials

Children: Userid, Password

clientID Client ID
Type: int
startDate Type: string
endDate Type: string

Response Elements

Name Description

GetTop10VideosResult

Stats Overview element.

Type: List of StatsData

Example using SOAP

Example Request

The following is a sample SOAP 1.2 request and response.

<?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:Header>
    <UserCredentials xmlns="http://vidzapper.net/Webservice/">
      <Userid>string</Userid>
      <Password>string</Password>
    </UserCredentials>
  </soap12:Header>
  <soap12:Body>
    <GetTop10Videos xmlns="http://vidzapper.net/Webservice/">
      <clientID>int</clientID>
      <startDate>string</startDate>
      <endDate>string</endDate>
    </GetTop10Videos>
  </soap12:Body>
</soap12:Envelope>

Example Response

<?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>
    <GetTop10VideosResponse xmlns="http://vidzapper.net/Webservice/">
      <GetTop10VideosResult>
        <StatsData>
          <Name>string</Name>
          <Data>double</Data>
          <Error>
            <Status>string</Status>
            <Message>string</Message>
            <ResultCode>string</ResultCode>
          </Error>
        </StatsData>
        <StatsData>
          <Name>string</Name>
          <Data>double</Data>
          <Error>
            <Status>string</Status>
            <Message>string</Message>
            <ResultCode>string</ResultCode>
          </Error>
        </StatsData>
      </GetTop10VideosResult>
    </GetTop10VideosResponse>
  </soap12:Body>
</soap12:Envelope>