API Documentation

Channel.GetAll

Channel.GetAll

Returns a list (array) of all channels for the authenticated user.

Parameters and required information

Here's a list of all the parameters you'll need to pass to the Channel.GetAll method. All of the parameters are required unless otherwise noted.

SessionKey
The session key obtained from User.Login

Return Codes

Success

Status: success
Returns a list of all channels for the current user.
Status: fail
The call was not successful. Either the session has expired or the XML was not formatted correctly.

Error

5002: Authentication Failure
No active session exists with this session key and developer account id. The user session has expired and the user has to to log on again.
505: Restricted - This user is not authorized to access channels
This user is not authorized to access channels.

HTTP POST

<?xml version="1.0" encoding="utf-8"?>  
<request>  
	<sessionkey>string</sessionkey>
</request>  
<?xml version="1.0" encoding="utf-8"?>
<mediasilo_response method="Channel.GetAll" status="success">
	<channel>
		<id>integer</id>
		<name>string</name>
		<datecreated>yyyy-mm-dd hh:mm:ss</datecreated>
		<defaultlineup>integer</defaultlineup>
		<autoplay>integer</autoplay>
	</channel>
</mediasilo_response>