API Documentation

Channel.GetDetail

Channel.GetDetail

Returns a list (array) of all lineups for the specified channel.

Parameters and required information

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

SessionKey
The session key obtained from User.Login
ChannelID
The id of a channel obtained from Channel.GetAll.

Return Codes

Success

Status: success
Returns a list of all lineups for the specified channel.
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.
101: The CHANNELID attribute is required in the CHANNEL.GETALL function
The CHANNELID was not passed along.
505: Restricted - This user is not authorized to access that channel.
This user is not authorized to access this channel.

HTTP POST

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