What's new in Customer Journeys?

Connect and learn more! ×
How to give Date range in API Calls in Oracle Digital Assistant — 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

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

Received Response
79
Views
1
Comments

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!