<?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] Input for Rest Body without Root node? Alternative to map Rest Body? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371420#M134366</link>
    <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0tJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157238iED2E06E08CD4F4B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0tJ.png" alt="0683p000009M0tJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Like you can see in the picture above i got the same problem, i don't want that root item there. But when i check the "Drop json request root", i get the error message below, which is very strange because when i dont check the ""drop json request", all the request go straight to my database (but with the root :s)&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0qQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131402iD77F085614AD3CAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0qQ.png" alt="0683p000009M0qQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 309px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0rK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137707i3AF1DE1B75CD0A02/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0rK.png" alt="0683p000009M0rK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 394px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0tO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135460iE3E18C0E2B42428D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0tO.png" alt="0683p000009M0tO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;Here you can see some of my configuration, hope you guys can help me &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;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 13:52:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-06T13:52:25Z</dc:date>
    <item>
      <title>[resolved] Input for Rest Body without Root node? Alternative to map Rest Body?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371417#M134363</link>
      <description>Hi,
&lt;BR /&gt;i am new with talend and I am trying to send a JSON file which I am reading from the file system to a rest resource.
&lt;BR /&gt;As I understood correctly from the tutorial (see below), I need to use the tXMLMap Component to map my JSON attributes to a Document called "body". This Body is then send to Rest Client.
&lt;BR /&gt;Tutorial used: 
&lt;A href="https://help.talend.com/search/all?query=tRESTClient&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tRESTClient&amp;amp;content-lang=en&lt;/A&gt;
&lt;BR /&gt;So far so good. But the body comes with a default root node that encapsulates my whole json like this:
&lt;BR /&gt;
&lt;PRE&gt;{"root":{"name":"my name", "description": "my description"}}&lt;/PRE&gt;
&lt;BR /&gt;What I do need though is the REST Body to be without the root node, like this:
&lt;BR /&gt;
&lt;PRE&gt;{"name":"my name", "description": "my description"}&lt;/PRE&gt;
&lt;BR /&gt;As seen in the screenshot below, I would like to map the elements directly to under the body node.
&lt;BR /&gt;
&lt;A href="http://postimg.org/image/5sw6wi6ut/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://postimg.org/image/5sw6wi6ut/&lt;/A&gt;
&lt;BR /&gt;
&lt;B&gt;Is it possible to map elements directly under the body? Is there maybe another way to map the body content of the rest call?&lt;/B&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371417#M134363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input for Rest Body without Root node? Alternative to map Rest Body?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371418#M134364</link>
      <description>Hi 
&lt;BR /&gt;On the advanced settings panel of tRestClient, there is an option called 'Drop Json request root' can remove the root node. 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAh9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148309i1D9F7ECD47808681/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAh9.png" alt="0683p000009MAh9.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 21 Aug 2013 10:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371418#M134364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-21T10:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input for Rest Body without Root node? Alternative to map Rest Body?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371419#M134365</link>
      <description>That did it.&lt;BR /&gt;Thank you very much.</description>
      <pubDate>Wed, 21 Aug 2013 10:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371419#M134365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-21T10:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Input for Rest Body without Root node? Alternative to map Rest Body?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371420#M134366</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0tJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157238iED2E06E08CD4F4B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0tJ.png" alt="0683p000009M0tJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Like you can see in the picture above i got the same problem, i don't want that root item there. But when i check the "Drop json request root", i get the error message below, which is very strange because when i dont check the ""drop json request", all the request go straight to my database (but with the root :s)&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0qQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131402iD77F085614AD3CAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0qQ.png" alt="0683p000009M0qQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 309px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0rK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137707i3AF1DE1B75CD0A02/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0rK.png" alt="0683p000009M0rK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 394px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0tO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135460iE3E18C0E2B42428D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0tO.png" alt="0683p000009M0tO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;Here you can see some of my configuration, hope you guys can help me &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;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 13:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Input-for-Rest-Body-without-Root-node-Alternative-to/m-p/2371420#M134366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-06T13:52:25Z</dc:date>
    </item>
  </channel>
</rss>

