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

Error in REST Saved Query using dates

Summary:

We have the requirement to recover the shipment information with a simple saved query in OTM through REST APIs. We're trying to use Advanced Queries, leveraging a configured saved query in OTM and parameters in the body request.

The problem is that when we try to use dates, OTM gives always back an Internal Server Error. Can anybody help?

No error is encountered when the variables related to the dates are removed from request and query.

Content:

Version: 25C

Code Snippet:

{    "copiedFrom": "XXXX.REST_SHIPMENT_QUERY",  "parameterValues": {        "SERVPROV": "XXXX.****",        "SOURCE": "XXXXX.XXXXXXXXXXXXX",        "START" : "2025-07-04T00:00:00+02:00",        "END" : "2025-07-04T23:59:59+02:00"    }}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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