OTM Export API is not returning json response — 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

OTM Export API is not returning json response

i am getting a 400 error, Content error in message body. When i change the content Type to  "application/json"

API: logisticsRestApi/data-int/v1/exportRequests

Request:

{    "schema": "PRIMARY",    "contentType": "application/json",    "rangeAfter" : {        "value": "2025-01-01T00:00:00Z"    },    "rangeBefore": {        "value": "2025-07-01T23:59:59Z"    },    "tables" : {        "items" : [            {                "tableName": "SHIPMENT",                "selectList": "SHIPMENT_GID,SHIPMENT_NAME,PERSPECTIVE,INSERT_DATE,UPDATE_DATE"            }        ]    }}

Response:

{    "status": 400,    "title": "Content error in message body.",    "detail": "Unknown error."}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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