IT Support

API / Web Services

A. Duie Pyle offers a number of web services (Rest API) 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.

  • DAFG = Dayton Freight Lines
  • OAKH = Oak Harbor Freight Lines
  • SEFL = Southeastern Freight Lines
  • SZTG = Speedy Transport
    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.

Warning: Using the Purchase Order number is the slowest way to obtain shipment status information. Using the Pyle Pro number is the preferred way to track shipments. Using the Purchase Order number may result in timeouts.

    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
-Headers "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"
          }
        ]
      }
    ]
  }
}
                                    
-Headers "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 2 – 01/13/2020
Document Images Web ServiceAllows MyPyle 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 MyPyle 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.

    https://www.aduiepyle.com/publicdocs/DocImages_XML
        ?MyPyleID=MyPyleID
        &Pro=pro-list
        &DocTypes=doc-type-list
  • ?MyPyleID=MyPyleID – This parameter contains your MyPyle 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
  • &json=1 – Return the result as a JSON object. The default is an XML document.

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:

https://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.

https://www.aduiepyle.com/Publicdocs/DocImages_XML
 ?MyPyleID=duie@aduiepyle.com&pro=157215096,157215237&doctypes=BL,DR,WC&json=1
Sample Document Images

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>

This is a sample Document Images JSON object.

{
    "DocImages": [
        {
            "type": "Bill of Lading",
            "pro": "157215096",
            "fileExt": "tif",
            "base64Image": " … … … "
        },
        {
            "type": "Bill of Lading",
            "pro": "157215237",
            "fileExt": "tif",
            "base64Image": " … … … "
        }
    ],
    "querydatetime": "2021-01-13T11:06:53.6710313-05:00"
}                                                

Revision 3 – 1/13/2021

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

Transit Time Web Service

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

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

    https://www.aduiepyle.com/publicdocs/LTLTransitTimeXML1
        ?MyPyleID=MyPyleID
        &orig_zip=zip
        &dest_zip=zip
        &pickup_date=date
  • ?MyPyleID=MyPyleID – This parameter contains your MyPyle 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=2019-12-02
  • &json=1 – Return the result as a JSON object. The default is an XML document.

Examples

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

This is the URL that should be sent:

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

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

https://www.aduiepyle.com/Publicdocs/LTLTransitTimeXML1
 ?MyPyleID=aduiepyle@aduiepyle.com&orig_zip=08016&dest_zip=19381
 &pickup_date=2019-12-02&json=1
Sample Transit Time

This is a sample Transit Time XML document.

<TransitTime Version="190530">
    <origin-zip>19341</origin-zip>
    <origin-terminal>WEST CHESTER, PA</origin-terminal>
    <origin-carrier>A. Duie Pyle</origin-carrier>
    <dest-zip>05602</dest-zip>
    <dest-terminal>BURLINGTON, VT</dest-terminal>
    <dest-carrier>A. Duie Pyle</dest-carrier>
    <pickup-date>11/27/2019</pickup-date>
    <service-days>2</service-days>
    <delivery-date>12/03/2019</delivery-date>
    <pyle-priority>
       <pps10am>CALL</pps10am>
       <pps12pm>YES</pps12pm>
       <pps5pm>YES</pps5pm>
    </pyle-priority>
    <query-datetime>2019-11-27T09:42:55.9264759-05:00</query-datetime>
</TransitTime>

This is a sample Transit Time JSON object.

{
    "originZip": "08016",
    "originTerminal": "WESTAMPTON, NJ",
    "originCarrier": "A. Duie Pyle",
    "destZip": "19381",
    "destTerminal": "WEST CHESTER, PA",
    "destCarrier": "A. Duie Pyle",
    "pickupDate": "2019-12-02T00:00:00",
    "serviceDays": 1,
    "deliveryDate": "2019-12-03T00:00:00",
    "PylePriority": {
        "pps10am": "YES",
        "pps12pm": "YES",
        "pps5pm": "YES"
    },
    "queryDatetime": "2019-11-27T09:01:47.0312852-05:00",
    "errors": null
}
                                                

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

