Version: 2011.01.25

Krames StayWell External Web Service Documentation

ListLicenseUpdates Method

Return a list of content that has been added to or deleted from a license, and licensed content that was updated, after a given date.

Parameters: XmlRequest
	<LicenseUpdateRequest StartDate="[YYYY-MM-DD]" IncludeBlocked="[true, false]" />

StartDate expects a XmlSchema data format so the leading zeros are required. IncludeBlocked is a flag which indicates whether or not to include documents that you have marked as blocked for your application. For example if you have marked a particular news article as blocked because it contains inappropriate content for your website, this flag will determine the presence of that article in the result.

Sample Request

http://external.ws.staywell.com/[SiteName]/Content.svc/ListLicenseUpdates?xmlRequest=<LicenseUpdateRequest StartDate="2011-01-15" IncludeBlocked="false" />

Sample Result XML

<?xml version="1.0" encoding="utf-8" ?>
<ContentList>
	<ChangedContent>
		<ContentObject ContentObjectType="Document" ContentTypeId="1" ContentId="1007" IsCustom="0" />
		<ContentObject ContentObjectType="Document" ContentTypeId="1" ContentId="1008" IsCustom="0" />
		<ContentObject ContentObjectType="Document" ContentTypeId="6" ContentId="622971" IsCustom="0" />
		<ContentObject ContentObjectType="Document" ContentTypeId="6" ContentId="623133" IsCustom="0" />
	</ChangedContent>
	<DeletedContent>
		<ContentObject ContentObjectType="Document" ContentTypeId="1" ContentId="10" IsCustom="0" />
		<ContentObject ContentObjectType="Document" ContentTypeId="1" ContentId="1018" IsCustom="0" />
		<ContentObject ContentObjectType="Document" ContentTypeId="1" ContentId="1040" IsCustom="0" />
		<ContentObject ContentObjectType="Document" ContentTypeId="6" ContentId="611471" IsCustom="0" />
	</DeletedContent>
</ContentList>