Movedigital.categories.getListPublic

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.categories.getListPublic
  • categoryid (optional) - The id of a specific category which you want information for.

Example Responses

  • Success
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
	<method>movedigital.categories.getListPublic</method>
	<format>rest</format>
	<categories>
		<category categoryid="1" categoryname="video" />
		<category categoryid="2" categoryname="audio" />
		<category categoryid="7" categoryname="music" />
		<category categoryid="8" categoryname="book" />
		<category categoryid="3" categoryname="podcast" />
		<category categoryid="6" categoryname="software" />
		<category categoryid="14" categoryname="games" />
		<category categoryid="4" categoryname="photos" />
		<category categoryid="5" categoryname="misc" />
	</categories>
	<messages>
	</messages>
</rsp>
  • Error
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
	<method>movedigital.categories.getListPublic</method>
	<errors>
		<error code="109" msg="Service is currently unavailable." />
	</errors>
</rsp>

Error Codes

  • 109 - Service is currently unavailable.

Live REST Demo

Navigation