IT Support

Web Services

A. Duie Pyle offers a number of web services so that their customers can interface their systems with Pyle's Information Infrastructure. Both obtaining information and submitting transactions is possible.

Shipment Status Web Service - V2Obtain expanded shipment status information.
Print

Shipment Status Web Service - V2

A. Duie Pyle provides expanded shipment tracking information via a web service that returns either a JSON object or an XML document. We have multiple types of reference numbers you can utilize to track the shipments. You can use these by adjusting the type in the URL and providing the proper reference as the value.

This expanded shipment tracking (V2) web service returns more information than the previous shipment tracking (V1) web service.

Shipment Status Web Service - V1 documentation


Type 0 – Pyle Pro number

Using the Pyle Pro number is the quickest way to obtain the shipment status information.

    https://api.aduiepyle.com/2/shipment/status?user=email-address&type=0&value=pro-number

 

Type 1 – Bill of Lading number

Both the Shipper assigned Bill of Lading number and the origination postal code are required.

    https://api.aduiepyle.com/2/shipment/status?user=email-address&type=1&value=bill-of-lading-number&zip=origination-zip

 

Type 2 – Partner Pro number

Shipments that are handled by both Pyle and one of our partners may be tracked using the partner's SCAC code and their pro number.

  • CDTT = Concord Transportation
  • DAFG = Dayton Freight Lines
  • MDLD = Midland Transport
  • SEFL = Southeastern Freight Lines
    https://api.aduiepyle.com/2/shipment/status?user=email-address&type=2&value=partner-pro-number&partner=SCAC-code

 

Type 4 – Purchase Order number

Both the Consignee assigned Purchase Order number and the destination postal code are required.

    https://api.aduiepyle.com/2/shipment/status?user=email-address&type=4&value=purchase-order-number&zip=destination-zip

 

Status
The possible list of statuses is as follows.
SCHEDULED
The pro is scheduled on a delivery manifest to get delivered. The delivery truck has not yet left our terminal. The comment will usually give more information on this status.
UNSCHEDULED
The freight has not yet been assigned to a delivery manifest and is most likely on our dock somewhere.
DELIVERED
Pyle has delivered the pro to the consignee location.
ATTEMPTED DELIVERY
Pyle attempted delivery but was unable to complete it. (Delivery refused/location closed/after-hours/etc). Pro will most likely be brought back to try again.
IN TRANSIT
Shipment is in transit to a third party carrier.
OUT FOR DELIVERY
Shipment is on a delivery manifest that is currently out for delivery. Status will have more info. It will say what stop it is to be delivered on and what the last stop completed was/enroute to stop #.
PICKED UP
Pyle has already been to the shipper location and has picked up the freight. It has not been billed yet so it could still be on a truck returning to our terminal.
NO FREIGHT
Pyle went to pick up the shipment but there was no freight.
Status History Descriptions
A partial list of status history descriptions is as follows.
PICKUP WINDOW
Location and time range of expected pickup.
PICKED UP
Location and actual time of pickup.
ARRIVED AT TERMINAL
Location and actual time arrived at terminal.
DEPARTED TERMINAL
Location and actual time departed terminal.
OUT FOR DELIVERY
Location and actual time departed delivery terminal.
DELIVERY APPOINTMENT WINDOW
Location and time range of delivery appointment.
ETA WINDOW
Location and time range of expected delivery.
DELIVERED
Location and actual time of delivery.

 

Examples

The following example will request shipment status for Pyle Pro number 99999999.

    https://api.aduiepyle.com/2/shipment/status?user=aduiepyle@aduiepyle.com&type=0&value=99999999
