passing date values to rest api from scheduled job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 08:38 PM
I am trying to pass date values using setStringParameterNoEscape() but doesnt see to be taking the dates.
setStringParameterNoEscape('fromDate', yesterday);
I have the right dates when I print to logs. Is there something specific that needs to be done for date values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 09:46 PM
Hello,
Can you help us with the code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 09:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 10:10 PM
Below posts are some what similar to requirement. You can try the approach suggested -
Also, I can see you are passing yesterday variable to both from and to date parameter. Please check on that.
Please mark this response as correct and helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 10:24 PM
Have you created the query param?