Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

How to give Date range in API Calls in Oracle Digital Assistant

Summary:

Date Range in API is not working

Content (required):

I am using the below query parameter q=PurchaseOrderNumber IS NOT NULL and InvoiceDate>=${startDate} and InvoiceDate<=${endDate} in invoices API but its not working in ODA. The exact query is below:

https://xx.com/fscmRestApi/resources/11.13.18.05/invoices?q=PurchaseOrderNumber IS NOT NULL and InvoiceDate>'2022-08-01' and InvoiceDate<'2022-09-01'&totalResults=true&fields=InvoiceNumber,InvoiceDate,CreationDate&onlyData=true. I have also added Rest Framework Version as 9 in the headers.

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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