question

matt-houseman15330 avatar image
matt-houseman15330 asked ·

Java SDK and Faxes

I understand that Faxes are initially queued and that I need to periodically poll for the final disposition.  What I'm not clear on is how?  The following call returns a JSON response:
ResponseBody responseBody = restClient.post("/restapi/v1.0/account/~/extension/~/fax", requestBody);

And in that JSON response there's a "uri" field of the form (edited):
"uri" : "h ttps://platform.devtest.ringcentral.com/restapi/v1.0/account/<ACCOUNT>/extension/<EXTENSION>/message-store/<MESSAGE_ID>"

What I'm not clear on is that exact API call that I need to make and how I make use of the URI.  Can anyone supply some sample code?  Thanks in advance... :-)
General Topic
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Tyler Liu avatar image
Tyler Liu answered ·
Please try restClient.get(' /restapi/v1.0/account/<ACCOUNT>/extension/<EXTENSION>/message-store/<MESSAGE_ID>')
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.