Sample Status
-H "Content-Type:application/json"
{
  "shipmentStatus": {
    "result": [
      {
        "pro": "99999999",
        "billOfLadingNumber": "123456780",
        "purchaseOrder": "654321",
        "status": "SCHEDULED",
        "statusDateTime": "2017-08-31T07:10:53",
        "comment": "FOR DELIVERY TODAY STOP 7",
        "consignee": {
          "name": "A DUIE PYLE",
          "address1": "45 E PARK DR",
          "address2": "",
          "city": "WESTAMPTON",
          "state": "NJ",
          "zip": "080605123"
        },
        "shipper": {
          "name": "A DUIE PYLE",
          "address1": "650 WESTTOWN RD",
          "address2": "PO BOX 564",
          "city": "WEST CHESTER",
          "state": "PA",
          "zip": "19381"
        },
        "billTo": {
          "name": "A DUIE PYLE",
          "address1": "650 WESTTOWN RD",
          "address2": "PO BOX 564",
          "city": "WEST CHESTER",
          "state": "PA",
          "zip": "19381"
        },
        "interlineFrom": "",
        "interlineFromPro": "",
        "interlineTo": "",
        "interlineToPro": "",
        "shipmentDetails": {
          "weight": "670",
          "pieces": "1"
        },
        "statusHistory": [
          {
            "description": "PICKUP WINDOW",
            "location": "WEST CHESTER, PA",
            "start": "2017-08-31T08:00:00",
            "end": "2017-08-31T17:00:00"
          },
          {
            "description": "PICKED UP",
            "location": "WEST CHESTER, PA",
            "start": "2017-08-31T13:00:00",
            "end": "2017-08-31T13:00:00"
          },
          {
            "description": "ARRIVED AT TERMINAL",
            "location": "WEST CHESTER, PA",
            "start": "2017-08-31T18:00:00",
            "end": "2017-08-31T18:00:00"
          },
          {
            "description": "OUT FOR DELIVERY",
            "location": "",
            "start": "2017-09-1T08:00:00",
            "end": "2017-09-1T08:00:00"
          },
          {
            "description": "ETA WINDOW",
            "location": "",
            "start": "2017-09-1T10:30:00",
            "end": "2017-09-1T12:30:00"
          }
        ]
      }
    ]
  }
}
                                    
-H "Content-Type:text/xml"
<?xml version="1.0" encoding="utf-8"?>
<shipmentStatus>
  <result>
    <pro>99999999</pro>
    <billOfLadingNumber>123456780</billOfLadingNumber>
    <purchaseOrder>654321</purchaseOrder>
    <status>SCHEDULED</status>
    <statusDateTime>2017-08-31T07:46:01</statusDateTime>
    <comment>FOR DELIVERY TODAY STOP 7</comment>
    <consignee>
      <name>A DUIE PYLE</name>
      <address1>45 E PARK DR</address1>
      <address2></address2>
      <city>WESTAMPTON</city>
      <state>NJ</state>
      <zip>080605123</zip>
    </consignee>
    <shipper>
      <name>A DUIE PYLE</name>
      <address1>650 WESTTOWN RD</address1>
      <address2>PO BOX 564</address2>
      <city>WEST CHESTER</city>
      <state>PA</state>
      <zip>19381</zip>
    </shipper>
    <billTo>
      <name>A DUIE PYLE</name>
      <address1>650 WESTTOWN RD</address1>
      <address2>PO BOX 564</address2>
      <city>WEST CHESTER</city>
      <state>PA</state>
      <zip>19381</zip>
    </billTo>
    <interlineFrom></interlineFrom>
    <interlineFromPro></interlineFromPro>
    <interlineTo></interlineTo>
    <interlineToPro></interlineToPro>
    <shipmentDetails>
      <weight>670</weight>
      <pieces>1</pieces>
    </shipmentDetails>
    <statusHistory>
      <statusDetail>
        <description>PICKUP WINDOW</description>
        <location>WEST CHESTER, PA</location>
        <start>2017-08-31T08:00:00</start>
        <end>2017-08-31T17:00:00</end>
      </statusDetail>
      <statusDetail>
        <description>PICKED UP</description>
        <location>WEST CHESTER, PA</location>
        <start>2017-08-31T13:00:00</start>
        <end>2017-08-31T13:00:00</end>
      </statusDetail>
      <statusDetail>
        <description>ARRIVED AT TERMINAL</description>
        <location>WEST CHESTER, PA</location>
        <start>2017-08-31T18:00:00</start>
        <end>2017-08-31T18:00:00</end>
      </statusDetail>
      <statusDetail>
        <description>OUT FOR DELIVERY</description>
        <location></location>
        <start>2017-09-1T08:00:00</start>
        <end>2017-09-1T08:00:00</end>
      </statusDetail>
      <statusDetail>
        <description>ETA WINDOW</description>
        <location></location>
        <start>2017-09-1T10:30:00</start>
        <end>2017-09-1T12:30:00</end>
      </statusDetail>
    </statusHistory>
  </result>
