Back | Webservices | Home

Share

Description

This method used by Registered user to share currently playing content(Tell a Friend)

Request Parameters

Name Description

soap:header

Username and password

Type: UserCredentials

Children: Userid, Password

ResellerID The Reseller ID: int
ClientID The Client ID: int
ChannelID The Channel ID: int
PlayerId The Player ID: int
PlayListId The PlayList ID: int
ContentId The Content ID: int
MetaId The Meta ID: int
ContentId The Content ID: int
ToEmailID The To Email ID: string
FromEmailID The From Email ID: string
FromName The From Name: string
Message The Message: string

Response Elements

Name Description

ShareResult

Type: String containing Message(Success/Error)

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>
    <Share xmlns="http://vidzapper.net/Webservice/">
      <ResellerId>long</ResellerId>
      <ClientId>long</ClientId>
      <channelId>long</channelId>
      <PlayerId>long</PlayerId>
      <PlayListId>long</PlayListId>
      <ContentId>long</ContentId>
      <MetaId>long</MetaId>
      <ToEmailID>string</ToEmailID>
      <FromEmailID>string</FromEmailID>
      <FromName>string</FromName>
      <Message>string</Message>
    </Share>
  </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>
    <ShareResponse xmlns="http://vidzapper.net/Webservice/">
      <ShareResult>string</ShareResult>
    </ShareResponse>
  </soap12:Body>
</soap12:Envelope>