<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Dynamics CRM Online 2016 Json and Trestclient (PATCH method) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamics-CRM-Online-2016-Json-and-Trestclient-PATCH-method/m-p/2276306#M52434</link>
    <description>Hello guys, 
&lt;BR /&gt;It's my first post in the talend comunity. 
&lt;BR /&gt;I'm working to some jobs in order to syncronize data from MS CRM online 2016 and some on premise databases. 
&lt;BR /&gt;At the moment I reached to create job in order to read MS CRM online using trest client and Json and update on premise database, and I'm working to the viceversa, but with some problems. 
&lt;BR /&gt;I created the following job in order to update (via PATCH method) the accounts information (with 1 data row). 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD0G.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141931iEFA9200D7870E5DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD0G.png" alt="0683p000009MD0G.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;The problem seems that MS dynamics CRM would have the url with the primary key (i.e. ... dynamics.com/api/data/v8.1/accounts(primary_key)) 
&lt;BR /&gt;Every time I try to run the job the rest client return the following error: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;404;{&lt;BR /&gt;&amp;nbsp; "error":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "code":"","message":"Empty segment encountered in request URL. Please make sure that a valid request URL is specified.","innererror":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "message":"Empty segment encountered in request URL. Please make sure that a valid request URL is specified.","type":"Microsoft.OData.Core.UriParser.ODataUnrecognizedPathException","stacktrace":" &amp;nbsp; at Microsoft.OData.Core.UriParser.Parsers.ODataPathParser.ParsePath(ICollection`1 segments)\r\n &amp;nbsp; at Microsoft.OData.Core.UriParser.Parsers.ODataPathFactory.BindPath(ICollection`1 segments, ODataUriParserConfiguration configuration)\r\n &amp;nbsp; at Microsoft.OData.Core.UriParser.ODataUriParser.Initialize()\r\n &amp;nbsp; at Microsoft.OData.Core.UriParser.ODataUriParser.ParsePath()\r\n &amp;nbsp; at System.Web.OData.Routing.DefaultODataPathHandler.Parse(IEdmModel model, String serviceRoot, String odataPath, ODataUriResolverSetttings resolverSettings, Boolean enableUriTemplateParsing)\r\n &amp;nbsp; at System.Web.OData.Routing.DefaultODataPathHandler.Parse(IEdmModel model, String serviceRoot, String odataPath)\r\n &amp;nbsp; at Microsoft.Crm.Extensibility.OData.CrmODataPathHandler.Parse(IEdmModel model, String serviceRoot, String odataPath)"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;I tryied with external tool in order to create the rest call and the correct format must be: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD4h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156589i84F2AE8F8A19FB2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD4h.png" alt="0683p000009MD4h.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCre.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129971iB2B75FD475262BF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCre.png" alt="0683p000009MCre.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Any idea?</description>
    <pubDate>Mon, 23 Jan 2017 15:29:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-23T15:29:36Z</dc:date>
    <item>
      <title>Dynamics CRM Online 2016 Json and Trestclient (PATCH method)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamics-CRM-Online-2016-Json-and-Trestclient-PATCH-method/m-p/2276306#M52434</link>
      <description>Hello guys, 
&lt;BR /&gt;It's my first post in the talend comunity. 
&lt;BR /&gt;I'm working to some jobs in order to syncronize data from MS CRM online 2016 and some on premise databases. 
&lt;BR /&gt;At the moment I reached to create job in order to read MS CRM online using trest client and Json and update on premise database, and I'm working to the viceversa, but with some problems. 
&lt;BR /&gt;I created the following job in order to update (via PATCH method) the accounts information (with 1 data row). 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD0G.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141931iEFA9200D7870E5DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD0G.png" alt="0683p000009MD0G.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;The problem seems that MS dynamics CRM would have the url with the primary key (i.e. ... dynamics.com/api/data/v8.1/accounts(primary_key)) 
&lt;BR /&gt;Every time I try to run the job the rest client return the following error: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;404;{&lt;BR /&gt;&amp;nbsp; "error":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "code":"","message":"Empty segment encountered in request URL. Please make sure that a valid request URL is specified.","innererror":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "message":"Empty segment encountered in request URL. Please make sure that a valid request URL is specified.","type":"Microsoft.OData.Core.UriParser.ODataUnrecognizedPathException","stacktrace":" &amp;nbsp; at Microsoft.OData.Core.UriParser.Parsers.ODataPathParser.ParsePath(ICollection`1 segments)\r\n &amp;nbsp; at Microsoft.OData.Core.UriParser.Parsers.ODataPathFactory.BindPath(ICollection`1 segments, ODataUriParserConfiguration configuration)\r\n &amp;nbsp; at Microsoft.OData.Core.UriParser.ODataUriParser.Initialize()\r\n &amp;nbsp; at Microsoft.OData.Core.UriParser.ODataUriParser.ParsePath()\r\n &amp;nbsp; at System.Web.OData.Routing.DefaultODataPathHandler.Parse(IEdmModel model, String serviceRoot, String odataPath, ODataUriResolverSetttings resolverSettings, Boolean enableUriTemplateParsing)\r\n &amp;nbsp; at System.Web.OData.Routing.DefaultODataPathHandler.Parse(IEdmModel model, String serviceRoot, String odataPath)\r\n &amp;nbsp; at Microsoft.Crm.Extensibility.OData.CrmODataPathHandler.Parse(IEdmModel model, String serviceRoot, String odataPath)"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;I tryied with external tool in order to create the rest call and the correct format must be: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD4h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156589i84F2AE8F8A19FB2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD4h.png" alt="0683p000009MD4h.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCre.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129971iB2B75FD475262BF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCre.png" alt="0683p000009MCre.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Any idea?</description>
      <pubDate>Mon, 23 Jan 2017 15:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamics-CRM-Online-2016-Json-and-Trestclient-PATCH-method/m-p/2276306#M52434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-23T15:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamics CRM Online 2016 Json and Trestclient (PATCH method)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamics-CRM-Online-2016-Json-and-Trestclient-PATCH-method/m-p/2276307#M52435</link>
      <description>Have someone idea?</description>
      <pubDate>Tue, 24 Jan 2017 14:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamics-CRM-Online-2016-Json-and-Trestclient-PATCH-method/m-p/2276307#M52435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-24T14:15:09Z</dc:date>
    </item>
  </channel>
</rss>