</shipmentStatus>
                                    
Revision 1 – 09/01/2017
Document Images Web ServiceAllows My Pyle users to obtain document images in XML format.
Print

Document Images Web Service

A. Duie Pyle provides document image retrieval as an XML document. Any customer with a My Pyle login may obtain one or more document images by sending a specially formatted URL and receive the Base 64 encoded images in an XML document.

To obtain document images as an XML document create the following URL as one long string.

    http://www.aduiepyle.com/publicdocs/DocImages_XML
        ?MyPyleID=MyPyleID
        &Pro=pro-list
        &DocTypes=doc-type-list
  • ?MyPyleID=MyPyleID – This parameter contains your My Pyle login which is normally your E-mail address. Example: ?MyPyleID=duie@aduiepyle.com
  • &Pro=pro-list – This required parameter contains one or more comma separated Pyle Pro Numbers. Examples: &pro=99999999
    &pro=157215096,157215237
  • &DocTypes=doc-type-list – This optional parameter contains the desired document types. The default is BL (Bill of Lading) and DR (Delivery Receipt). You may also use WC to obtain Weight Certificates, RC for Research Certificates and WS for Partner Weight/Research Certificates. Examples: &doctypes=BL – only request Bill of Lading
    &doctypes=BL,DR,WC,RC,WS – request all document types

Examples

The following example will request Bill of Lading and Delivery Receipt images for pro number 99999999.

This is the URL that should be sent:

http://www.aduiepyle.com/Publicdocs/DocImages_XML
 ?MyPyleID=duie@aduiepyle.com&pro=99999999

This example will request Bill of Lading, Delivery Receipt and Weight Certificate images for pro numbers 157215096 and 157215237.

http://www.aduiepyle.com/Publicdocs/DocImages_XML
 ?MyPyleID=duie@aduiepyle.com&pro=157215096,157215237&doctypes=BL,DR,WC

This is a sample Document Images XML document.

<DocImages Version="150519">
  <image>
    <type>Bill of Lading</type>
    <pro>99999999</pro>
    <fileExt>tif</fileExt>
    <base64Image> … </base64Image>
  </image>
  <image>
    <type>Delivery Receipt</type>
    <pro>99999999</pro>
    <fileExt>tif</fileExt>
    <base64Image> … </base64Image>
  </image>
  <querydatetime>2015-05-21T09:49:18.0622036-04:00</querydatetime>
</DocImages>

Revision 2 – 5/3/2016

Transit Time Web ServiceAllows My Pyle users to obtain transit times in XML format.
Print

Transit Time Web Service

A. Duie Pyle provides shipment transit times via the My Pyle web site as a screen display or as an XML document. Any customer with a My Pyle account may determine a shipment transit time by sending a specially formatted URL and receiving the transit information as an XML document.

To obtain transit time information as an XML document create the following URL as one long string.

    http://www.aduiepyle.com/publicdocs/LTLTransitTimeXML1
        ?MyPyleID=MyPyleID
        &orig_zip=zip
        &dest_zip=zip
        &pickup_date=date
  • ?MyPyleID=MyPyleID – This parameter contains your My Pyle login which is normally your E-mail address. This is a required parameter. Example: ?MyPyleID=duie@aduiepyle.com
  • &orig_zip=zip – This parameter contains the originating zip code. Only the standard five digit United States zip code or the six character Canadian postal code should be used. Example: &orig_zip=12345
  • &dest_zip=zip – This parameter contains the destination zip code. Only the standard five digit United States zip code or the six character Canadian postal code should be used. Example: &dest_zip=98765
  • &pickup_date=date – This parameter contains the pickup date. This is an optional parameter and if not passed then the current date will be used. Example: &pickup_date=08/02/2017

