<?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: how to get the data from post request to trestclient and convert json data to csv file?? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276938#M52857</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Your JSON output seems to be embedded in a XML message. Why are you not parsing the XML first?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You will have to first pick the JSON Ouput message and then parse the data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please use tLogrow at each stage till you get correct output. Then you will be able to monitor the results in each stage and can identify the error also easily.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 13:01:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-21T13:01:50Z</dc:date>
    <item>
      <title>how to get the data from post request to trestclient and convert json data to csv file??</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276933#M52852</link>
      <description>&lt;P&gt;how to get the data from post request to trestclient and convert json data to csv file??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in postman i am able to get the data from post request.&lt;/P&gt;
&lt;P&gt;URL :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://io_dynamics_crm_data/entity_name" target="_blank"&gt;https://io_dynamics_crm_data/entity_name&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;body:&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"TimeStamp_Input": "2019-02-10T02:00:00.00Z",&lt;BR /&gt;"EntityAndEventsJSON_Input": "{\"EntityAndEventsList\":{\"EntityName\":\"indskr_positiongroups\",\"Events\":[33,34]}}"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;result:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"@odata.context": "&lt;A href="https://io-dynamics.com/data/v8.2/$metadata#Microsoft.Dynamics" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://io-dynamics.com/data/v8.2/$metadata#Microsoft.Dynamics&lt;/A&gt;.",&lt;BR /&gt;"JSONOutput": "{\"AuditDataSet\":[{\"AuditID\":\"cdbb2002-9430-e911-b8b3-0004ff9d738f\",\"ChangedBy\":\"a6eba981-bb15-e911-a981-000d3af49b9e\",\"ChangedColumns\":null}]&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to get the data from the trestclient to invoke the body to the trestclient.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276933#M52852</guid>
      <dc:creator>amit_n</dc:creator>
      <dc:date>2024-11-16T06:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the data from post request to trestclient and convert json data to csv file??</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276934#M52853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Did you try tRest Component instead of tRestClient? Please refer the link below for details.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/8F133z8E6BVS9WpHKRkYUw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/8F133z8E6BVS9WpHKRkYUw&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;The output data can be transferred parsed by JSON extract component of Talend and can be further passed to csv output file.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 08:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276934#M52853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-20T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the data from post request to trestclient and convert json data to csv file??</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276935#M52854</link>
      <description>&lt;P&gt;i tried with the different method ..i have used the json string and pass it to the trestclient component.&lt;/P&gt;&lt;P&gt;now i am able to get the response in the i tlogrow. I have attached the screen shot of the trestlient post response . please let me know how to extract these response through textractfiledjson or any other component to convert it into csv file.&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/0683p000009Lv20"&gt;json1.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lut4"&gt;json2.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuXc"&gt;json3.JPG&lt;/A&gt;</description>
      <pubDate>Thu, 21 Feb 2019 05:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276935#M52854</guid>
      <dc:creator>amit_n</dc:creator>
      <dc:date>2019-02-21T05:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the data from post request to trestclient and convert json data to csv file??</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276936#M52855</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please refer the below posts so that you will get idea about how to extract JSON fields.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/hm5FaPiiOP31nUYHph0JwQ/LcNrhqdlyheCLpwyUwgJQw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/hm5FaPiiOP31nUYHph0JwQ/LcNrhqdlyheCLpwyUwgJQw&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrpgCAC" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Consuming-REST-API-and-extracting-JSON-Fields/td-p/52975&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The second link is a real world example done by one of the Talend community member.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This should give you a path to resolve your use case.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 05:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276936#M52855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-21T05:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the data from post request to trestclient and convert json data to csv file??</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276937#M52856</link>
      <description>&lt;P&gt;I have tried with the textractjsonfield to extract the data from response from trestrest client.&lt;/P&gt;&lt;P&gt;I am getting blank . Please find the attached screen shot. let me know where m doing wrong.&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/0683p000009Lv2n"&gt;response_data_trestclient.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Luom"&gt;json1.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv37"&gt;json2.JPG&lt;/A&gt;</description>
      <pubDate>Thu, 21 Feb 2019 12:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276937#M52856</guid>
      <dc:creator>amit_n</dc:creator>
      <dc:date>2019-02-21T12:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the data from post request to trestclient and convert json data to csv file??</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276938#M52857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Your JSON output seems to be embedded in a XML message. Why are you not parsing the XML first?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You will have to first pick the JSON Ouput message and then parse the data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please use tLogrow at each stage till you get correct output. Then you will be able to monitor the results in each stage and can identify the error also easily.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-the-data-from-post-request-to-trestclient-and-convert/m-p/2276938#M52857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-21T13:01:50Z</dc:date>
    </item>
  </channel>
</rss>