Revision 4 – 11/27/2019

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 MyPyle 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 MyPyle 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 YYYY-MM-DD 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
  • ROL = roll
  • 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
■ insidePickupbooleanInside pickup.
■ residentialbooleanResidential area pickup.
■ limitedAccessbooleanLimited access pickup.
Sample Request
https://api.aduiepyle.com/1/shipment/createPickup
-Headers "Content-Type:application/json" 
-Headers "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":"2017-11-27",
    "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,
        "insidePickup":false,
        "residential":false,
        "limitedAccess":false
    }
}
                                    
https://api.aduiepyle.com/1/shipment/createPickup
-Headers "Content-Type:application/xml" 
-Headers "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>2017-11-27</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>2017-11-30</lastFreeDay>
		<paperwork></paperwork >
	</importIndicator>	
	<specialReq>
		<straightTruckReq>false</straightTruckReq>
		<wideTrailerReq>false</wideTrailerReq>
		<tallFreight>false</tallFreight>
		<liftgate>1</liftgate>
		<insidePickup>false</insidePickup>
		<residential>false</residential>
		<limitedAccess>false</limitedAccess>
	</specialReq>
</request>
                                    
Sample Response
{
    "pickup":
    {
        "pickupNumber":"0003",
        "pickupDate":"11\/27\/2017",
        "comment":"Due to the closure of the GWB, pickups may be delayed."
    }
}
                                    
<?xml version="1.0" encoding="UTF-16"?>
<pickup>
	<pickupNumber>0004</pickupNumber>
	<pickupDate>11/27/2017</pickupDate>
	<comment>Due to the closure of the GWB, pickups may be delayed.</comment>
</pickup>
                                    

When the pickupNumber is returned the pickup request has been accepted. Any message in the comment should be displayed to the user. Messages let the customer know about unusual events like weather conditions or traffic.

Revision 4 – 04/20/2018

Open Invoices Web ServiceAllows MyPyle users to obtain open invoices.
Print

Open Invoices Web Service

A. Duie Pyle provides information on all open invoices for each account linked to your MyPyle login via a web service that returns either a JSON object or an XML document. A summarized or detailed version can be provided by adjusting the 'detailed' boolean parameter in the URL.

Your MyPyle login must be authorized to access this web service. Please complete the Open Invoices Web Service Setup Request form to request this authorization.

Summarized Invoices

This returns a summarized version of each invoice. Requesting summarized invoices is faster and returns smaller results. A longer than normal timeout of 15 minutes may be required.

https://api.aduiepyle.com/1/billing/invoices?user=MyPyleID&accountCode=account&detailed=0
Detailed Invoices

This returns a detailed version of each invoice. This includes the billing lines in each invoice. Requesting detailed invoices is slower and returns larger results. A longer than normal timeout of 15 minutes may be required.

https://api.aduiepyle.com/1/billing/invoices?user=MyPyleID&accountCode=account&detailed=1

user — The MyPyle login email address.

accountCode — The account code. The account code always starts with a P1 and is eight characters long.

detailed — 0 = summary   1 = detailed

Output Description
■ accountCodethe company’s account code
■ invoicelist of invoice details
■ propro number of the invoice
■ statementNumberstatement number
■ invoiceDateinvoice date
■ billOfLadingNumbercontains list of BOL numbers
■ purchaseOrdercontains list of purchase order numbers
■ amountDueamount due
■ totalChargetotal amount charge
■ weightweight of pro
■ piecespieces of pro
■ paymentMethodpayment method for this transaction
■ entitylist of the pro shipper, consignee, and bill to details
■ typetype of account which is either shipper, consignee or bill to
■ codeaccount code
■ nameaccount name
■ address1account address 1
■ address2account address 2
■ cityaccount city
■ stateaccount state
■ zipaccount zip code
■ pickuppickup details
■ arrivalpickup arrival date time
■ trailerpickup trailer unit code
■ truckpickup truck unit code
■ delivery delivery details
■ arrivaldelivery arrival date time
■ trailerdelivery trailer unit code
■ truckdelivery truck unit code
 
