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):