Version: 2011.01.25

Krames StayWell External Web Service Documentation

ListAllContent Method

Returns a list of all content that is available to a license. This list will include client specific content as well. There are no parameters to this method; it is intended to be used as an alternative to calling GetCollectionContents and GetDynamicCollectionContents multiple times.

Sample Request

http://external.ws.staywell.com/[SiteName]/Content.svc/ListAllContent

Sample Result XML

<?xml version="1.0" encoding="utf-8" ?>
<ContentList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<ContentObject ContentTypeId="1" ContentId="10" ContentObjectType="Document">
		<Language Code="en" />
		<RegularTitle>How to Beat Serious Stress</RegularTitle>
		<GenderCode>A</GenderCode>
	</ContentObject>
	<ContentObject ContentTypeId="1" ContentId="100" ContentObjectType="Document">
		<Language Code="en" />
		<RegularTitle>Helping Your Kids Get the Fiber They Need</RegularTitle>
		<GenderCode>A</GenderCode>
	</ContentObject>
	<ContentObject ContentTypeId="1" ContentId="1001" ContentObjectType="Document">
		<Language Code="en" />
		<RegularTitle>Ankle Sprains and Strains</RegularTitle>
		<GenderCode>A</GenderCode>
		<PostingDate>2/5/2009</PostingDate>
	</ContentObject>
	...
	<ContentObject ContentTypeId="69" ContentId="L1110d" ContentObjectType="Document">
		<Language Code="en" />
		<RegularTitle>By the way, doctor: Why don't statins damage the heart muscle?</RegularTitle>
		<GenderCode>A</GenderCode>
		<PostingDate>11/1/2010</PostingDate>
	</ContentObject>
	<ContentObject ContentTypeId="69" ContentId="L1110e" ContentObjectType="Document">
		<Language Code="en" />
		<RegularTitle>By the way, doctor: Is there an environmentally friendly way to get omega-3s?</RegularTitle>
		<GenderCode>A</GenderCode>
		<PostingDate>11/1/2010</PostingDate>
	</ContentObject>
</ContentList>