on ‎2024 Sep 02 9:54 AM
Dear Experts,
I am trying to perform a GET call through HTTP adapter or POSTMAN based on LastChangeDateTime value and the query is as below but getting 400 error. with out the below query parameter I am able to fetch records even select fields
https://<host>/sap/opu/odata4/sap/api_purchaseorder_2/srvd_a2x/sap/purchaseorder/0001/PurchaseOrder?$filter=LastChangeDateTime ge datetimeoffset'2024-01-01T00:00:00.000000Z'
And the records look like below
Please suggest what could be the issue here
Request clarification before answering.
I suppose this is an oData V4 service. Data types (for time) and their literal representations in URls are different for oData 4 from oData V2. The following should work.
$filter=LastChangeDateTime ge 2024-01-01T00:00:00.000000Z
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.