<?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: [resolved] API JSON output to Excel in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252180#M35904</link>
    <description>I think You need attach some pictures of Your Job, and provide little more information about API 
&lt;BR /&gt;If Your API return to You element as array and You extract JSON by JSONPath - You must use (where xxx - number in array) 
&lt;BR /&gt;some time more easy trick - remove by replaceAll [] and than use tNormalize &amp;nbsp; 
&lt;BR /&gt;the benefits - no loops, do not need know size of array 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDV8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144379iBF7277F1B0BB0A44/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDV8.png" alt="0683p000009MDV8.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDVD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145683i594597A37770FBC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDVD.png" alt="0683p000009MDVD.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Mon, 27 Feb 2017 08:47:18 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2017-02-27T08:47:18Z</dc:date>
    <item>
      <title>[resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252179#M35903</link>
      <description>Hi All,&lt;BR /&gt;I have created a job (screenshot below) using REST Client &amp;amp; ExtractJSON Fields to insert data into excel or into Salesforce object. I need output data from extract json fields in multiple rows but I am getting data in single column with all the row values (Example below). Can you please provide suggestions to achive this.&lt;BR /&gt;Example:&lt;BR /&gt;Title &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status&lt;BR /&gt; &amp;nbsp;</description>
      <pubDate>Sat, 16 Nov 2024 10:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252179#M35903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252180#M35904</link>
      <description>I think You need attach some pictures of Your Job, and provide little more information about API 
&lt;BR /&gt;If Your API return to You element as array and You extract JSON by JSONPath - You must use (where xxx - number in array) 
&lt;BR /&gt;some time more easy trick - remove by replaceAll [] and than use tNormalize &amp;nbsp; 
&lt;BR /&gt;the benefits - no loops, do not need know size of array 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDV8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144379iBF7277F1B0BB0A44/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDV8.png" alt="0683p000009MDV8.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDVD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145683i594597A37770FBC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDVD.png" alt="0683p000009MDVD.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 27 Feb 2017 08:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252180#M35904</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-02-27T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252181#M35905</link>
      <description>Hi Vapukov,&lt;BR /&gt;I have uploaded the job image but not sure why its not getting displayed in the post.&amp;nbsp;&lt;BR /&gt;I have attached sample output JSON data file from API. I tried to use tnormalizwe in same path due which i was getting multile rows.&lt;BR /&gt;API_Ouput.txt.txt&lt;BR /&gt;I am not able to add the screenshots or files . Can you please help.</description>
      <pubDate>Mon, 27 Feb 2017 23:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252181#M35905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-27T23:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252182#M35906</link>
      <description>It very easy - edit You post unless You will see pictures 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;In other cases - no way to help You</description>
      <pubDate>Tue, 28 Feb 2017 00:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252182#M35906</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-02-28T00:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252183#M35907</link>
      <description>Hi Vapukov,&lt;BR /&gt;Not sure what the issue i am not able to upload image or file.&lt;BR /&gt;Please share you email. I can forward the attachmants.&lt;BR /&gt;API JSON Output:&lt;BR /&gt;{&lt;BR /&gt;"count": 1,&lt;BR /&gt;"workspaces": {&lt;BR /&gt;"10380637": {&lt;BR /&gt;"title": "Dylan's Internal Projects",&lt;BR /&gt;"status": {&lt;BR /&gt;"color": "green",&lt;BR /&gt;"message": "Active",&lt;BR /&gt;"key": 300&lt;BR /&gt;},&lt;BR /&gt;"account_features": {&lt;BR /&gt;"time_trackable": false,&lt;BR /&gt;"has_time_entry_role_picker": true&lt;BR /&gt;},&lt;BR /&gt;"permissions": {&lt;BR /&gt;"can_upload_files": true,&lt;BR /&gt;"can_private_message": true,&lt;BR /&gt;"can_join": false,&lt;BR /&gt;"is_participant": true,&lt;BR /&gt;"access_level": "admin",&lt;BR /&gt;"team_lead": true,&lt;BR /&gt;"user_is_client": false,&lt;BR /&gt;"can_change_price": true,&lt;BR /&gt;"can_change_story_billable": true&lt;BR /&gt;},&lt;BR /&gt;"id": "10380637"&lt;BR /&gt;}&lt;BR /&gt;"10380638": {&lt;BR /&gt;"title": "Tom's Internal Projects",&lt;BR /&gt;"status": {&lt;BR /&gt;"color": "Red",&lt;BR /&gt;"message": "Active",&lt;BR /&gt;"key": 300&lt;BR /&gt;},&lt;BR /&gt;"account_features": {&lt;BR /&gt;"time_trackable": false,&lt;BR /&gt;"has_time_entry_role_picker": true&lt;BR /&gt;},&lt;BR /&gt;"permissions": {&lt;BR /&gt;"can_upload_files": true,&lt;BR /&gt;"can_private_message": true,&lt;BR /&gt;"can_join": false,&lt;BR /&gt;"is_participant": true,&lt;BR /&gt;"access_level": "admin",&lt;BR /&gt;"team_lead": true,&lt;BR /&gt;"user_is_client": false,&lt;BR /&gt;"can_change_price": true,&lt;BR /&gt;"can_change_story_billable": true&lt;BR /&gt;},&lt;BR /&gt;"id": "10380637"&lt;BR /&gt;}&lt;BR /&gt;"10380639": {&lt;BR /&gt;"title": "Luisa's Internal Projects",&lt;BR /&gt;"status": {&lt;BR /&gt;"color": "Yellow",&lt;BR /&gt;"message": "Active",&lt;BR /&gt;"key": 300&lt;BR /&gt;},&lt;BR /&gt;"account_features": {&lt;BR /&gt;"time_trackable": false,&lt;BR /&gt;"has_time_entry_role_picker": true&lt;BR /&gt;},&lt;BR /&gt;"permissions": {&lt;BR /&gt;"can_upload_files": true,&lt;BR /&gt;"can_private_message": true,&lt;BR /&gt;"can_join": false,&lt;BR /&gt;"is_participant": true,&lt;BR /&gt;"access_level": "admin",&lt;BR /&gt;"team_lead": true,&lt;BR /&gt;"user_is_client": false,&lt;BR /&gt;"can_change_price": true,&lt;BR /&gt;"can_change_story_billable": true&lt;BR /&gt;},&lt;BR /&gt;"id": "10380637"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"results": &lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Current OutPut:&lt;BR /&gt;Title &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Id&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need optuput in multile rows.&lt;BR /&gt;Title &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status &amp;nbsp; Id&lt;BR /&gt;Dylan's Internal Projects &amp;nbsp; Green &amp;nbsp;10380637&lt;BR /&gt;Tom's Internal Project &amp;nbsp; &amp;nbsp; &amp;nbsp; Red &amp;nbsp; &amp;nbsp; 10380638&lt;BR /&gt;Luisa's Internal Project &amp;nbsp; &amp;nbsp; Yellow &amp;nbsp;10380637</description>
      <pubDate>Tue, 28 Feb 2017 02:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252183#M35907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-28T02:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252184#M35908</link>
      <description>it more than enough, I will answer little later today
&lt;BR /&gt;by the way - what source of data (which database? or provider)</description>
      <pubDate>Tue, 28 Feb 2017 02:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252184#M35908</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-02-28T02:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252185#M35909</link>
      <description>&amp;nbsp;I have getting data from&amp;nbsp;&lt;A href="http://developer.mavenlink.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;Mavenlink&lt;/A&gt;&amp;nbsp;API.&amp;nbsp;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vikas.</description>
      <pubDate>Tue, 28 Feb 2017 02:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252185#M35909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-28T02:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252186#M35910</link>
      <description>ok, let start from the end&amp;nbsp; 
&lt;BR /&gt;The similar problem present with many API systems, and each have different solution (later), but finally, for extract proper information, You must use proper JSON Path: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDP2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154765iDD4AC247FF791C4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDP2.png" alt="0683p000009MDP2.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;where (String)globalMap.get("v_key") it is Your ID 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDM7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134270i0090757AAFA4E749/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDM7.png" alt="0683p000009MDM7.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDH8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138827iB4E3BFB2BA8646C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDH8.png" alt="0683p000009MDH8.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;as You can see - we make a loop for all possible ID, than use each value as query parameter on next steps 
&lt;BR /&gt;and final result - as expected 
&lt;BR /&gt;This is was The end of story ... How to fetch this list of ID? it always different&amp;nbsp; 
&lt;BR /&gt;Some systems like Google FireBase where I meet this problem first time have special query parameter "shallow" which return on list of Keys 
&lt;BR /&gt;I not familiar with Mavelink, so You need read how to request only ID from workspace 
&lt;BR /&gt;Or You need write custom routine to do this from file. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDKv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131397iA8DD3D20896858D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDKv.png" alt="0683p000009MDKv.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 28 Feb 2017 04:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252186#M35910</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-02-28T04:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252187#M35911</link>
      <description>as additional post: 
&lt;BR /&gt;all described above, because in JOSN not included proper id - no any chances to extract Key Name from Talend 
&lt;BR /&gt;all other columns You can extract more easy: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDVN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143986i8C76FE077ECF28EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDVN.png" alt="0683p000009MDVN.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDVS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157013i1F6B9D6B402F0A23/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDVS.png" alt="0683p000009MDVS.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;but because id - it is not correct, some other system include _id in JSON body with unique name and all work fine 
&lt;BR /&gt;as example - 
&lt;A href="http://developer.mavenlink.com/#response-format" target="_blank" rel="nofollow noopener noreferrer"&gt;they own docs&lt;/A&gt;, they have id in JSON body, so may be it just Yours error when copy, if all id different, result will be correct 
&lt;BR /&gt; 
&lt;BR /&gt;and my first post related to normalise, was about array constructions similar to: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;"results": &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;and again if You proper copy JSON, You can extract id list from Results: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDHM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139585i6ACD29838B974E9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDHM.png" alt="0683p000009MDHM.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDVX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142995i3A5B5972AB7D1CF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDVX.png" alt="0683p000009MDVX.png" /&gt;&lt;/span&gt;it is from documentation web page, but not from Your example</description>
      <pubDate>Tue, 28 Feb 2017 04:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252187#M35911</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-02-28T04:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] API JSON output to Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252188#M35912</link>
      <description>Thank you so much. I am able to get the desired output in tabular format.&lt;BR /&gt;Warm Regards,&lt;BR /&gt;Vikas.</description>
      <pubDate>Tue, 28 Feb 2017 12:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-API-JSON-output-to-Excel/m-p/2252188#M35912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-28T12:49:25Z</dc:date>
    </item>
  </channel>
</rss>

