API Documentation

Workspace.Create

Workspace.Create

Creates the specified workspace, assuming that you have privileges to do so and that you have workspaces remaining on your account.

Parameters and required information

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

SessionKey
The session key obtained from User.Login
Name
The name of the workspace to be created
Description
The description of the workspace to be created, this parameter is not required

Return Codes

Success

Status: success
Returns the newly created workspace.
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 NAME attribute is required in the WORSKPACE.CREATE function
The NAME was not passed along.
505: Restricted - This user is not authorized to create a workspace
This user is not authorized to create a workspace.

HTTP POST

<?xml version="1.0" encoding="utf-8"?>  
<request>  
	<sessionkey>string</sessionkey>
	<name>string</name>
	<description>string</description>     
</request>  
<?xml version="1.0" encoding="utf-8"?>
<mediasilo_response method="Workspace.Create" status="success">
	<workspace>
		<id>integer</id>
		<name>string</name>
		<datecreated>yyyy-mm-dd hh:mm:ss</datecreated>		
		<ownerid>integer</ownerid>
		<description>string</description>
	</workspace>
</mediasilo_response>