Hi Nick,
Somehow your question got lost from my daily attention in this forum. Sorry for that.
After you sent a fax, grab the message id from the response, then check the fax status of that fax using the message-store endpoint (not the call log) using that message id.
Make a GET request to this endpoint: https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/message-store/[messageId]
Hi!
Thank you for your answer!
I initially tried it and I thought I needed to replace the "account" and "extension" with the actual values and got a 404 but it looks like I must actually put those where you put the "~".
When I retried with my credentials in there I got a 401 so I realized I had to authenticate myself.
So what I did was to borrow the authentication code from the Java snippets provided to send faxes and the like and used but called the get() method of RestClient instead of what the samples I had found normally do.
This seems to have done the trick as I got a ResponseBody on which I called string() and parsed using jackson (I will have to see if I can do what I did with fastjson which you already use to avoid adding one more dependency...).
By the way, the URL you provided me with looks a lot like the one in uri in the response when I send the fax except for the credentials there seemingly not having anything to do with the credentials the telephony guy provided me with.
Talking about credentials I will have a question about it tomorrow but for now it is time for me to go to sleep... It will soon be followed by one about cover pages, I am not sure what the telephony guy wanted to do is actually necessary...
Thank you and have a nice day,
Nick