Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Need query parameter format to call REST API with date condition — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Need query parameter format to call REST API with date condition

Received Response
edited Dec 10, 2020 5:34AM in Supply Chain Planning and Collaboration 1 comment


Call fscmRestApi/resources/ with query parameter on ScheduleDueDate fall in next 30 days



Can you please advice on how to pass date condition to a REST API call in query parameter to fetch where schedule due date fall in next 30 days. Like ScheduleDueDate <= sysdate - 30. if i use sysdate - 30 i am getting an error message like wrong format. 


Kindly advice.

REST API call URL: https://hostname.oraclecloud.com/fscmRestApi/resources/ lt sysdate - 10;&offset=5000&limit=1000&totalResults=true 


An instance of type java.sql.Date cannot be created from string lt sysdate - 10. The string value must be in format YYYY-MM-DD.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!