● for a detailed result
■ detailslist of billing lines
■ descriptiondescription of the item
■ piecespieces
■ weightweight
■ containertype of container
■ classcommodity class
■ raterate code
■ rateQualifierrate qualifier
■ specialChargeCodespecial charge code
■ chargeamount charge

Detailed Invoice Codes

If you are not obtaining the invoices that you're expecting it's probably because the account isn't linked to your MyPyle login. Please contact us at 800−523−5020 x34236 or email the AFM Department.

 

Examples

The following example will obtain all open invoices associated with MyPyle login duie@pyleco.com and account code P1ADWE65.

https://api.aduiepyle.com/1/billing/invoices?user=duie@pyleco.com&accountCode=P1ADWE65&detailed=1
Sample Open Invoices
-Headers "Content-Type:application/json
{
    "result": {
        "accountCode": "PABA1A",
        "invoices": {
            "invoice": [
                {
                    "pro": "671831022",
                    "statementNumber": "12348765",
                    "invoiceDate": "2022-05-02",
                    "billOfLadingNumber": {
                        "data": ["NS"]
                    },
                    "purchaseOrder": {
                        "data": ["000004305"]
                    },
                    "amountDue": 564.2,
                    "totalCharge": 564.2,
                    "weight": 4950,
                    "pieces": 9,
                    "paymentMethod": "PREPAID",
                    "entities": {
                        "entity": [
                            {
                                "type": "consignee",
                                "code": "DACE1C",
                                "name": "DAVIDS COOKIES",
                                "address1": "11 CLIFFSIDE DR",
                                "address2": "",
                                "city": "CEDAR GROVE",
                                "state": "NJ",
                                "zip": "07009"
                            },
                            {
                                "type": "shipper",
                                "code": "PABA1A",
                                "name": "PARKER FLAVORS INC",
                                "address1": "1801 A PORTAL ST",
                                "address2": "",
                                "city": "BALTIMORE",
                                "state": "MD",
                                "zip": "21224"
                            },
                            {
                                "type": "bill_to",
                                "code": "PABA1A",
                                "name": "PARKER FLAVORS INC",
                                "address1": "1801 A PORTAL ST",
                                "address2": "",
                                "city": "BALTIMORE",
                                "state": "MD",
                                "zip": "21224"
                            }
                        ]
                    },
                    "pickup": {
                        "arrival": "2022-04-29T15:29",
                        "trailer": "6404R",
                        "truck": "1036"
                    },
                    "delivery": {
                        "arrival": "2022-05-02T10:44",
                        "trailer": "4283H",
                        "truck": "10155"
                    },
                    "details": {
                        "detail": [
                            {
                                "description": "46.9% FUEL SURCHARGE",
                                "pieces": 0,
                                "weight": 0,
                                "container": "",
                                "class": 0,
                                "rate": 0.469,
                                "rateQualifier": "CT",
                                "specialChargeCode": "FUE",
                                "charge": 119.03
                            }
                        ]
                    }
                }
            ]
        }
    }
}
                                                
