Movedigital.folders.createFolder

From MoveDigital Docs

Table of contents

Arguments

Calls are POSTed to http://www.movedigital.com/services/rest/ and should include the following arguments

  • method (required) - Must be set to: movedigital.folders.createFolder
  • userid (required) - The userid of the MoveDigital account.
  • sessionid (required) - The sessionid for the current session.
  • session (required) - The session value for the associated sessionid.
  • foldername (required) - The name of the folder you wish to create.

Example Responses

  • Success
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
	<method>movedigital.folders.createFolder</method>
	<format>rest</format>
	<folderid>511</folderid>
	<foldername>foo-yourfolder</foldername>
	<foldervisibility>private</foldervisibility>
	<folderinfourl>http://download.movedigital.com/foo/511</folderinfourl>
	<messages>
		<message msg="Successfully created folder." />
	</messages>
</rsp>
  • Error
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
	<method>movedigital.folders.createFolder</method>
	<errors>
		<error code="106" msg="You did not provide a name for your new folder." />
	</errors>
</rsp>

Error Codes

  • 86 - Folder name was invalid.
  • 98 - Insufficient permissions.
  • 99 - User not signed in.
  • 106 - Some data was missing or invalid.
  • 108 - Internal error.
  • 109 - Service is currently unavailable.

Live REST Demo

Navigation