Peninsula Truck Lines Web Services API


Click here for a complete list of operations.

CreatePensPickupRequest

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userId:
password:
account:
shipperName:
shipperAddress:
shipperCity:
shipperState:
shipperZip:
shipperContact:
shipperPhone:
pickupDate:
pickUpReadyTime:
dockCloseTime:
piecesList:
weightList:
destinationZipCodeList:
carrierConnectionList:
dimensionLengthList:
dimensionWidthList:
dimensionHeightList:
accessorialList:
noteToDispatcher:

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 /webservices/pensrater.asmx HTTP/1.1
Host: www.peninsulatruck.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://peninsulatruck.com/WebServices/CreatePensPickupRequest"

<?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>
    <CreatePensPickupRequest xmlns="http://peninsulatruck.com/WebServices">
      <userId>string</userId>
      <password>string</password>
      <account>string</account>
      <shipperName>string</shipperName>
      <shipperAddress>string</shipperAddress>
      <shipperCity>string</shipperCity>
      <shipperState>string</shipperState>
      <shipperZip>string</shipperZip>
      <shipperContact>string</shipperContact>
      <shipperPhone>string</shipperPhone>
      <pickupDate>string</pickupDate>
      <pickUpReadyTime>string</pickUpReadyTime>
      <dockCloseTime>string</dockCloseTime>
      <piecesList>string</piecesList>
      <weightList>string</weightList>
      <destinationZipCodeList>string</destinationZipCodeList>
      <carrierConnectionList>string</carrierConnectionList>
      <dimensionLengthList>string</dimensionLengthList>
      <dimensionWidthList>string</dimensionWidthList>
      <dimensionHeightList>string</dimensionHeightList>
      <accessorialList>string</accessorialList>
      <noteToDispatcher>string</noteToDispatcher>
    </CreatePensPickupRequest>
  </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>
    <CreatePensPickupRequestResponse xmlns="http://peninsulatruck.com/WebServices">
      <CreatePensPickupRequestResult>
        <pickupShipment>
          <shipperInfo>
            <shipperName>string</shipperName>
            <shipperAddress>string</shipperAddress>
            <shipperCity>string</shipperCity>
            <shipperState>string</shipperState>
            <shipperZip>string</shipperZip>
            <shipperContact>string</shipperContact>
            <shipperPhone>string</shipperPhone>
          </shipperInfo>
          <pickupInfo>
            <pickUpNumber>string</pickUpNumber>
            <pickUpDate>string</pickUpDate>
            <readyTime>string</readyTime>
            <dockClose>string</dockClose>
            <length>string</length>
            <width>string</width>
            <height>string</height>
            <noteToDispatcher>string</noteToDispatcher>
          </pickupInfo>
          <shipmentDetail>
            <pensShipmentDetailItem xsi:nil="true" />
            <pensShipmentDetailItem xsi:nil="true" />
          </shipmentDetail>
          <accessorialDetail>
            <pensAccessorialDetailItem xsi:nil="true" />
            <pensAccessorialDetailItem xsi:nil="true" />
          </accessorialDetail>
        </pickupShipment>
        <pickupRemark>
          <remarkItem>
            <remark>string</remark>
          </remarkItem>
          <remarkItem>
            <remark>string</remark>
          </remarkItem>
        </pickupRemark>
        <errors>
          <number>string</number>
          <message>string</message>
        </errors>
      </CreatePensPickupRequestResult>
    </CreatePensPickupRequestResponse>
  </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 /webservices/pensrater.asmx HTTP/1.1
