Reference for https://rest.interfax.net/outbound/faxes/completed?ids={IDS}

Url: https://rest.interfax.net/outbound/faxes/completed?ids={IDS}

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:

<ArrayOfFaxSummary>
  <FaxSummary>
    <id>9223372036854775807</id>
    <uri>String content</uri>
    <status>2147483647</status>
    <userId>String content</userId>
    <pagesSent>2147483647</pagesSent>
    <completionTime>1999-05-31T11:20:00</completionTime>
    <remoteCSID>String content</remoteCSID>
    <duration>2147483647</duration>
    <priority>32767</priority>
    <units>12678967.543233</units>
    <costPerUnit>12678967.543233</costPerUnit>
    <attemptsMade>32767</attemptsMade>
  </FaxSummary>
  <FaxSummary>
    <id>9223372036854775807</id>
    <uri>String content</uri>
    <status>2147483647</status>
    <userId>String content</userId>
    <pagesSent>2147483647</pagesSent>
    <completionTime>1999-05-31T11:20:00</completionTime>
    <remoteCSID>String content</remoteCSID>
    <duration>2147483647</duration>
    <priority>32767</priority>
    <units>12678967.543233</units>
    <costPerUnit>12678967.543233</costPerUnit>
    <attemptsMade>32767</attemptsMade>
  </FaxSummary>
</ArrayOfFaxSummary>

The following is an example response Json body:

[{
	"id":9223372036854775807,
	"uri":"String content",
	"status":2147483647,
	"userId":"String content",
	"pagesSent":2147483647,
	"completionTime":"\/Date(928149600000+0000)\/",
	"remoteCSID":"String content",
	"duration":2147483647,
	"priority":32767,
	"units":12678967.543233,
	"costPerUnit":12678967.543233,
	"attemptsMade":32767
}]

The following is the response Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="ArrayOfFaxSummary" nillable="true" type="ArrayOfFaxSummary" />
  <xs:complexType name="ArrayOfFaxSummary">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="FaxSummary" nillable="true" type="FaxSummary" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FaxSummary">
    <xs:complexContent mixed="false">
      <xs:extension base="FaxResults">
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="1" name="userId" type="xs:string" />
          <xs:element minOccurs="1" maxOccurs="1" name="pagesSent" type="xs:int" />
          <xs:element minOccurs="1" maxOccurs="1" name="completionTime" type="xs:dateTime" />
          <xs:element minOccurs="0" maxOccurs="1" name="remoteCSID" type="xs:string" />
          <xs:element minOccurs="1" maxOccurs="1" name="duration" type="xs:int" />
          <xs:element minOccurs="1" maxOccurs="1" name="priority" type="xs:short" />
          <xs:element minOccurs="1" maxOccurs="1" name="units" type="xs:decimal" />
          <xs:element minOccurs="1" maxOccurs="1" name="costPerUnit" type="xs:decimal" />
          <xs:element minOccurs="1" maxOccurs="1" name="attemptsMade" type="xs:short" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="FaxResults">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="1" name="id" type="xs:long" />
      <xs:element minOccurs="0" maxOccurs="1" name="uri" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="status" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>