vrvoice1 | 2016-07-25 08:54:19 UTC | #1
Hi, if I send a fax and this fax isn't answered from the receiver, purecloud show me the following message:<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/aa3d87702d885cca02471f6e5637beaba9277560.PNG" width="221" height="65">
But where can I finde out with the platform Api if the fax failed?
Regards,
Sven
tim.smith | 2016-07-25 15:44:39 UTC | #2
You will get real-time notifications about this fax via notifications, specifically by subscribing to the v2.users.{id}.conversations topic. The purpose of the conversation will be fax.
There is currently no support for getting fax data back via any conversation history queries, though that will be added in the future. However, you can get the information you're looking for via Content Management. Specifically, the resource GET /api/v2/contentmanagement/documents/{documentId}/audits will show you the audit history for the fax document. Each step of the audit will represent a step in the fax process. The step with "action":"fax" will indicate the result via the status property like this:
<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/e5c303404f7bcd3ac9c62c42bd675a9b2cd9a7c3.png" width="250" height="83">
system | 2017-08-28 19:25:31 UTC | #3
This post was migrated from the old Developer Forum.
ref: 167