Host: www.peninsulatruck.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>
    <CreatePensPickupRequest xmlns="http://peninsulatruck.com/WebServices">
      <userId>string</userId>
      <password>string</password>
      <account>string</account>
      <shipperName>string</shipperName>
      <shipperAddress>string</shipperAddress>
      <shipperCity>string</shipperCity>
      <shipperState>string</shipperState>
      <shipperZip>string</shipperZip>
      <shipperContact>string</shipperContact>
      <shipperPhone>string</shipperPhone>
      <pickupDate>string</pickupDate>
      <pickUpReadyTime>string</pickUpReadyTime>
      <dockCloseTime>string</dockCloseTime>
      <piecesList>string</piecesList>
      <weightList>string</weightList>
      <destinationZipCodeList>string</destinationZipCodeList>
      <carrierConnectionList>string</carrierConnectionList>
      <dimensionLengthList>string</dimensionLengthList>
      <dimensionWidthList>string</dimensionWidthList>
      <dimensionHeightList>string</dimensionHeightList>
      <accessorialList>string</accessorialList>
      <noteToDispatcher>string</noteToDispatcher>
    </CreatePensPickupRequest>
  </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>
    <CreatePensPickupRequestResponse xmlns="http://peninsulatruck.com/WebServices">
      <CreatePensPickupRequestResult>
        <pickupShipment>
          <shipperInfo>
            <shipperName>string</shipperName>
            <shipperAddress>string</shipperAddress>
            <shipperCity>string</shipperCity>
            <shipperState>string</shipperState>
            <shipperZip>string</shipperZip>
            <shipperContact>string</shipperContact>
            <shipperPhone>string</shipperPhone>
          </shipperInfo>
          <pickupInfo>
            <pickUpNumber>string</pickUpNumber>
            <pickUpDate>string</pickUpDate>
            <readyTime>string</readyTime>
            <dockClose>string</dockClose>
            <length>string</length>
            <width>string</width>
            <height>string</height>
            <noteToDispatcher>string</noteToDispatcher>
          </pickupInfo>
          <shipmentDetail>
            <pensShipmentDetailItem xsi:nil="true" />
            <pensShipmentDetailItem xsi:nil="true" />
          </shipmentDetail>
          <accessorialDetail>
            <pensAccessorialDetailItem xsi:nil="true" />
            <pensAccessorialDetailItem xsi:nil="true" />
          </accessorialDetail>
        </pickupShipment>
        <pickupRemark>
          <remarkItem>
            <remark>string</remark>
          </remarkItem>
          <remarkItem>
            <remark>string</remark>
          </remarkItem>
        </pickupRemark>
        <errors>
          <number>string</number>
          <message>string</message>
        </errors>
      </CreatePensPickupRequestResult>
    </CreatePensPickupRequestResponse>
  </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 /webservices/pensrater.asmx/CreatePensPickupRequest?userId=string&password=string&account=string&shipperName=string&shipperAddress=string&shipperCity=string&shipperState=string&shipperZip=string&shipperContact=string&shipperPhone=string&pickupDate=string&pickUpReadyTime=string&dockCloseTime=string&piecesList=string&weightList=string&destinationZipCodeList=string&carrierConnectionList=string&dimensionLengthList=string&dimensionWidthList=string&dimensionHeightList=string&accessorialList=string&noteToDispatcher=string HTTP/1.1
Host: www.peninsulatruck.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<pensPickup xmlns="http://peninsulatruck.com/WebServices">
  <pickupShipment>
    <shipperInfo>
      <shipperName>string</shipperName>
      <shipperAddress>string</shipperAddress>
      <shipperCity>string</shipperCity>
      <shipperState>string</shipperState>
      <shipperZip>string</shipperZip>
      <shipperContact>string</shipperContact>
      <shipperPhone>string</shipperPhone>
    </shipperInfo>
    <pickupInfo>
      <pickUpNumber>string</pickUpNumber>
      <pickUpDate>string</pickUpDate>
      <readyTime>string</readyTime>
      <dockClose>string</dockClose>
      <length>string</length>
      <width>string</width>
      <height>string</height>
      <noteToDispatcher>string</noteToDispatcher>
    </pickupInfo>
    <shipmentDetail>
      <pensShipmentDetailItem>
        <pieces>string</pieces>
        <weight>string</weight>
        <length>string</length>
        <width>string</width>
        <height>string</height>
        <destinationZip>string</destinationZip>
        <destinationTerminal>string</destinationTerminal>
        <carrierConnection>string</carrierConnection>
      </pensShipmentDetailItem>
      <pensShipmentDetailItem>
        <pieces>string</pieces>
        <weight>string</weight>
        <length>string</length>
        <width>string</width>
        <height>string</height>
        <destinationZip>string</destinationZip>
        <destinationTerminal>string</destinationTerminal>
        <carrierConnection>string</carrierConnection>
      </pensShipmentDetailItem>
    </shipmentDetail>
    <accessorialDetail>
      <pensAccessorialDetailItem>
        <accessorialCode>string</accessorialCode>
        <accessorialDesc>string</accessorialDesc>
      </pensAccessorialDetailItem>
      <pensAccessorialDetailItem>
        <accessorialCode>string</accessorialCode>
        <accessorialDesc>string</accessorialDesc>
      </pensAccessorialDetailItem>
    </accessorialDetail>
  </pickupShipment>
  <pickupRemark>
    <remarkItem>
      <remark>string</remark>
    </remarkItem>
    <remarkItem>
      <remark>string</remark>
    </remarkItem>
  </pickupRemark>
  <errors>
    <number>string</number>
    <message>string</message>
  </errors>