Examples

The following example will request a transit time from Exton, PA (19341) to Montpelier, VT (05602).

This is the URL that should be sent:

http://www.aduiepyle.com/Publicdocs/LTLTransitTimeXML1
 ?MyPyleID=aduiepyle@aduiepyle.com&orig_zip=19341&dest_zip=05602

This example will request a transit time from Burlington, NJ (08016) to West Chester, PA (19381) being picked up on August 2, 2017.

http://www.aduiepyle.com/Publicdocs/LTLTransitTimeXML1
 ?MyPyleID=aduiepyle@aduiepyle.com&orig_zip=08016&dest_zip=19381
 &pickup_date=08/02/2017

This is a sample Transit Time XML document.

<TransitTime Version="110617">
    <origin-zip>08016</origin-zip>
    <origin-terminal>WEST CHESTER PA</origin-terminal>
    <origin-carrier>A. Duie Pyle</origin-carrier>
    <dest-zip>19381</dest-zip>
    <dest-terminal>WEST CHESTER PA</dest-terminal>
    <dest-carrier>A. Duie Pyle</dest-carrier>
    <pickup-date>08/02/2017</pickup-date>
    <service-days>1</service-days>
    <delivery-date>08/03/2017</delivery-date>
    <query-datetime>2017-06-17T10:32:20.4136061-04:00</query-datetime>
</TransitTime>

Transit times are estimates only and may vary depending on operational conditions

Revision 2 – 11/12/2014

Rate Quote Web Service Setup Request FormObtain documentation for the Rate Quote interface

To take advantage of A. Duie Pyle’s Rate Quote Web Service, simply click on the button below, complete the Rate Quote Web Service Setup Request form and submit it. One of our Rating Team specialists will contact whomever you designate and will provide them with the appropriate documentation to use our web service. We look forward to working with you. A valid My Pyle login is required.

Rate Quote Web Service Setup Request
Pickup Request Web ServiceSubmit a Pickup Request
Print

Pickup Request Web Service

The Pickup Request Web Service allows a pickup request to be submitted and a confirmation message returned. A POST request containing the pickup information is sent to the web service. A valid My Pyle login and password are required.

    https://api.aduiepyle.com/1/shipment/createPickup

Specify a pickup object.

● requester
■ namestring – RequiredName of the requester.
■ phonestring – RequiredPhone of the requester.
■ extensionstringExtension of the requester.
■ developerbooleanIf true then the pickup is regarded as a test.
● shipper – The shipper name and address are Required
■ namestring – RequiredName of the shipper.
■ address
◊ streetAddressstring – RequiredStreet address of shipper company.
◊ citystring – RequiredCity of the shipper.
◊ statestring – RequiredState of the shipper.
◊ zipstring – RequiredZip of the shipper.
● consignee – If shipping PPS the consignee name and address are Required, otherwise neither are needed.
■ namestringName of consignee.
■ address
◊ streetAddressstringStreet address of consignee company.
◊ citystringCity of the consignee.
◊ statestringState of the consignee.
◊ zipstringZip of the consignee.
● consInstrstringConsignee special instructions for pickup.
● shipInstrstringShipper special instructions for pickup.
Combined length of consInstr and shipInstr cannot exceed 30,000 characters.
● pickupDatestring – RequiredPickup date in MM-DD-YYYY format.
● readyTimestring – RequiredReady time in HH:MM:SS format.
● closingTimestring – RequiredShipper closing time in HH:MM:SS format.
● details
■ unitsnumber – RequiredPieces/Pallets.
■ containerTypestring – Required Container Type.
  • PCS = pieces
  • PLT = pallet
  • BAG = bag
  • BOX = box
  • BDL = bundle
  • CTN = carton
  • CRT = crate
  • CYL = cylinder
  • DRM = drum
  • PLS = pail
  • TOT = tote
