Often, a Krames StayWell implementation will show a random news article or other health content on a page. Showing random content is an easy way of providing an element of freshness to your site.
To display random content, create a section on a page of your site that is intended to show the blurb of and a link to a content object, choosing a random entry from a list of content in a collection subtopic.
Call the GetCollectionContents method, with the Recursive parameter set to false, passing in the ID of the subtopic with the desired content. The response will contain a list of content assigned to the subtopic. Use the information in the response to choose a random item to create a link to, and call the GetContent method to retrieve the blurb for display with the link, if desired.