Go to ABF Home Page
About ABF Services Coverage eCommerce Resource Center  help contacts suggestion print e-mail  save
Go to ABF Home Page
 To use the advanced features of abf.com -> Logon | Register | Benefits
eCenter Tools
eCommerce
eCenter Online Tools
ABF Anywhere
Shipping Charges Calculator
Tracking by E-mail
Document Retrieval by E-mail
eInvoicing
eProvider Network
Transparent Direct Links
Register
Bill of Lading
Pickup Request
BOL/Pickup Request
Document Retrieval
Rate Quotation
Tracking
Transit Times
Q-Family of Electronic Services

Document Retrieval can be linked to directly with two different formats:

1. Direct connection from your Web page
This type of connection enables you to insert an HTML form or direct link into your Web page that connects to the ABF Web site.

The HTML form allows your customers to retrieve document images for your ABF shipments by the ABF pro number, bill of lading, purchase order number or customer reference number. An example of the form is provided below with the HTML needed to create the form found in the textarea box.

Example Form:
Reference Number: Type:
Document Type:
Image Type:
Form HTML:
[select all]


The direct link allows your customers to retrieve document images for your ABF shipments via a link on your Web page. An example is provided below where RefNum is the reference number to retrieve, RefType is the type of reference number, DocType is the type of document to retrieve and ImageType is the image type to download. Note that RefNum, RefType and DocType are the only required parameters for the link to work.

Example: http://www.abfs.com/docret/ABFDocRet.asp?blnABFGraphic=TRUE
&RefNum=011222333&RefType=A&DocType=BOL&ImageType=L

Click here for more information on this client to server method.

2. Direct Connection from your server to the ABF server via XML
This type of server to server connection enables you to retrieve document images by making a direct call to the ABF server from your server. The ABF server will return an XML document that you can parse to extract the exact information and return a dynamic page to your customer. The following is the XML data-type definition for the document returned by this type of document retrieval:

<ABF>   ABF Document Retrieval Data Type Definition.
  <DOCUMENTS>   Group of requested document image paths. This section will only be returned when there are no errors in originally entered information (NUMERRORS = 0).
    <DOCUMENT>   Single document image.
    <TYPE>   Type of document (see below for document types).
    <PAGES>   Group of pages of document.
    <PAGE>   Single document page.
    </PAGES>  
    </DOCUMENT>  
  </DOCUMENTS>  
  <NUMERRORS>   Number of errors associated with request. Must be "0" to return document image.
  <ERRORS>   Group of errors. This section will only be returned if NUMERRORS > 0.
Click here for a list of possible error codes and messages.
    <ERRORCODE>   Code associated with error.
    <ERRORMESSAGE>   Message assigned to error code.
  </ERRORS>  
</ABF>  

To call the XML document retrieval from your server, you must be using an XML parser. Initialize the parser and set the URL to the following:

Note: Required variables are in Red. All other variables are optional.
Start with this URL: http://www.abfs.com/xml/docretxml.asp?DL=2
 
Add the following variables:
  AcctNum Your 6-character ABF account number.
  Password Your 6-character ABF password.
  RefNum The reference number to retrieve.
  RefType The type of reference number:
  "A" for ABF Pro #.
  "B" for Bill Of Lading #.
  "P" for Purchase Order #.
  "C" for Customer Reference #.
  DocType The type of document to retrieve:
  "ALL" for all available document types.
  "BOL" for Bill Of Lading.
  "DR" for Delivery Receipt / Proof Of Delivery.
  "INV" for Invoice.
  "PSL" for Packing Slip.
  "WSL" for Weight and Research Certificate.
  "WRP" for Weight and Research Picture.
  "WINS" for Weight and Research Inspection.
  "CUS" for Customs Document.
  "CBL" for Corrected Bill Of Lading.
  "CON" for Contract (Timekeeper, Turnkey, U-Pack).
  "RECO" for Reconsignment Authorization.
  ImageType The type of image to download:
  "L" for JPEG Low (default).
  "H" for JPEG High.
  "T" for TIFF.
 
Example: http://www.abfs.com/xml/docretxml.asp?DL=2
&AcctNum=999999&Password=TEST01&RefNum=011222333
&RefType=A&DocType=BOL&ImageType=L

Click here for more information on this server to server method.

For more information on XML authoring, parsers, specifications, and additional resources, check out the XML section of the Web Developer's Virtual Library.

All Rights Reserved | Terms of Use | Privacy Policy