Workspace.GetAll
Returns a list (array) of all workspaces for the current user.
Parameters and required information
Here's a list of all the parameters you'll need to pass to the Workspace.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 workspaces 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.
HTTP POST
<?xml version="1.0" encoding="utf-8"?>
<request>
<sessionkey>string</sessionkey>
</request>
<?xml version="1.0" encoding="utf-8"?> <mediasilo_response method="Workspace.GetAll" status="success"> <workspace> <id>integer</id> <name><string></name> <datecreated>yyyy-mm-dd hh:mm:ss</datecreated> <ownerid>integer</ownerid> <description><string></description> </workspace> <workspace> <id>integer</id> <name><string></name> <datecreated>yyyy-mm-dd hh:mm:ss</datecreated> <ownerid>integer</ownerid> <description><string></description> </workspace> <mediasilo_response>
