<?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 Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248657#M33443</link>
    <description>&lt;P&gt;I just share my idea here someone please help me out.&lt;/P&gt;
&lt;P&gt;Scenario 1:&lt;/P&gt;
&lt;P&gt;Firstly through trest&amp;nbsp;component extracting XML&amp;nbsp;data and saving those data into one table.say that table name as (XMLDATA)&lt;/P&gt;
&lt;P&gt;Later from XMLDATA table have to get specific fields and load those into target table (TaxResult).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Scenario 2:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From trest component is this possible to call Table(XMLDATA) &amp;nbsp;and Load&amp;nbsp;&lt;SPAN&gt;specific fields&amp;nbsp;into target table (TaxResult).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please, someone, tell me the possibilities.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It would be grateful if you share with example screenshots.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks In Advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2017 08:33:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-04T08:33:38Z</dc:date>
    <item>
      <title>How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248656#M33442</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I would Like to know how to read JSON/XML data from API and Load into MySQL&amp;nbsp;table.&lt;/P&gt;&lt;P&gt;Usually, we will give some XML&amp;nbsp;or JSON&amp;nbsp;data in HTTP body, Is there any ways to call table in Http body in tRest&amp;nbsp;component inTalend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I look forward to hearing from you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 07:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248656#M33442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T07:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248657#M33443</link>
      <description>&lt;P&gt;I just share my idea here someone please help me out.&lt;/P&gt;
&lt;P&gt;Scenario 1:&lt;/P&gt;
&lt;P&gt;Firstly through trest&amp;nbsp;component extracting XML&amp;nbsp;data and saving those data into one table.say that table name as (XMLDATA)&lt;/P&gt;
&lt;P&gt;Later from XMLDATA table have to get specific fields and load those into target table (TaxResult).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Scenario 2:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From trest component is this possible to call Table(XMLDATA) &amp;nbsp;and Load&amp;nbsp;&lt;SPAN&gt;specific fields&amp;nbsp;into target table (TaxResult).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please, someone, tell me the possibilities.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It would be grateful if you share with example screenshots.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks In Advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 08:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248657#M33443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T08:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248658#M33444</link>
      <description>&lt;P&gt;For Scenario 1, I think it's pretty straight forward,&lt;/P&gt; 
&lt;P&gt;You just have to configure the tRestComponent to retrieve the XML data and then connect it to tExtractXMLField component.&lt;/P&gt; 
&lt;P&gt;Finally the output of the tExtractXMLField goes to the tMySQLOutput Component.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extractXML.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LttS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144000i6907E3D37630CE4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LttS.png" alt="0683p000009LttS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I need more information for Scenario 2. I don't understand why you would need to use tRest Component to retrieve data from a table.&amp;nbsp;I am guessing you don't really need it if what I have mentioned works.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Let me know what you think.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 10:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248658#M33444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T10:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248659#M33445</link>
      <description>Is a URL available for your API calling? If so, try to use tRest or tRestClient component to call your API, tRest component will returns a XML/Json string, and then, use a tExtractXMLField or tExtractJsonField to extract data from the return string, insert the data to target table, a simple job design looks like: 
