News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How can a fax "to" be null?
Tags: rest api
Dec 2, 2019 at 1:54pm   •   1 replies  •  0 likes
matt-spinks

We are processing a lot of fax messages from the RingCentral api. Recently, we discovered a lot of the records in the fax log api have no recipient. For example:

{
  "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store?messageType=Fax&availability=Alive&dateFrom=2019-12-02T07:19:11.000Z&dateTo=2019-12-02T23:59:59.000Z&page=1&perPage=100",
  "records" : [ {
    "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098879326020",
    "id" : 1098879326020,
    "from" : {
      "phoneNumber" : "+17323901763",
      "location" : "South River, NJ"
    },
    "type" : "Fax",
    "creationTime" : "2019-12-02T18:00:40.000Z",
    "readStatus" : "Unread",
    "priority" : "Normal",
    "attachments" : [ {
      "id" : 1098879326020,
      "uri" : "https://media.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098879326020/content/1098879326020",
      "type" : "RenderedDocument",
      "contentType" : "application/pdf"
    } ],
    "direction" : "Inbound",
    "availability" : "Alive",
    "subject" : "+19089410855",
    "messageStatus" : "Received",
    "faxResolution" : "High",
    "faxPageCount" : 1,
    "lastModifiedTime" : "2019-12-02T18:00:40.769Z"
  }, {
    "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098877522020",
    "id" : 1098877522020,
    "from" : {
      "phoneNumber" : "+17323900896",
      "location" : "South River, NJ"
    },
    "type" : "Fax",
    "creationTime" : "2019-12-02T17:49:41.000Z",
    "readStatus" : "Unread",
    "priority" : "Normal",
    "attachments" : [ {
      "id" : 1098877522020,
      "uri" : "https://media.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098877522020/content/1098877522020",
      "type" : "RenderedDocument",
      "contentType" : "application/pdf"
    } ],
    "direction" : "Inbound",
    "availability" : "Alive",
    "subject" : "+19083157235",
    "messageStatus" : "Received",
    "faxResolution" : "High",
    "faxPageCount" : 1,
    "lastModifiedTime" : "2019-12-02T17:49:41.658Z"
  } ],
  "paging" : {
    "page" : 1,
    "totalPages" : 1,
    "perPage" : 100,
    "totalElements" : 2,
    "pageStart" : 0,
    "pageEnd" : 1
  },
  "navigation" : {
    "firstPage" : {
      "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store?messageType=Fax&availability=Alive&dateFrom=2019-12-02T07:19:11.000Z&dateTo=2019-12-02T23:59:59.000Z&page=1&perPage=100"
    },
    "lastPage" : {
      "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store?messageType=Fax&availability=Alive&dateFrom=2019-12-02T07:19:11.000Z&dateTo=2019-12-02T23:59:59.000Z&page=1&perPage=100"
    }
  }
}

As you can see, the "to" field is completely missing. How is this possible? The status shows that the message was sent successfully. But according to this, it went nowhere! Is this a bug? We've seen a lot of these lately. We are attempting to assign these messages to a user extension, but we have no data to show what extension it was sent to.

Further, the subject field contains a phone number. I find that very odd as well.


1 Answer
answered on Dec 2, 2019 at 2:31pm  

Is the response original or cut? It looks corrupted to me as it is mixing between Pager, Fax, SMS and Voicemail

"pgToDepartment": false,
"smsDeliveryTime": null,
"smsSendingAttemptsCount": null,
"subject": "+14149304071",
"to": null,
"type": "Fax",
"vmTranscriptionStatus": null

Can you read again with the messageType set to "Fax" only?


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us