<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://customerfx.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Ryan Farley&amp;#39;s Blog : SData, New Finds, Web Services</title><link>http://customerfx.com/pages/crmdeveloper/archive/tags/SData/New+Finds/Web+Services/default.aspx</link><description>Tags: SData, New Finds, Web Services</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>RESTful Web Services Coming in SalesLogix 7.5</title><link>http://customerfx.com/pages/crmdeveloper/2008/05/14/restful-web-services-coming-in-saleslogix-7-5.aspx</link><pubDate>Wed, 14 May 2008 15:38:00 GMT</pubDate><guid isPermaLink="false">e15581aa-2787-4c59-a940-524c09f5d256:39316</guid><dc:creator>Ryan Farley</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://customerfx.com/pages/crmdeveloper/rsscomments.aspx?PostID=39316</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://customerfx.com/pages/crmdeveloper/commentapi.aspx?PostID=39316</wfw:comment><comments>http://customerfx.com/pages/crmdeveloper/2008/05/14/restful-web-services-coming-in-saleslogix-7-5.aspx#comments</comments><description>&lt;p&gt;This week I&amp;#39;ve been in Washington DC attending the Sage Insights Business Partner conference. It&amp;#39;s been great meeting up with friends in the business partner community and the guys from Sage. There&amp;#39;s been a lot of discussion about things coming in the next release, version 7.5&amp;nbsp;(codenamed &amp;quot;Sahara&amp;quot;) and in the release beyond that (codenamed &amp;quot;Tanami&amp;quot;). The focus for SalesLogix is definitely shifting to web, not that the windows side is being neglected, but it reflects the shift in the industry to web-based applications, which I think is awesome. Of all the new details that have been shared about the Sahara release (See my &lt;a class="" href="http://customerfx.com/pages/saleslogix/2008/05/02/new-features-coming-in-saleslogix-7-5-quot-sahara-quot-release.aspx"&gt;previous post on new features coming in 7.5&lt;/a&gt;),&amp;nbsp;by far, one of the more exciting is the introduction of the RESTful web services layer.&lt;/p&gt;
&lt;p&gt;This is just huge and introduces a whole new level of capabilities for SalesLogix. For those who might not be familiar with REST (See &lt;a class="" href="http://en.wikipedia.org/wiki/Representational_State_Transfer" target="_blank"&gt;Wikipedia&lt;/a&gt;), it basically comes down to URL addressable resources and simplifies the use of these resources while&amp;nbsp;taking the programmable web to the level of functionality contained within the browsable web - in a way that is far superior (IMO) to SOAP.&lt;/p&gt;
&lt;p&gt;OK. For SalesLogix, the REST services all use an SData protocol to define the structure of the URL for accessing resources. As an aside, the great thing is that this SData protocol is meant to eventually be common accross all Sage products, providing a unified way to integrate Sage applications. Maybe that&amp;#39;s a pipe dream, time will tell. I&amp;#39;m just thrilled to have it coming in SalesLogix. These services will be able to read data, such as groups, named &lt;a class="" href="http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html" target="_blank"&gt;NHibernate HQL queries&lt;/a&gt;, and even perform CRUD functions (&lt;strong&gt;CR&lt;/strong&gt;eate, &lt;strong&gt;U&lt;/strong&gt;pdate, &lt;strong&gt;D&lt;/strong&gt;elete)! Business rules won&amp;#39;t be accessible via the REST layer for the initial version, but the entity level eventing will. This is where the real power comes from. You&amp;#39;ll have a common place to implement business rules for entity events that is made available to any/all SalesLogix applications, addons, external applications, etc. BTW, these entity level events are available in this way due to a move to the provider level. The SalesLogix OLEDB Provider will raise entity level events, executing the code you&amp;#39;ve defined there - so these events will basically apply throughout SalesLogix. Woot!&lt;/p&gt;
&lt;p&gt;For data returning&amp;nbsp;RESTful GET&amp;nbsp;calls, the data can be returned in one of three formats:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;XML&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;JSON&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;ATOM (current default)&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;So what do these URL addressable resources look like? Well, for example, let&amp;#39;s say you want to return all accounts, your URL would look like the following:&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;http://&amp;lt;server:port&amp;gt;/sdata/slx/accounts&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;How about a specific account:&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;http://&amp;lt;server:port&amp;gt;/sdata/slx/accounts(AXXXX0000001)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;List all contacts for a specific account:&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;http://&amp;lt;server:port&amp;gt;/sdata/slx/accounts(AXXXX0000001)/Contacts&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;You get the idea. The SData protocol/scheme is very well thought out and I could not be more pleased with how this has been implemented. It goes much deeper than what I&amp;#39;ve covered here, the ability to perform HQL queries via REST is so completely powerful. The fact that we&amp;#39;ll be able to perform basic CRUD operations as well was a &lt;strong&gt;VERY&lt;/strong&gt; welcome surprise. For sure, there will be much more to come from me on this subject in the future. &lt;/p&gt;&lt;img src="http://customerfx.com/aggbug.aspx?PostID=39316" width="1" height="1"&gt;</description><category domain="http://customerfx.com/pages/crmdeveloper/archive/tags/New+Finds/default.aspx">New Finds</category><category domain="http://customerfx.com/pages/crmdeveloper/archive/tags/SalesLogix+Web/default.aspx">SalesLogix Web</category><category domain="http://customerfx.com/pages/crmdeveloper/archive/tags/REST/default.aspx">REST</category><category domain="http://customerfx.com/pages/crmdeveloper/archive/tags/Web+Services/default.aspx">Web Services</category><category domain="http://customerfx.com/pages/crmdeveloper/archive/tags/SData/default.aspx">SData</category></item></channel></rss>