</pensPickup>

HTTP POST

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

POST /webservices/pensrater.asmx/CreatePensPickupRequest HTTP/1.1
Host: www.peninsulatruck.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userId=string&password=string&account=string&shipperName=string&shipperAddress=string&shipperCity=string&shipperState=string&shipperZip=string&shipperContact=string&shipperPhone=string&pickupDate=string&pickUpReadyTime=string&dockCloseTime=string&piecesList=string&weightList=string&destinationZipCodeList=string&carrierConnectionList=string&dimensionLengthList=string&dimensionWidthList=string&dimensionHeightList=string&accessorialList=string&noteToDispatcher=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<pensPickup xmlns="http://peninsulatruck.com/WebServices">
  <pickupShipment>
    <shipperInfo>
      <shipperName>string</shipperName>
      <shipperAddress>string</shipperAddress>
      <shipperCity>string</shipperCity>
      <shipperState>string</shipperState>
      <shipperZip>string</shipperZip>
      <shipperContact>string</shipperContact>
      <shipperPhone>string</shipperPhone>
    </shipperInfo>
    <pickupInfo>
      <pickUpNumber>string</pickUpNumber>
      <pickUpDate>string</pickUpDate>
      <readyTime>string</readyTime>
      <dockClose>string</dockClose>
      <length>string</length>
      <width>string</width>
      <height>string</height>
      <noteToDispatcher>string</noteToDispatcher>
    </pickupInfo>
    <shipmentDetail>
      <pensShipmentDetailItem>
        <pieces>string</pieces>
        <weight>string</weight>
        <length>string</length>
        <width>string</width>
        <height>string</height>
        <destinationZip>string</destinationZip>
        <destinationTerminal>string</destinationTerminal>
        <carrierConnection>string</carrierConnection>
      </pensShipmentDetailItem>
      <pensShipmentDetailItem>
        <pieces>string</pieces>
        <weight>string</weight>
        <length>string</length>
        <width>string</width>
        <height>string</height>
        <destinationZip>string</destinationZip>
        <destinationTerminal>string</destinationTerminal>
        <carrierConnection>string</carrierConnection>
      </pensShipmentDetailItem>
    </shipmentDetail>
    <accessorialDetail>
      <pensAccessorialDetailItem>
        <accessorialCode>string</accessorialCode>
        <accessorialDesc>string</accessorialDesc>
      </pensAccessorialDetailItem>
      <pensAccessorialDetailItem>
        <accessorialCode>string</accessorialCode>
        <accessorialDesc>string</accessorialDesc>
      </pensAccessorialDetailItem>
    </accessorialDetail>
  </pickupShipment>
  <pickupRemark>
    <remarkItem>
      <remark>string</remark>
    </remarkItem>
    <remarkItem>
      <remark>string</remark>
    </remarkItem>
  </pickupRemark>
  <errors>
    <number>string</number>
    <message>string</message>
  </errors>
</pensPickup>