Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
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.
"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 & i'm able to get data.
I've tried these but it's not working:
"start_date" : TalendDate.addDate(TalendDate.getCurrentDate(),"yyyy-MM-dd",-2,"dd")
"end_date" :
TalendDate.getCurrentDate()
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!
Hi @Manohar B do you have any idea on above issue? I would like to pass the value of TalendDate.getCurrentDate() to http request body.
Appreciate your help on this. Thanksss