ePortalService


Click here for a complete list of operations.

GetMailboxDocuments2

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ePortalService.asmx HTTP/1.1
Host: www.ebridgeservices.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "eBridge.WebServices/GetMailboxDocuments2"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMailboxDocuments2 xmlns="eBridge.WebServices">
      <username>string</username>
      <password>string</password>
      <user_no>string</user_no>
      <partner>string</partner>
      <mailbox>string</mailbox>
      <doctype>string</doctype>
      <doc_num>string</doc_num>
      <date_from>string</date_from>
      <date_to>string</date_to>
      <page>int</page>
      <count>int</count>
      <sort_field>string</sort_field>
      <sort_direction>string</sort_direction>
      <tran_date_from>string</tran_date_from>
      <tran_date_to>string</tran_date_to>
      <instance_name>string</instance_name>
    </GetMailboxDocuments2>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMailboxDocuments2Response xmlns="eBridge.WebServices">
      <GetMailboxDocuments2Result>
        <total_records>int</total_records>
        <total_pages>int</total_pages>
        <records>
          <DocRecord>
            <sys_no>int</sys_no>
            <doc_num>string</doc_num>
            <doc_type_num>string</doc_type_num>
            <sender>string</sender>
            <receiver>string</receiver>
            <tran_date>string</tran_date>
            <doc_date>string</doc_date>
            <ack_status>string</ack_status>
            <po_num>string</po_num>
            <ref_num1>string</ref_num1>
            <ref_num2>string</ref_num2>
            <messages>string</messages>
            <mailbox>string</mailbox>
            <doc_in>int</doc_in>
            <doc_out>int</doc_out>
            <sdq_count>int</sdq_count>
            <state>int</state>
            <integration_status>string</integration_status>
            <integration_message>string</integration_message>
            <integration_doc_ref>string</integration_doc_ref>
            <is_pending>int</is_pending>
            <is_shipped>int</is_shipped>
            <is_invoiced>int</is_invoiced>
          </DocRecord>
          <DocRecord>
            <sys_no>int</sys_no>
            <doc_num>string</doc_num>
            <doc_type_num>string</doc_type_num>
            <sender>string</sender>
            <receiver>string</receiver>
            <tran_date>string</tran_date>
            <doc_date>string</doc_date>
            <ack_status>string</ack_status>
            <po_num>string</po_num>
            <ref_num1>string</ref_num1>
            <ref_num2>string</ref_num2>
            <messages>string</messages>
            <mailbox>string</mailbox>
            <doc_in>int</doc_in>
            <doc_out>int</doc_out>
            <sdq_count>int</sdq_count>
            <state>int</state>
            <integration_status>string</integration_status>
            <integration_message>string</integration_message>
            <integration_doc_ref>string</integration_doc_ref>
            <is_pending>int</is_pending>
            <is_shipped>int</is_shipped>
            <is_invoiced>int</is_invoiced>
          </DocRecord>
        </records>
      </GetMailboxDocuments2Result>
    </GetMailboxDocuments2Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ePortalService.asmx HTTP/1.1
