<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>km_v1_documents Script API</title><link>https://community.telligent.com/community/11/w/api-documentation/65715/km_5F00_v1_5F00_documents-script-api</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>km_v1_documents Script API</title><link>https://community.telligent.com/community/11/w/api-documentation/65715/km_5F00_v1_5F00_documents-script-api</link><pubDate>Wed, 20 Nov 2019 14:53:03 GMT</pubDate><guid isPermaLink="false">2d0f5355-0e08-482d-9e21-890d91866dd6</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/65715/km_5F00_v1_5F00_documents-script-api#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/20/2019 14:53:03&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;Exposes Knowledge Management document APIs to widgets.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="#Properties"&gt;Properties&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#AreRatingsEnabled"&gt;AreRatingsEnabled&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Get"&gt;Get&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#List"&gt;List&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#MarkAsViewed"&gt;MarkAsViewed&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#SendFeedback"&gt;SendFeedback&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a name="Properties"&gt;&lt;/a&gt;&lt;div class="documentation-members properties"&gt;&lt;h3&gt;&lt;a id="Properties" name="Properties"&gt;&lt;/a&gt;Properties&lt;/h3&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Access&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;ContentTypeId&lt;/td&gt;&lt;td rowspan="1"&gt;Read&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Content Type Id&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;Current&lt;/td&gt;&lt;td rowspan="1"&gt;Read&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[Document Script API Type|Document]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Current&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;HelpfulRatingTypeId&lt;/td&gt;&lt;td rowspan="1"&gt;Read&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Helpful Rating Type Id&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="documentation-members methods"&gt;&lt;h3&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h3&gt;&lt;a name="AreRatingsEnabled"&gt;&lt;/a&gt;&lt;h2&gt;&lt;a id="AreRatingsEnabled" name="AreRatingsEnabled"&gt;&lt;/a&gt;AreRatingsEnabled&lt;/h2&gt;&lt;h4&gt;&lt;a id="Velocity" name="Velocity"&gt;&lt;/a&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($booleanResponse = $km_v1_documents.AreRatingsEnabled($contentId))&lt;/pre&gt;&lt;h4&gt;&lt;a id="JavaScript" name="JavaScript"&gt;&lt;/a&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var booleanResponse = km_v1_documents.AreRatingsEnabled(contentId);&lt;/pre&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;contentId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Content Id&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Returns" name="Returns"&gt;&lt;/a&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;Boolean&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="Get"&gt;&lt;/a&gt;&lt;h2&gt;&lt;a id="Get" name="Get"&gt;&lt;/a&gt;Get&lt;/h2&gt;&lt;h4&gt;&lt;a id="Velocity" name="Velocity"&gt;&lt;/a&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($documentResponse = $km_v1_documents.Get($contentId))&lt;/pre&gt;&lt;h4&gt;&lt;a id="JavaScript" name="JavaScript"&gt;&lt;/a&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var documentResponse = km_v1_documents.Get(contentId);&lt;/pre&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;contentId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Content Id&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Returns" name="Returns"&gt;&lt;/a&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[Document Script API Type|Document]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="List"&gt;&lt;/a&gt;&lt;h2&gt;&lt;a id="List" name="List"&gt;&lt;/a&gt;List&lt;/h2&gt;&lt;h4&gt;&lt;a id="Velocity" name="Velocity"&gt;&lt;/a&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($pagedListResponse = $km_v1_documents.List($applicationId, &amp;quot;%{  }&amp;quot;))&lt;/pre&gt;&lt;h4&gt;&lt;a id="JavaScript" name="JavaScript"&gt;&lt;/a&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var pagedListResponse = km_v1_documents.List(applicationId, {  });&lt;/pre&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;applicationId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Application Id&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Returns" name="Returns"&gt;&lt;/a&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[PagedList Script API Type|PagedList]] of [[Document Script API Type|Document]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="MarkAsViewed"&gt;&lt;/a&gt;&lt;h2&gt;&lt;a id="MarkAsViewed" name="MarkAsViewed"&gt;&lt;/a&gt;MarkAsViewed&lt;/h2&gt;&lt;h4&gt;&lt;a id="Velocity" name="Velocity"&gt;&lt;/a&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($additionalInfoResponse = $km_v1_documents.MarkAsViewed($contentId))&lt;/pre&gt;&lt;h4&gt;&lt;a id="JavaScript" name="JavaScript"&gt;&lt;/a&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var additionalInfoResponse = km_v1_documents.MarkAsViewed(contentId);&lt;/pre&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;contentId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Content Id&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Returns" name="Returns"&gt;&lt;/a&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[AdditionalInfo Script API Type|AdditionalInfo]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="SendFeedback"&gt;&lt;/a&gt;&lt;h2&gt;&lt;a id="SendFeedback" name="SendFeedback"&gt;&lt;/a&gt;SendFeedback&lt;/h2&gt;&lt;h4&gt;&lt;a id="Velocity" name="Velocity"&gt;&lt;/a&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($additionalInfoResponse = $km_v1_documents.SendFeedback($contentId, $feedback))&lt;/pre&gt;&lt;h4&gt;&lt;a id="JavaScript" name="JavaScript"&gt;&lt;/a&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var additionalInfoResponse = km_v1_documents.SendFeedback(contentId, feedback);&lt;/pre&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;contentId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Content Id&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;feedback&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Feedback&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Returns" name="Returns"&gt;&lt;/a&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[AdditionalInfo Script API Type|AdditionalInfo]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>