Collection.GetList

August 10, 2015

Description

Returns a list of collections for an account

Required parameters

None

Returns

A List of the collections in an account

Example request url

https://api.mozenda.com/rest?WebServiceKey=C70E1F84-E12B-4e73-B199-2EE6D43AF44E&Service=Mozenda10&Operation=Collection.GetList

Example response

<?xml version="1.0" encoding="utf-8" ?>
<CollectionGetListResponse
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Result>Success</Result>
  <CollectionList>
	 <Collection>
		<CollectionID>1005</CollectionID>
		<Name>My First Collection</Name>
		<Description>Sample description of 'My 1st Collection'.</Description>
		<DefaultViewID>1003</DefaultViewID>
		<AgentID>1002</AgentID>
	 </Collection>
	 <Collection>
		<CollectionID>1067</CollectionID>
		<Name>ZipCodes</Name>
		<Description>Sample description of the 'ZipCodes' repository.</Description>
		<DefaultViewID>1036</DefaultViewID>
	 </Collection>
  </CollectionList>
</CollectionGetListResponse>

Need more information?

We'd love to hear from you.

100% Privacy. You are that important to us. Privacy Policy