■ weightnumber – RequiredWeight between 1-45000 lbs.
■ isHazardousbooleanTrue if shipping hazardous freight.
■ isFreezablebooleanTrue if shipping freezable freight.
■ destinationZipstring – RequiredPostal code of freight.
■ packagingGroupstringFor food. Required if isHazardous is True.
  • PG I = Do not load with food
  • PG II = Do not load with food
  • PG III – Okay to load with food
■ ppsnumberPyle priority service.
  • 10 = 10 AM
  • 12 = 12 PM
  • 17 = 5 PM
■ bolstringBill of Lading.
● importIndicator
■ indicatorstringIf set then the corresponding fields below are required.
  • A = air
  • O = ocean
■ airwayRequired if indicator = "A"
◊ airBillstringAir bill number.
◊ airRefstringAir reference number.
■ oceanRequired if indicator = "O"
◊ oceanRefstringOcean reference number.
◊ oceanConstringOcean container number.
◊ oceanBillstringOcean bill number.
■ lastFreeDaystringLast free day of import storage.
■ paperworkbooleanDoes driver need paperwork.
● specialReq
■ straightTruckReqbooleanStraight truck required for pickup.
■ wideTrailerReqboolean102” wide trailer required.
■ tallFreightbooleanTall freight over 94” high.
■ liftgatenumberLift gate is required.
  • 1 = shipper lift gate
  • 2 = consignee lift gate
  • 3 = both shipper and consignee lift gates
Sample Request
https://api.aduiepyle.com/1/shipment/createPickup
-H "Content-Type:application/json" 
-H "Authorization: Basic username:password" (Base64 encoded)
-d {
    "requester":{
        "name":"Jack",
        "phone":"999-999-9999",
        "extension":null,
        "developer":true
        }
    "shipper":{
        "name":"A DUIE PYLE",
        "address":{
            "streetAddress":"650 WESTTOWN RD",
            "city":"WEST CHESTER",
            "state":"PA",
            "zip":"19381"
        }
    },
    "consignee":{
        "name":"A DUIE PYLE",
        "address":{
            "streetAddress":"1132 OAK POINT AVE",
            "city":"BRONX",
            "state":"NY",
            "zip":"10474"
        }
    },
    "consInstr":"",
    "shipInstr":"Do not stack.",	
    "pickupDate":"2016-08-10",
    "readyTime":"09:00:00",
    "closingTime":"17:00:00",
    "details":{
        "units": 5,
        "containerType": "PLT",
        "weight": 99,
        "destinationZip": "10474",
        "pps": "12"
    },
    "specialReq":{
        "straightTruckReq":false,
        "wideTrailerReq":false,
        "tallFreight":false,
        "liftgate":1
    }
}
                                    
https://api.aduiepyle.com/1/shipment/createPickup
-H "Content-Type:application/json" 
-H "Authorization: Basic username:password" (Base64 encoded)
-d ' <?xml version='1.0'?>
<request xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
	<requester>
		<name>Jack</name>
		<phone>999-999-9999</phone>
		<extension>null</extension>
		<developer>true</developer>
	</requester>	
	<shipper>
		<name>A DUIE PYLE</name>
		<address>
			<streetAddress>650 WESTTOWN RD</streetAddress>
			<city>WEST CHESTER</city>
			<state>PA</state>
			<zip>19381</zip>
		</address>		
	</shipper>
	<consignee>
		<name>A DUIE PYLE</name>
		<address>
			<streetAddress>1132 OAK POINT AVE</streetAddress>
			<city>BRONX</city>
			<state>NY</state>
			<zip>10474</zip>
		</address>		
	</consignee>
	<consInstr>Please handle carefully.</consInstr>
	<shipInstr> </shipInstr>
	<pickupDate>2016-08-10</pickupDate>
	<readyTime>09:00:00</readyTime>
	<closingTime>17:00:00</closingTime>
	<details>
		<units>10</units>
		<containerType>PLT</containerType>
		<weight>80</weight>
		<isHazardous>false</isHazardous>
		<isFreezable>false</isFreezable>
		<destinationZip>10474</destinationZip>	
		<packagingGroup></packagingGroup>
		<pps>12</pps>
		<bol>123456</bol>		
	</details>	
	<importIndicator>
		<indicator>A</indicator>
		<airway>
			<airBill>1231</airBill>
			<airRef>4414</airRef>
		</airway>		
		<lastFreeDay>2016-07-31</lastFreeDay>
		<paperwork></paperwork >
	</importIndicator>	
