API Documentation

Activity.GetAll

Activity.GetAll

Returns a list (array) of the last 100 activities for the authenticated user.

Parameters and required information

Here's a list of all the parameters you'll need to pass to the Activity.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 the last 100 activities 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 view activities
This user is not authorized to access activities.

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">
	<activity>
		<id>integer</id>
		<userid>integer</userid>
		<datecreated>yyyy-mm-dd hh:mm:ss</datecreated>
		<code>string</code>
		<description>string</description>
	</activity>
</mediasilo_response>