<?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 Re: JSON with REST API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284474#M58158</link>
    <description>&lt;P&gt;Your body contains the String " row6.content" (probably not what you expect).&lt;/P&gt;&lt;P&gt;Should be (String)globalMap.get("row6.content") if tFlowToIterate_1 use default settings.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 14:50:44 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2019-08-12T14:50:44Z</dc:date>
    <item>
      <title>JSON with REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284471#M58155</link>
      <description>&lt;P&gt;Hi Everyone/&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000005HwGQAA0" target="_blank"&gt;@evansdar&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to send data from a JSON file from Talend with REST API.&lt;BR /&gt;To verify that my file and my POST URL is working, I did the test on Postman without error, it allows to create new object in my tools.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need this working on &amp;nbsp;Talend, But unfortunately it is failing due to the below error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the contents of my JSON file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;----------------&lt;/P&gt;
&lt;DIV&gt;
 {"master":[
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp; &amp;nbsp;{
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 "startDateTime": {
&lt;/DIV&gt;
&lt;DIV&gt;
 "value": "2019-08-01T08%3A00%3A00"
&lt;/DIV&gt;
&lt;DIV&gt;
 },
&lt;/DIV&gt;
&lt;DIV&gt;
 "endDateTime": {
&lt;/DIV&gt;
&lt;DIV&gt;
 "value": "2019-08-31T16%3A59%3A59"
&lt;/DIV&gt;
&lt;DIV&gt;
 },
&lt;/DIV&gt;
&lt;DIV&gt;
 "serviceId": "2702"
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp; &amp;nbsp;}
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp; &amp;nbsp;]}
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 --------------------
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 The json is valid but we are getting an error
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
 &lt;BR /&gt;&amp;lt;Error&amp;gt;
 &lt;BR /&gt;&amp;lt;StatusCode&amp;gt;400&amp;lt;/StatusCode&amp;gt;
 &lt;BR /&gt;&amp;lt;StatusText&amp;gt;Invalid JSON : Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $&amp;lt;/StatusText&amp;gt;
 &lt;BR /&gt;&amp;lt;InfoText&amp;gt;&amp;lt;/InfoText&amp;gt;
 &lt;BR /&gt;&amp;lt;/Error&amp;gt;|400
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 Please suggest.
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284471#M58155</guid>
      <dc:creator>MaheswarReddy</dc:creator>
      <dc:date>2024-11-16T04:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284472#M58156</link>
      <description>&lt;P&gt;Something with your tREST component?&lt;/P&gt;&lt;P&gt;Can your share its settings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284472#M58156</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-08-12T14:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284473#M58157</link>
      <description>&lt;P&gt;Hi TRF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwLh"&gt;tRest1.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwXh"&gt;tRest2.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284473#M58157</guid>
      <dc:creator>MaheswarReddy</dc:creator>
      <dc:date>2019-08-12T14:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284474#M58158</link>
      <description>&lt;P&gt;Your body contains the String " row6.content" (probably not what you expect).&lt;/P&gt;&lt;P&gt;Should be (String)globalMap.get("row6.content") if tFlowToIterate_1 use default settings.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284474#M58158</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-08-12T14:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284475#M58159</link>
      <description>&lt;P&gt;I tried like this as you mentioned , but still throws an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwOD"&gt;Rest3.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwDF"&gt;Rest4.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-with-REST-API/m-p/2284475#M58159</guid>
      <dc:creator>MaheswarReddy</dc:creator>
      <dc:date>2019-08-12T14:57:04Z</dc:date>
    </item>
  </channel>
</rss>

