Reference for https://rest.interfax.net/inbound/faxes/{ID}/barcode

Url: https://rest.interfax.net/inbound/faxes/{ID}/barcode

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:

<ArrayOfBarcodeResult>
  <BarcodeResult>
    <Serial>65535</Serial>
    <Confidence>65535</Confidence>
    <PageNumber>2147483647</PageNumber>
    <X>1.26743237E+15</X>
    <Y>1.26743237E+15</Y>
    <Width>1.26743237E+15</Width>
    <Height>1.26743237E+15</Height>
    <Rotate>Rotate0</Rotate>
    <Type>All</Type>
    <Value>String content</Value>
  </BarcodeResult>
  <BarcodeResult>
    <Serial>65535</Serial>
    <Confidence>65535</Confidence>
    <PageNumber>2147483647</PageNumber>
    <X>1.26743237E+15</X>
    <Y>1.26743237E+15</Y>
    <Width>1.26743237E+15</Width>
    <Height>1.26743237E+15</Height>
    <Rotate>Rotate0</Rotate>
    <Type>All</Type>
    <Value>String content</Value>
  </BarcodeResult>
</ArrayOfBarcodeResult>

The following is an example response Json body:

[{
	"Serial":65535,
	"Confidence":65535,
	"PageNumber":2147483647,
	"X":1.26743237E+15,
	"Y":1.26743237E+15,
	"Width":1.26743237E+15,
	"Height":1.26743237E+15,
	"Rotate":0,
	"Type":0,
	"Value":"String content"
}]

The following is the response Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="ArrayOfBarcodeResult" nillable="true" type="ArrayOfBarcodeResult" />
  <xs:complexType name="ArrayOfBarcodeResult">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BarcodeResult" nillable="true" type="BarcodeResult" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BarcodeResult">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="1" name="Serial" type="xs:unsignedShort" />
      <xs:element minOccurs="1" maxOccurs="1" name="Confidence" type="xs:unsignedShort" />
      <xs:element minOccurs="1" maxOccurs="1" name="PageNumber" type="xs:int" />
      <xs:element minOccurs="1" maxOccurs="1" name="X" type="xs:float" />
      <xs:element minOccurs="1" maxOccurs="1" name="Y" type="xs:float" />
      <xs:element minOccurs="1" maxOccurs="1" name="Width" type="xs:float" />
      <xs:element minOccurs="1" maxOccurs="1" name="Height" type="xs:float" />
      <xs:element minOccurs="1" maxOccurs="1" name="Rotate" type="Rotation" />
      <xs:element minOccurs="1" maxOccurs="1" name="Type" type="BarcodeType" />
      <xs:element minOccurs="0" maxOccurs="1" name="Value" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="Rotation">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Rotate0" />
      <xs:enumeration value="Rotate90" />
      <xs:enumeration value="Rotate180" />
      <xs:enumeration value="Rotate270" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="BarcodeType">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="All" />
          <xs:enumeration value="Code128" />
          <xs:enumeration value="Code39" />
          <xs:enumeration value="EAN13" />
          <xs:enumeration value="EAN8" />
          <xs:enumeration value="UPCA" />
          <xs:enumeration value="DataMatrix" />
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
</xs:schema>