media.getLicense

Return the license between the reseller and the requested subaccount.

Authentication

This method does not require authentification.

Arguments

Argument Type Valid Values Default Value Detail
api_key string Valid Values required you need a valid api key to use the API
int Valid Values required sub account ID to get

Returned Values

Element (path) Type Description
/ string License text

Example Query


<?xml version="1.0" encoding="utf-8"?>
<methodCall>
	<methodName>media.getLicense</methodName>
	<params>
		<param>
			<value>
				<string>YOUR_API_KEY</string>
			</value>
		</param>
		<param>
			<value>
				<int>5834887</int>
			</value>
		</param>
		<param>
			<value>
				<string>XS</string>
			</value>
		</param>
		<param>
			<value>
				<int>200652576</int>
			</value>
		</param>
	</params>
</methodCall>

Example Response


<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
  <params>
    <param>
      <value>
        <string>API Reseller Agreement ... </string>
      </value>
    </param>
  </params>
</methodResponse>

Error Codes

001: Service currently unavailable
The requested service is temporarily unavailable.
002: Failed to parse request
The XML-RPC request document could not be parsed.
010: Missing API Key
The API key passed is missing.
011: Invalid API Key
The API key passed is not valid or has expired.
031: Invalid Method
This method does not exist in the method list.
032: Method not Available
This method is not available for this API Key.
7002: Unknown Subbaccount ID
This Subbaccount has already been deleted, or is not your list of subaccounts.