</request>
                                    
Sample Response
{
    "pickup":
    {
        "pickupNumber":"0003",
        "pickupDate":"08\/10\/2016",
        "comment":"Due to the closure of the GWB, pickups may be delayed."
    }
}
                                    
<?xml version="1.0" encoding="UTF-16"?>
<pickup>
	<pickupNumber>0004</pickupNumber>
	<pickupDate>08/10/2016</pickupDate>
	<comment>Due to the closure of the GWB, pickups may be delayed.</comment>
</pickup>
                                    

Revision 2 – 09/20/2017

Website Shipment Tracking InterfaceAllow customers to track their shipments on the Pyle website.
Pyle Shipment Tracking Interface Print

Customers may embed a specially formatted URL on their website which will redirect the user to the Pyle Shipment Tracking page and display the shipment tracking information.

To obtain a shipment tracking report that will display on the A. Duie Pyle website create one of the following URLs as one long string:

    http://www.aduiepyle.com/publicdocs/LTLTrackingResults.asp
        ?MyPyleID=MyPyleID
        &Pro=pro-list
  • ?MyPyleID=MyPyleID – This parameter contains your My Pyle login which is normally your E-mail address. Example: ?MyPyleID=duie@aduiepyle.com
  • &Pro=pro-list – This required parameter contains one or more comma separated Pyle Pro Numbers. Examples: &pro=99999999
    &pro=157215096,157215237
The preferred way to track shipments is via the Pyle Pro Number, however you may also use the Bill of Lading number and the originating postal code or the Purchase Order number and the destination postal code.
    http://www.aduiepyle.com/publicdocs/LTLTrackingResults.asp?MyPyleID=MyPyleID&BL=bol-number&zip=orig-postal-code

    http://www.aduiepyle.com/publicdocs/LTLTrackingResults.asp?MyPyleID=MyPyleID&PO=po-number&zip=dest-postal-code
  • ?MyPyleID=MyPyleID – This parameter contains your My Pyle login which is normally your E-mail address. Example: ?MyPyleID=duie@aduiepyle.com
  • &BL=bol-number – This required parameter contains one ship generated Bill of Lading number. Example: &BL=456987
  • &BL=bol-number – This required parameter contains one ship generated Bill of Lading number. Example: &BL=456987

Examples

Request shipment tracking for Pro Number 99999999.

http://www.aduiepyle.com/publicdocs/LTLTrackingResults.asp?MyPyleID=duie@pyleco.com&PRO=99999999

Request shipment tracking for Bill of Lading 12345678 and originating Zip Code 19381.

http://www.aduiepyle.com/publicdocs/LTLTrackingResults.asp?MyPyleID=duie@pyleco.com&BL=12345678&ZIP=19341

Request shipment tracking for Purchase Order 654321 and destination Zip Code 12033.

http://www.aduiepyle.com/publicdocs/LTLTrackingResults.asp?MyPyleID=duie@pyleco.com&PO=654321&ZIP=12033

Revision 1 – 8/1/2012


Please note that EDI Services and Web Services are not available between 12 Midnight and 12:15 AM Eastern Time during our server maintenance window.

Address Normalization provided by Texas A&M University GeoServices
Address Verification provided by the United States Postal Service

Your browser is out-of-date!

Update your browser to view this website correctly.
If your browser is not out of date, please check and ensure compatibility view is turned off for this site. Update my browser now

×