Host: www.ebridgeservices.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMailboxDocuments2 xmlns="eBridge.WebServices">
      <username>string</username>
      <password>string</password>
      <user_no>string</user_no>
      <partner>string</partner>
      <mailbox>string</mailbox>
      <doctype>string</doctype>
      <doc_num>string</doc_num>
      <date_from>string</date_from>
      <date_to>string</date_to>
      <page>int</page>
      <count>int</count>
      <sort_field>string</sort_field>
      <sort_direction>string</sort_direction>
      <tran_date_from>string</tran_date_from>
      <tran_date_to>string</tran_date_to>
      <instance_name>string</instance_name>
    </GetMailboxDocuments2>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMailboxDocuments2Response xmlns="eBridge.WebServices">
      <GetMailboxDocuments2Result>
        <total_records>int</total_records>
        <total_pages>int</total_pages>
        <records>
          <DocRecord>
            <sys_no>int</sys_no>
            <doc_num>string</doc_num>
            <doc_type_num>string</doc_type_num>
            <sender>string</sender>
            <receiver>string</receiver>
            <tran_date>string</tran_date>
            <doc_date>string</doc_date>
            <ack_status>string</ack_status>
            <po_num>string</po_num>
            <ref_num1>string</ref_num1>
            <ref_num2>string</ref_num2>
            <messages>string</messages>
            <mailbox>string</mailbox>
            <doc_in>int</doc_in>
            <doc_out>int</doc_out>
            <sdq_count>int</sdq_count>
            <state>int</state>
            <integration_status>string</integration_status>
            <integration_message>string</integration_message>
            <integration_doc_ref>string</integration_doc_ref>
            <is_pending>int</is_pending>
            <is_shipped>int</is_shipped>
            <is_invoiced>int</is_invoiced>
          </DocRecord>
          <DocRecord>
            <sys_no>int</sys_no>
            <doc_num>string</doc_num>
            <doc_type_num>string</doc_type_num>
            <sender>string</sender>
            <receiver>string</receiver>
            <tran_date>string</tran_date>
            <doc_date>string</doc_date>
            <ack_status>string</ack_status>
            <po_num>string</po_num>
            <ref_num1>string</ref_num1>
            <ref_num2>string</ref_num2>
            <messages>string</messages>
            <mailbox>string</mailbox>
            <doc_in>int</doc_in>
            <doc_out>int</doc_out>
            <sdq_count>int</sdq_count>
            <state>int</state>
            <integration_status>string</integration_status>
            <integration_message>string</integration_message>
            <integration_doc_ref>string</integration_doc_ref>
            <is_pending>int</is_pending>
            <is_shipped>int</is_shipped>
            <is_invoiced>int</is_invoiced>
          </DocRecord>
        </records>
      </GetMailboxDocuments2Result>
    </GetMailboxDocuments2Response>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /ePortalService.asmx/GetMailboxDocuments2?username=string&password=string&user_no=string&partner=string&mailbox=string&doctype=string&doc_num=string&date_from=string&date_to=string&page=string&count=string&sort_field=string&sort_direction=string&tran_date_from=string&tran_date_to=string&instance_name=string HTTP/1.1
Host: www.ebridgeservices.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DocList xmlns="eBridge.WebServices">
  <total_records>int</total_records>
  <total_pages>int</total_pages>
  <records>
    <DocRecord>
      <sys_no>int</sys_no>
      <doc_num>string</doc_num>
      <doc_type_num>string</doc_type_num>
      <sender>string</sender>
      <receiver>string</receiver>
      <tran_date>string</tran_date>
      <doc_date>string</doc_date>
      <ack_status>string</ack_status>
      <po_num>string</po_num>
      <ref_num1>string</ref_num1>
      <ref_num2>string</ref_num2>
      <messages>string</messages>
      <mailbox>string</mailbox>
      <doc_in>int</doc_in>
      <doc_out>int</doc_out>
      <sdq_count>int</sdq_count>
      <state>int</state>
      <integration_status>string</integration_status>
      <integration_message>string</integration_message>
      <integration_doc_ref>string</integration_doc_ref>
      <is_pending>int</is_pending>
      <is_shipped>int</is_shipped>
      <is_invoiced>int</is_invoiced>
    </DocRecord>
    <DocRecord>
      <sys_no>int</sys_no>
      <doc_num>string</doc_num>
      <doc_type_num>string</doc_type_num>
      <sender>string</sender>
      <receiver>string</receiver>
      <tran_date>string</tran_date>
      <doc_date>string</doc_date>
      <ack_status>string</ack_status>
      <po_num>string</po_num>
      <ref_num1>string</ref_num1>
      <ref_num2>string</ref_num2>
      <messages>string</messages>
      <mailbox>string</mailbox>
      <doc_in>int</doc_in>
      <doc_out>int</doc_out>
      <sdq_count>int</sdq_count>
      <state>int</state>
      <integration_status>string</integration_status>
      <integration_message>string</integration_message>
      <integration_doc_ref>string</integration_doc_ref>
      <is_pending>int</is_pending>
      <is_shipped>int</is_shipped>
      <is_invoiced>int</is_invoiced>
    </DocRecord>
  </records>
</DocList>