I just wondering if you can assist us with following issue regarding retrieving data via Web Service endpoints filtered by date time range. I created a General Inquiry that retrieves all open orders (SO) and expose it via Web Service Endpoint(6.00.001):
And here is the mapping for my GI used in custom endpoint:
The issue I am facing now is that when I try to filter by datetime field (DueDate) between a date time range it does not work. I can only make it work if I filter by DueDate greater than or DueDate lower than using datetimeoffset but not between the datetime range.
Do you have any example of URL I can use to filter a Web Service Endpoint by datetime range?.
Thanks,
The correct way to map a GI in a Contract-Based Endpoint is as follows:
To retrieve data from your GI, simply send PUT command with date range defined in request body and expand query parameter, 100% mandatory in this case, to request the list of sales orders satisfying filter conditions:
../entity/ExtendedDefault/6.00.001/GetOrdersToBePicked?$expand=OrdersToBePicked