Issue with Callback endpoint

There seems to be a bug based on your documentation:

"When the callback URL is set via either of these methods, OpenText messaging service will POST the final fax status as application/json to this end point. The schema is the same as in the response from "Get fax status" method except that the values of "job_state" parameter will not include "complete" even if all deliveries are complete."

However, when calling the "https://api.us.cloudmessaging.opentext.com - Production North America", the result that is returned is in XML (SOAP).

Using the exact same body when sending the fax but calling the "https://t2api.us.cloudmessaging.opentext.com - Pre-production" endpoint, the callback returns in JSON.

How can this be fixed so that the callback is in JSON using the same "Get fax status" schema?

Tagged:

Comments