<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Web Service APIs</title>
    <link>http://community.theport.com/discussions/rest-apis</link>
    <description><![CDATA[Questions regarding ThePort's API library.  SOAP and REST API methods are supported here.]]></description>
    <language>en-us</language>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2012/02/06/are-there-maintainance-windows-that-should-be-avoi</guid>
      <title>Are there maintainance windows that should be avoided?</title>
      <link>http://community.theport.com/discussions/rest-apis/2012/02/06/are-there-maintainance-windows-that-should-be-avoi</link>
      <description><![CDATA[For about the third time now I&#39;ve hit windows of time where the remote commenting APIs throw an error about timing out (see XML below.)<br />
<br />
The window where timeouts are thrown last for serveral hours and are usually early in the morning (within midnight to 4am timeframe) on Sunday and Monday mornings.<br />
<br />
Is there some kind of processing/maintainance going on around those times that it would be better to avoid calling the APIs during then?<br />
<br />
Sample XML error return:<br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;CommentingService&gt;<br />
&nbsp; &lt;GetCommunityComments&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;ResponseStatus&gt;Failed&lt;/ResponseStatus&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;ResponseCode&gt;500&lt;/ResponseCode&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;TotalItems&gt;0&lt;/TotalItems&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;error&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;exception&gt;System.Data.SqlClient.SqlException (0x80131904): Timeout expired.&nbsp; The timeout period elapsed prior to completion of the operation or the server is not responding.<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)<br />
&nbsp;&nbsp; at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()<br />
&nbsp;&nbsp; at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlDataReader.get_MetaData()<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)<br />
&nbsp;&nbsp; at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)<br />
&nbsp;&nbsp; at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)<br />
&nbsp;&nbsp; at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />
&nbsp;&nbsp; at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />
&nbsp;&nbsp; at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)<br />
&nbsp;&nbsp; at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)<br />
&nbsp;&nbsp; at ThePortData.DataProvider.Comment.GetLatestRemoteItemComments(Guid gPartnerID, Guid gUserID, Int32 iResultStart, Int32 iNumResults, Int32&amp;amp; iTotalCount, String sRemoteArticleID, String sRemoteArticleGroupID, Int32 iFeaturedOnlyInd)<br />
&nbsp;&nbsp; at ThePortBusiness.RemoteCommentCollection.PopulateCommunityCommentsByPaging()<br />
&nbsp;&nbsp; at ThePortBusiness.RemoteCommentCollection.InstantiateCommunityCommentsByPaging(Guid gPartnerID, Int32 iResultStart, Int32 iNumItems)<br />
&nbsp;&nbsp; at CommentingService.GetCommunityComments(String DeveloperKey, String ResultStart, String NumItems)&lt;/exception&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/error&gt;<br />
&nbsp; &lt;/GetCommunityComments&gt;<br />
&lt;/CommentingService&gt;<br />
<br />
]]></description>
      <pubDate>Mon, 06 Feb 2012 17:46:49 GMT</pubDate>
      <dc:creator>gadgeteer</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2012/01/12/given-a-retrieved-remote-comment-how-to-i-query-de</guid>
      <title>Given a retrieved remote comment how to I query details on the user?</title>
      <link>http://community.theport.com/discussions/rest-apis/2012/01/12/given-a-retrieved-remote-comment-how-to-i-query-de</link>
      <description><![CDATA[when you retrieve remote comments via the REST API the comment has a section called author:<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Author&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CachedByHost&gt;WEB01:/LM/W3SVC/5/ROOT/ws-4-129708624335090710&lt;/CachedByHost&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ObjectType&gt;ThePortBusiness.Thin.User, ThePortBusiness, Version=2008.12.18.17, Culture=neutral, PublicKeyToken=null&lt;/ObjectType&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;0&lt;/ID&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;UserID&gt;{redacted, sure about security issues.}&lt;/UserID&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PartnerNumID&gt;{redacted, sure about security issues.}&lt;/PartnerNumID&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PartnerID&gt;{redacted, sure about security issues.}&lt;/PartnerID&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CacheKey /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Key&gt;{redacted, sure about security issues.}&lt;/Key&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ImageUrl&gt;http://my.stltoday.com/user/b/{redacted, sure about security issues.}.image&lt;/ImageUrl&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SmallImageUrl&gt;http://my.stltoday.com/user/s/{redacted, sure about security issues.}.image&lt;/SmallImageUrl&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ImageUrl_50&gt;http://my.stltoday.com/user/50/{redacted, sure about security issues.}.image&lt;/ImageUrl_50&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;GenderID&gt;1&lt;/GenderID&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicName&gt;{redacted, sure about security issues.}&lt;/PublicName&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ProfileUrl&gt;{redacted, sure about security issues.}&lt;/ProfileUrl&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Author&gt;<br />
<br />
Which field in the Author section can be used with the<br />
<br />
http://services.theport.com/REST/V1/Users<br />
<br />
users call... and what does the &amp;SearchBy= need to be set to if the actual user_id is not in the &lt;author&gt;&lt;/author&gt; section?<br />
<br />
]]></description>
      <pubDate>Fri, 13 Jan 2012 01:16:56 GMT</pubDate>
      <dc:creator>gadgeteer</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2012/01/12/the-remote-commenting-api-returns-comments-for-a-b</guid>
      <title>The remote commenting api returns comments for a banned and delete user... why?</title>
      <link>http://community.theport.com/discussions/rest-apis/2012/01/12/the-remote-commenting-api-returns-comments-for-a-b</link>
      <description><![CDATA[The API endpoint at:<br />
<br />
http://services.theport.com/ws/developerAPI/CommentingService.asmx/GetItemComments<br />
<br />
is returning comments for a banned and deleted user.<br />
<br />
our site is my.stltoday.com, the xref id for the remote object being commented on is 27d477f0-3c90-11e1-8173-001a4bcf6878 and the offending comment&#39;s uuid is f1ff97f6-4644-4f72-a361-2b1dabf3a3a1 ...<br />
<br />
Why am I seeing a comment for a banned and deleted user being returned? what&#39;s wrong?]]></description>
      <pubDate>Thu, 12 Jan 2012 21:32:29 GMT</pubDate>
      <dc:creator>gadgeteer</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/11/17/can-the-apis-be-used-to-updateassign-a-so-to-a-cat</guid>
      <title>Can the APIs be used to update/assign a SO to a category?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/11/17/can-the-apis-be-used-to-updateassign-a-so-to-a-cat</link>
      <description><![CDATA[Can the APIs be used to update/assign an SO to a category?]]></description>
      <pubDate>Thu, 17 Nov 2011 14:50:28 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/11/06/getting-errors-when-trying-to-use-createuser-api</guid>
      <title>Getting Errors when trying to use CreateUser API</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/11/06/getting-errors-when-trying-to-use-createuser-api</link>
      <description><![CDATA[i copied and pasted the &lt;POST&gt;&nbsp; etc... &lt;/POST&gt; directly from the API example and am still getting this error returned:<br />
<br />
&lt;Response xmlns=&quot;http://services.theport.com&quot; xmlns:i=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;StatusCode&gt;400&lt;/StatusCode&gt;&lt;StatusDescription&gt;Invalid Request Body Format.&lt;/StatusDescription&gt;&lt;/Response&gt;<br />
]]></description>
      <pubDate>Sun, 06 Nov 2011 15:39:20 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/10/26/can-the-apis-be-used-to-create-an-event-for-a-soci</guid>
      <title>Can the APIs be used to create an event for a social object?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/10/26/can-the-apis-be-used-to-create-an-event-for-a-soci</link>
      <description><![CDATA[I see the Create Event API, but it looks like it works only for users, not social spaces, as one of the parameters is sysuserid={UserID}.&nbsp; Is there any way to attach the event to a SO?<br />
<br />
Along similar lines, there is an ability in the admin panel to import events from a CSV file.&nbsp; Can this functionality be added on the front end for admins of social objects to import events only to that object via XSLT?<br />
]]></description>
      <pubDate>Wed, 26 Oct 2011 14:15:53 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/09/16/could-you-please-make-the-api-pages-public-not-pri</guid>
      <title>could you please make the API pages public not private?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/09/16/could-you-please-make-the-api-pages-public-not-pri</link>
      <description><![CDATA[all the API pages are private and require authorization to view them.&nbsp; i have tried to join the groups several times but no one is moderating&nbsp; requests to join it seems.&nbsp; please make the groups public so that we can see them without having to request to join each one.<br />
<br />
for example:<br />
<a href="http://community.theport.com/api/Create_Event">http://community.theport.com/api/Create_Event</a>]]></description>
      <pubDate>Fri, 16 Sep 2011 13:51:22 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/08/16/how-do-i-retrieve-a-list-of-bamned-users</guid>
      <title>How do i retrieve a list of bamned users?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/08/16/how-do-i-retrieve-a-list-of-bamned-users</link>
      <description><![CDATA[How do I retrieve a list of banned users?<br />
<br />
The API call documentated at http://community.theport.com/api/GetUsers<br />
does not appear to return banned users ... anymore ... I think I remember it returnning banned users before, but the more recent calls to it seem to be returning only active users.<br />
<br />
In a perfect world I&#39;d be able to include a isBanned=true parameter with a SortBy=UpdateDTM and SortDirection=DESC to get a list of the most recently banned accounts.<br />
]]></description>
      <pubDate>Tue, 16 Aug 2011 15:57:37 GMT</pubDate>
      <dc:creator>gadgeteer</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/07/17/error-on-update-event-api-call</guid>
      <title>Error on Update Event API call</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/07/17/error-on-update-event-api-call</link>
      <description><![CDATA[When making an update event call out, The following error occurs:<br />
500<br />
An Unknown Exception has Occurred on the Server.<br />
<br />
It&#39;s also very intermittent<br />
Another issue, when I try to update an event it will update AND create a duplicate. So now I have 2 events which are the same....<br />
<br />
can you provide some assistance here?]]></description>
      <pubDate>Sun, 17 Jul 2011 20:06:35 GMT</pubDate>
      <dc:creator>Dirgesh</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/07/17/update-event</guid>
      <title>Update Event</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/07/17/update-event</link>
      <description><![CDATA[I am using the UpdateEvent script and few questions:<br />
<br />
1. What is the date format for beginning / end date?<br />
2. How do you make a event &quot;closed/deactivate&quot; so it&#39;s not showing up on events anymore.]]></description>
      <pubDate>Sun, 17 Jul 2011 19:51:39 GMT</pubDate>
      <dc:creator>Dirgesh</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/07/11/how-to-i-toggle-only-show-my-screen-name-via-ws-ap</guid>
      <title>How to I toggle "Only show my screen name" via WS-API?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/07/11/how-to-i-toggle-only-show-my-screen-name-via-ws-ap</link>
      <description><![CDATA[Have a need to be able to toggle the &quot;Only show my screen name&quot; settings via a WebService API, is this possible? which one do I use?]]></description>
      <pubDate>Mon, 11 Jul 2011 23:03:49 GMT</pubDate>
      <dc:creator>gadgeteer</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/06/25/how-do-i-get-my-userid</guid>
      <title>How do I get my UserID?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/06/25/how-do-i-get-my-userid</link>
      <description><![CDATA[Where do I find what my User ID is?]]></description>
      <pubDate>Sat, 25 Jun 2011 15:18:55 GMT</pubDate>
      <dc:creator>Dirgesh</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/05/17/looking-to-retrieve-remote-comments-posted-by-a-us</guid>
      <title>Looking to retrieve Remote Comments posted by a user?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/05/17/looking-to-retrieve-remote-comments-posted-by-a-us</link>
      <description><![CDATA[<br />
Looking to retrieve the Remote Comments a user has posted, but I can&#39;t seem to identify any REST/Web Service that allows me to retreive comments by user id / xref / ssid<br />
<br />
What&#39;s the process for doing this?<br />
]]></description>
      <pubDate>Tue, 17 May 2011 13:59:52 GMT</pubDate>
      <dc:creator>gadgeteer</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/03/10/why-doesnt-title-on-a-remote-commenting-object-upd</guid>
      <title>Why doesn't title on a remote commenting object update?</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/03/10/why-doesnt-title-on-a-remote-commenting-object-upd</link>
      <description><![CDATA[Got an issue with the remote <a href="http://developer.theport.com/@api/deki/files/28/=RemoteCommentingDocumentation-1.pdf">commenting API</a>.<br />
<br />
The AddComment call has a non-required field &quot;ItemTitle&quot;, this value is title of the &quot;asset/story/article&quot; being commented on.<br />
<br />
The ItemTitle field is required if this is the first comment for this story/asset/article and is used as the &quot;title&quot; returned from calls like GetMostCommentedCommunityItems.<br />
<br />
Right now the value is only used when the remote comment object is created at your end, so any updates to the title aren&#39;t reflected down the road.<br />
<br />
What&#39;s the possibility of the AddComment API being adjusted to update ItemTitle, if passed, and has changed?<br />
<br />
This issue was brought up by one of our folks in our newsroom, they will update titles if they get them initially wrong.<br />
]]></description>
      <pubDate>Thu, 10 Mar 2011 19:33:00 GMT</pubDate>
      <dc:creator>gadgeteer</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/rest-apis/2011/01/17/need-assistance-finding-the-social-id-for-lee-prop</guid>
      <title>Need assistance finding the "social ID" for Lee properties</title>
      <link>http://community.theport.com/discussions/rest-apis/2011/01/17/need-assistance-finding-the-social-id-for-lee-prop</link>
      <description><![CDATA[We need to find out what the business social object &quot;social ID&quot; code is for several Lee properties. For example, we know what they are for these Lee properties:<br />
for my.quadsville.com i have 375 for ELITE and 375 for PREFERRED<br />
for NWI.COM_PREFERRED = 50<br />
and STLTODAY_PREFFERED = 131<br />
<br />
<br />
We don&#39;t know what they are for the following Lee properties, can you help?<br />
Bloomington: my.pantagraph.com<br />
Madison: my.madison.com<br />
Lincoln: my.journalstar.com<br />
NCTimes: my.nctimes.com<br />
Billings: my.billingsgazette.com<br />
La Crosse: my.rivervalleyvoice.com<br />
Provo: my.heraldextra.com<br />
Sioux City: my.siouxlandvoice.com<br />
<br />
Please provide or tell us where we can find this information. Thanks ~ Vashon Borich - 888-520-8758, vashon.borich@lee.net<br />
<input id="gwProxy" type="hidden" /><!--Session data--><input id="jsProxy" __3="if(typeof(jsCall)=='function'){jsCall();}else{setTimeout('jsCall()',500);}" type="hidden" />]]></description>
      <pubDate>Mon, 17 Jan 2011 21:25:34 GMT</pubDate>
      <dc:creator>Veebee</dc:creator>
    </item>
  </channel>
</rss>