-Headers "Content-Type:text/xml"
<?xml version="1.0" encoding="ISO-8859-15"?>
<result>
    <accountCode>PABA1A</accountCode>
    <invoices>
        <invoice>
            <pro>671831022</pro>
            <statementNumber>12348765</statementNumber>
            <invoiceDate>2022-05-02</invoiceDate>
            <billOfLadingNumber>
                <data>NS</data>
            </billOfLadingNumber>
            <purchaseOrder>
                <data>000004305</data>
            </purchaseOrder>
            <amountDue>564.2</amountDue>
            <totalCharge>564.2</totalCharge>
            <weight>4950</weight>
            <pieces>9</pieces>
            <paymentMethod>PREPAID</paymentMethod>
            <entities>
                <entity>
                    <type>consignee</type>
                    <code>DACE1C</code>
                    <name>DAVIDS COOKIES</name>
                    <address1>11 CLIFFSIDE DR</address1>
                    <address2></address2>
                    <city>CEDAR GROVE</city>
                    <state>NJ</state>
                    <zip>07009</zip>
                </entity>
                <entity>
                    <type>shipper</type>
                    <code>PABA1A</code>
                    <name>PARKER FLAVORS INC</name>
                    <address1>1801 A PORTAL ST</address1>
                    <address2></address2>
                    <city>BALTIMORE</city>
                    <state>MD</state>
                    <zip>21224</zip>
                </entity>
                <entity>
                    <type>bill_to</type>
                    <code>PABA1A</code>
                    <name>PARKER FLAVORS INC</name>
                    <address1>1801 A PORTAL ST</address1>
                    <address2></address2>
                    <city>BALTIMORE</city>
                    <state>MD</state>
                    <zip>21224</zip>
                </entity>
            </entities>
            <pickup>
                <arrival>2022-04-29T15:29</arrival>
                <trailer>6404R</trailer>
                <truck>1036</truck>
            </pickup>
            <delivery>
                <arrival>2022-05-02T10:44</arrival>
                <trailer>4283H</trailer>
                <truck>10155</truck>
            </delivery>
            <details>
                <detail>
                    <description>46.9% FUEL SURCHARGE</description>
                    <pieces>0</pieces>
                    <weight>0</weight>
                    <container></container>
                    <class>0</class>
                    <rate>0.469</rate>
                    <rateQualifier>CT</rateQualifier>
                    <specialChargeCode>FUE</specialChargeCode>
                    <charge>119.03</charge>
                </detail>
            </details>
        </invoice>
    </invoices>
</result>

                                                

Revision 2 – 04/14/2023

Open Invoices Web Service Setup Request FormRequest access for the Open Invoices Web Service

To take advantage of A. Duie Pyle’s Open Invoices Web Service, simply click on the button below, complete the Open Invoices Web Service Setup Request form and submit it. One of our Account File Maintenance 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 MyPyle login is required.

Open Invoices Web Service Setup Request

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:

    https://www.aduiepyle.com/LTL/ShipmentTracking
        ?MyPyleID=MyPyleID
        &Pro=pro-list
  • ?MyPyleID=MyPyleID – This parameter contains your MyPyle 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.
    https://www.aduiepyle.com/LTL/ShipmentTracking?MyPyleID=MyPyleID&BL=bol-number&zip=orig-postal-code

    https://www.aduiepyle.com/LTL/ShipmentTracking?MyPyleID=MyPyleID&PO=po-number&zip=dest-postal-code
  • ?MyPyleID=MyPyleID – This parameter contains your MyPyle login which is normally your E-mail address. Example: ?MyPyleID=duie@aduiepyle.com
  • &BL=bol-number – Required Bill of Lading number. &zip=orig-zip – Required origin postal code. Example: &BL=456987&zip=08016
  • &PO=po-number – Required Purchase Order number. &zip=dest-zip – Required destination postal code. Example: &PO=654321&zip=19380

Examples

Request shipment tracking for Pro Number 99999999.

https://www.aduiepyle.com/LTL/ShipmentTracking?MyPyleID=duie@pyleco.com&PRO=99999999

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

https://www.aduiepyle.com/LTL/ShipmentTracking?MyPyleID=duie@pyleco.com&BL=12345678&ZIP=19341

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

https://www.aduiepyle.com/LTL/ShipmentTracking?MyPyleID=duie@pyleco.com&PO=654321&ZIP=12033

Revision 2 – 7/17/2019

Web Services NotificationReceive notification whenever a Web Service interface is updated.
Web Services Notification

Customers may request a notification whenever one of the Web Service interfaces is updated.

By clicking “Submit”, you agree to our Terms of Use and Privacy Policy. We’ll occasionally send you MyPyle related emails.

If you wish to unsubscribe from any Pyle Communications mailing list please click on the link at the bottom of each email message.

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