<?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 How to send post REST payload for each record set in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331177#M100186</link>
    <description>I basically just want to iterate over each row of user account data from a source file or DB or source connector or whatever and make a REST call for each row i.e. pass this row of data as an xml payload to the REST Client which then creates an account for each user account. 
&lt;BR /&gt;At the moment this flow only processes the last record (I think), and I just get confirmation response that one user account has been created. 
&lt;BR /&gt;I need to use tREStClient , not the tREST web client as I'm passing a dynamically created xml payload and dynamically setting a authorization token. 
&lt;BR /&gt; 
&lt;BR /&gt;Any assistance on this, would be much appreciated, Cheers. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152544iC293CC8FC9B14BB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB9p.png" alt="0683p000009MB9p.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:07:52 GMT</pubDate>
    <dc:creator>synfield</dc:creator>
    <dc:date>2024-11-16T11:07:52Z</dc:date>
    <item>
      <title>How to send post REST payload for each record set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331177#M100186</link>
      <description>I basically just want to iterate over each row of user account data from a source file or DB or source connector or whatever and make a REST call for each row i.e. pass this row of data as an xml payload to the REST Client which then creates an account for each user account. 
&lt;BR /&gt;At the moment this flow only processes the last record (I think), and I just get confirmation response that one user account has been created. 
&lt;BR /&gt;I need to use tREStClient , not the tREST web client as I'm passing a dynamically created xml payload and dynamically setting a authorization token. 
&lt;BR /&gt; 
&lt;BR /&gt;Any assistance on this, would be much appreciated, Cheers. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152544iC293CC8FC9B14BB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB9p.png" alt="0683p000009MB9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331177#M100186</guid>
      <dc:creator>synfield</dc:creator>
      <dc:date>2024-11-16T11:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to send post REST payload for each record set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331178#M100187</link>
      <description>Can you please add a logging component just before tRESTClient to confirm you get all records passed to tRESTClient, and also configure tRESTClient itself to log the requests, and let us know the details...
&lt;BR /&gt;Sergey</description>
      <pubDate>Fri, 24 Jul 2015 08:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331178#M100187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-24T08:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to send post REST payload for each record set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331179#M100188</link>
      <description>Hi synfield,
&lt;BR /&gt;From your screenshot it looks like the subjob containing the tRESTClient will only execute once, after all the Foreach iterations have completed above.
&lt;BR /&gt;Have you tried connecting your tXMLMap and tRESTClient directly after your tJavaRow? e.g.
&lt;BR /&gt;
&lt;BR /&gt;tForEach --&amp;gt; Account --&amp;gt; tJavaRow --&amp;gt; tXMLMap --&amp;gt; tRESTClient</description>
      <pubDate>Fri, 24 Jul 2015 14:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331179#M100188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-24T14:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to send post REST payload for each record set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331180#M100189</link>
      <description>Thanks Guys, for your responses have got this working now.&lt;BR /&gt;Salesforce Account --&amp;gt; tXMLMap --&amp;gt; tRESTClient</description>
      <pubDate>Mon, 27 Jul 2015 23:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-send-post-REST-payload-for-each-record-set/m-p/2331180#M100189</guid>
      <dc:creator>synfield</dc:creator>
      <dc:date>2015-07-27T23:25:44Z</dc:date>
    </item>
  </channel>
</rss>