&lt;BR /&gt;tRest--main--tExtractXMLField--main--tMysqlOutput. 
&lt;BR /&gt; 
&lt;BR /&gt;Please read the documentation of these two components and learn them. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 04 May 2017 10:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248659#M33445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248660#M33446</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have URL for API.&lt;/P&gt; 
&lt;P&gt;below is the extracted data from the component tRest&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;job is : tRest----main---tlogrow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-15"?&amp;gt;&lt;/P&gt; 
&lt;P&gt;-&amp;lt;root&amp;gt;&lt;/P&gt; 
&lt;P&gt;-&amp;lt;row&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;Body&amp;gt;&amp;lt;GetTaxResult&amp;gt; &amp;lt;ResultCode&amp;gt;Success&amp;lt;/ResultCode&amp;gt; &amp;lt;DocDate&amp;gt;2015-12-08&amp;lt;/DocDate&amp;gt; &amp;lt;Timestamp&amp;gt;2017-05-04T07:45:39.119779Z&amp;lt;/Timestamp&amp;gt; &amp;lt;TotalAmount&amp;gt;10&amp;lt;/TotalAmount&amp;gt; &amp;lt;TotalDiscount&amp;gt;0&amp;lt;/TotalDiscount&amp;gt; &amp;lt;TotalExemption&amp;gt;0&amp;lt;/TotalExemption&amp;gt; &amp;lt;TotalTaxable&amp;gt;10&amp;lt;/TotalTaxable&amp;gt; &amp;lt;TotalTax&amp;gt;0.72&amp;lt;/TotalTax&amp;gt; &amp;lt;TotalTaxCalculated&amp;gt;0.72&amp;lt;/TotalTaxCalculated&amp;gt; &amp;lt;TaxDate&amp;gt;2015-12-08&amp;lt;/TaxDate&amp;gt; &amp;lt;DocCode&amp;gt;364cfaa2-6567-48a2-afed-040cf35c905e&amp;lt;/DocCode&amp;gt; &amp;lt;TaxLines&amp;gt;&amp;lt;TaxLine&amp;gt;&amp;lt;LineNo&amp;gt;01&amp;lt;/LineNo&amp;gt; &amp;lt;TaxCode&amp;gt;P0000000&amp;lt;/TaxCode&amp;gt; &amp;lt;Taxability&amp;gt;true&amp;lt;/Taxability&amp;gt; &amp;lt;BoundaryLevel&amp;gt;Zip5&amp;lt;/BoundaryLevel&amp;gt; &amp;lt;Exemption&amp;gt;0&amp;lt;/Exemption&amp;gt; &amp;lt;Discount&amp;gt;0&amp;lt;/Discount&amp;gt; &amp;lt;Taxable&amp;gt;10&amp;lt;/Taxable&amp;gt; &amp;lt;Rate&amp;gt;0.071250&amp;lt;/Rate&amp;gt; &amp;lt;Tax&amp;gt;0.72&amp;lt;/Tax&amp;gt; &amp;lt;TaxCalculated&amp;gt;0.72&amp;lt;/TaxCalculated&amp;gt; &amp;lt;TaxDetails&amp;gt;&amp;lt;TaxDetail&amp;gt;&amp;lt;Country&amp;gt;US&amp;lt;/Country&amp;gt; &amp;lt;Region&amp;gt;MN&amp;lt;/Region&amp;gt; &amp;lt;JurisType&amp;gt;State&amp;lt;/JurisType&amp;gt; &amp;lt;JurisCode&amp;gt;27&amp;lt;/JurisCode&amp;gt; &amp;lt;Taxable&amp;gt;10&amp;lt;/Taxable&amp;gt; &amp;lt;Rate&amp;gt;0.068750&amp;lt;/Rate&amp;gt; &amp;lt;Tax&amp;gt;0.69&amp;lt;/Tax&amp;gt; &amp;lt;JurisName&amp;gt;MINNESOTA&amp;lt;/JurisName&amp;gt; &amp;lt;TaxName&amp;gt;MN STATE TAX&amp;lt;/TaxName&amp;gt; &amp;lt;/TaxDetail&amp;gt; &amp;lt;TaxDetail&amp;gt;&amp;lt;Country&amp;gt;US&amp;lt;/Country&amp;gt; &amp;lt;Region&amp;gt;MN&amp;lt;/Region&amp;gt; &amp;lt;JurisType&amp;gt;Special&amp;lt;/JurisType&amp;gt; &amp;lt;JurisCode&amp;gt;80002&amp;lt;/JurisCode&amp;gt; &amp;lt;Taxable&amp;gt;10&amp;lt;/Taxable&amp;gt; &amp;lt;Rate&amp;gt;0.002500&amp;lt;/Rate&amp;gt; &amp;lt;Tax&amp;gt;0.03&amp;lt;/Tax&amp;gt; &amp;lt;JurisName&amp;gt;TRANSIT IMPROVEMENT TAX&amp;lt;/JurisName&amp;gt; &amp;lt;TaxName&amp;gt;MN SPECIAL TAX&amp;lt;/TaxName&amp;gt; &amp;lt;/TaxDetail&amp;gt; &amp;lt;/TaxDetails&amp;gt; &amp;lt;/TaxLine&amp;gt; &amp;lt;/TaxLines&amp;gt; &amp;lt;TaxAddresses&amp;gt;&amp;lt;TaxAddress&amp;gt;&amp;lt;AddressCode&amp;gt;01&amp;lt;/AddressCode&amp;gt; &amp;lt;City&amp;gt;Eagan&amp;lt;/City&amp;gt; &amp;lt;Country&amp;gt;US&amp;lt;/Country&amp;gt; &amp;lt;PostalCode&amp;gt;55123&amp;lt;/PostalCode&amp;gt; &amp;lt;Region&amp;gt;MN&amp;lt;/Region&amp;gt; &amp;lt;TaxRegionId&amp;gt;2076383&amp;lt;/TaxRegionId&amp;gt; &amp;lt;JurisCode&amp;gt;2700000000&amp;lt;/JurisCode&amp;gt; &amp;lt;/TaxAddress&amp;gt; &amp;lt;/TaxAddresses&amp;gt; &amp;lt;/GetTaxResult&amp;gt; &amp;lt;/Body&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;ERROR_CODE/&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;/row&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;/root&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's tough to identify the XPath&amp;nbsp;query.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 10:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248660#M33446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T10:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248661#M33447</link>
      <description>The Rest Web service returns a XML string, you can use tExtractXMLField to extract the data you want, what data do you want to extract? Take a look at tExtractXMLField component and let me know if you have troubles to use this component. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2017 10:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248661#M33447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T10:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248662#M33448</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello ArvinRapt,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My Scenario 2 is Instead of Giving values in HTTP body either XML/Json,I would like to pass dynamic values in my url.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;please have a look at the screenshot.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="httpbody.PNG" style="width: 950px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtX3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135288i5870CC02BE51921F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtX3.png" alt="0683p000009LtX3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Instead of passing these values in Body, Is there any possibilities to give DocDate values dynamically in the URL.&lt;/P&gt; 
&lt;P&gt;So that we can retrieve data&amp;nbsp;based on date.&lt;/P&gt; 
&lt;P&gt;if it is possible then have to load those data into the table, only&amp;nbsp;the fields which are all necessary.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 12:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248662#M33448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248663#M33449</link>
      <description>&lt;P&gt;Well it depends on how the API that you are calling works. If the API has the capability to fetch the values based on the date, then absolutely.&lt;/P&gt; 
&lt;P&gt;You just have to use a context variable for the docDate field and reference it in the URL as per the format that the API requires.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do you have a sample URL request that can fetch values based on the docDate field? and do you need to execute this request for a number of dates? Depending on these, your job design might vary.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 12:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2248663#M33449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-04T12:30:41Z</dc:date>
    </item>
  </channel>
</rss>

