<?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 dynamic tREST HTTP body in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/dynamic-tREST-HTTP-body/m-p/2301887#M73929</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently extracting data from an API with below request body. However I'm not able to get TalendDate routines passed to the request body. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AFBCeAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152869iF5325A094CE9B4F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AFBCeAAP.jpg" alt="0693p00000AFBCeAAP.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"start_date" should be 2 days before the current date and "end_date" should be the current date. if i hardcode the dates like in the screenshot it's working fine &amp;amp; i'm able to get data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried these but it's not working:&lt;/P&gt;&lt;P&gt;"start_date" : TalendDate.addDate(TalendDate.getCurrentDate(),"yyyy-MM-dd",-2,"dd")&lt;/P&gt;&lt;P&gt;"end_date" : &lt;/P&gt;&lt;P&gt;TalendDate.getCurrentDate()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried adding double quotes and + at the start but also unable to get the data for that date range. Please help if i missed out anything or if there are other solutions to this. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:14:55 GMT</pubDate>
    <dc:creator>SR2210</dc:creator>
    <dc:date>2024-11-16T01:14:55Z</dc:date>
    <item>
      <title>dynamic tREST HTTP body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamic-tREST-HTTP-body/m-p/2301887#M73929</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently extracting data from an API with below request body. However I'm not able to get TalendDate routines passed to the request body. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AFBCeAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152869iF5325A094CE9B4F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AFBCeAAP.jpg" alt="0693p00000AFBCeAAP.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"start_date" should be 2 days before the current date and "end_date" should be the current date. if i hardcode the dates like in the screenshot it's working fine &amp;amp; i'm able to get data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried these but it's not working:&lt;/P&gt;&lt;P&gt;"start_date" : TalendDate.addDate(TalendDate.getCurrentDate(),"yyyy-MM-dd",-2,"dd")&lt;/P&gt;&lt;P&gt;"end_date" : &lt;/P&gt;&lt;P&gt;TalendDate.getCurrentDate()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried adding double quotes and + at the start but also unable to get the data for that date range. Please help if i missed out anything or if there are other solutions to this. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamic-tREST-HTTP-body/m-p/2301887#M73929</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2024-11-16T01:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic tREST HTTP body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dynamic-tREST-HTTP-body/m-p/2301888#M73930</link>
      <description>&lt;P&gt;Hi @Manohar B​&amp;nbsp;do you have any idea on above issue? I would like to pass the value of TalendDate.getCurrentDate() to http request body. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help on this. Thanksss&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 06:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dynamic-tREST-HTTP-body/m-p/2301888#M73930</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2020-10-26T06:46:42Z</dc:date>
    </item>
  </channel>
</rss>

