Reference for https://rest.interfax.net/inbound/faxes?lastId={LASTID}&unreadOnly={UNREADONLY}&limit={LIMIT}&allUsers={ALLUSERS}

Url: https://rest.interfax.net/inbound/faxes?lastId={LASTID}&unreadOnly={UNREADONLY}&limit={LIMIT}&allUsers={ALLUSERS}

HTTP Method: GET

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example,Schema
Response Json Example

The following is an example response Xml body:

<ArrayOfFax>
  <Fax>
    <userId>String content</userId>
    <messageId>2147483647</messageId>
    <phoneNumber>String content</phoneNumber>
    <remoteCSID>String content</remoteCSID>
    <messageStatus>2147483647</messageStatus>
    <pages>2147483647</pages>
    <messageSize>2147483647</messageSize>
    <messageType>32767</messageType>
    <receiveTime>1999-05-31T11:20:00</receiveTime>
    <callerId>String content</callerId>
    <recordingDuration>2147483647</recordingDuration>
    <imageStatus>String content</imageStatus>
    <numOfEmails>2147483647</numOfEmails>
    <numOfFailedEmails>2147483647</numOfFailedEmails>
  </Fax>
  <Fax>
    <userId>String content</userId>
    <messageId>2147483647</messageId>
    <phoneNumber>String content</phoneNumber>
    <remoteCSID>String content</remoteCSID>
    <messageStatus>2147483647</messageStatus>
    <pages>2147483647</pages>
    <messageSize>2147483647</messageSize>
    <messageType>32767</messageType>
    <receiveTime>1999-05-31T11:20:00</receiveTime>
    <callerId>String content</callerId>
    <recordingDuration>2147483647</recordingDuration>
    <imageStatus>String content</imageStatus>
    <numOfEmails>2147483647</numOfEmails>
    <numOfFailedEmails>2147483647</numOfFailedEmails>
  </Fax>
</ArrayOfFax>

The following is an example response Json body:

[{
	"userId":"String content",
	"messageId":2147483647,
	"phoneNumber":"String content",
	"remoteCSID":"String content",
	"messageStatus":2147483647,
	"pages":2147483647,
	"messageSize":2147483647,
	"messageType":32767,
	"receiveTime":"\/Date(928149600000+0000)\/",
	"callerId":"String content",
	"recordingDuration":2147483647,
	"imageStatus":"String content",
	"numOfEmails":2147483647,
	"numOfFailedEmails":2147483647
}]

The following is the response Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="ArrayOfFax" nillable="true" type="ArrayOfFax" />
  <xs:complexType name="ArrayOfFax">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Fax" nillable="true" type="Fax" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Fax">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="userId" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="messageId" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="remoteCSID" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="messageStatus" type="xs:int" />
      <xs:element minOccurs="1" maxOccurs="1" name="pages" type="xs:int" />
      <xs:element minOccurs="1" maxOccurs="1" name="messageSize" type="xs:int" />
      <xs:element minOccurs="1" maxOccurs="1" name="messageType" type="xs:short" />
      <xs:element minOccurs="1" maxOccurs="1" name="receiveTime" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="callerId" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="recordingDuration" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="imageStatus" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="numOfEmails" type="xs:int" />
      <xs:element minOccurs="1" maxOccurs="1" name="numOfFailedEmails" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>