question

matt-houseman15330 avatar image
matt-houseman15330 asked Tyler Liu answered

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" : "https://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... :-)

sdk
1 |3000

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

1 Answer

Tyler Liu avatar image
Tyler Liu answered
Please try restClient.get(' /restapi/v1.0/account/<ACCOUNT>/extension/<EXTENSION>/message-store/<MESSAGE_ID>')
1 |3000

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

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys