This method will return a list of documents that have been added to or deleted from a license, including documents that have been updated, after a given date.
Only HTTP GET or POST are supported at this time
Parameter Names:
StartDate
IncludeBlocked
For example:
http://external.ws.staywell.com/[SiteName]/Documents.svc/GetLicenseUpdates?StartDate=2007-6-1&IncludeBlocked=false
StartDate is a string representation of a date in the format YYYY-MM-DD, leading zeros may be omitted.
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.
Example Results
<?xml version="1.0" encoding="utf-8" ?>
<DocumentList xmlns="http://ws.staywell.com">
<!-- Documents added or modified as of 1/1/2009 -->
<Document ContentTypeId="1" ContentId="1007" IsCustom="0" />
<Document ContentTypeId="1" ContentId="1008" IsCustom="0" />
<Document ContentTypeId="6" ContentId="622971" IsCustom="0" />
<Document ContentTypeId="6" ContentId="623133" IsCustom="0" />
<Document ContentTypeId="6" ContentId="623136" IsCustom="0" />
<Document ContentTypeId="20" ContentId="87" IsCustom="0" />
<Document ContentTypeId="23" ContentId="AboutStaywellNoHRA" IsCustom="0" />
<Document ContentTypeId="23" ContentId="Advertisingv3" IsCustom="0" />
<!--Documents removed since 1/1/2009-->
<DeletedDocument ContentTypeId="1" ContentId="10" IsCustom="0" />
<DeletedDocument ContentTypeId="1" ContentId="1018" IsCustom="0" />
<DeletedDocument ContentTypeId="1" ContentId="1040" IsCustom="0" />
<DeletedDocument ContentTypeId="6" ContentId="611471" IsCustom="0" />
<DeletedDocument ContentTypeId="6" ContentId="611476" IsCustom="0" />
<DeletedDocument ContentTypeId="6" ContentId="611484" IsCustom="0" />
<DeletedDocument ContentTypeId="6" ContentId="611485" IsCustom="0" />
<DeletedDocument ContentTypeId="6" ContentId="611489" IsCustom="0" />
</DocumentList>