ShippingService
Click here for a complete list of operations.
GetBillOfLadingInformation
Gets bill of lading information for the requested bill of lading id.
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 /WebServices_v1.1/ShippingService.asmx HTTP/1.1 Host: legacy.daytonfreight.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.daytonfreight.com/GetBillOfLadingInformation" <?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:Header> <Credentials xmlns="http://webservices.daytonfreight.com/"> <UserName>string</UserName> <Password>string</Password> <InternalStateObject>string</InternalStateObject> </Credentials> </soap:Header> <soap:Body> <GetBillOfLadingInformation xmlns="http://webservices.daytonfreight.com/"> <billOfLadingId>long</billOfLadingId> </GetBillOfLadingInformation> </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> <GetBillOfLadingInformationResponse xmlns="http://webservices.daytonfreight.com/"> <GetBillOfLadingInformationResult> <Id>long</Id> <User>string</User> <Name>string</Name> <HazardousMaterial>boolean</HazardousMaterial> <ShipperAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </ShipperAddress> <ShipperContactName>string</ShipperContactName> <ShipperContactPhone>string</ShipperContactPhone> <ShipperContactExtension>string</ShipperContactExtension> <ConsigneeAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </ConsigneeAddress> <ConsigneeContactName>string</ConsigneeContactName> <ConsigneeContactPhone>string</ConsigneeContactPhone> <ConsigneeContactExtension>string</ConsigneeContactExtension> <ThirdPartyAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </ThirdPartyAddress> <ThirdPartyContactName>string</ThirdPartyContactName> <ThirdPartyContactPhone>string</ThirdPartyContactPhone> <ThirdPartyContactExtension>string</ThirdPartyContactExtension> <BillOfLadingItems> <BillOfLadingItemInformation> <HandlingUnits>int</HandlingUnits> <Packaging>string</Packaging> <Weight>int</Weight> <HazardousMaterial>boolean</HazardousMaterial> <ShipmentClass>string</ShipmentClass> <NmfcClass>string</NmfcClass> <NmfcSubClass>string</NmfcSubClass> <ItemDescription>string</ItemDescription> </BillOfLadingItemInformation> <BillOfLadingItemInformation> <HandlingUnits>int</HandlingUnits> <Packaging>string</Packaging> <Weight>int</Weight> <HazardousMaterial>boolean</HazardousMaterial> <ShipmentClass>string</ShipmentClass> <NmfcClass>string</NmfcClass> <NmfcSubClass>string</NmfcSubClass> <ItemDescription>string</ItemDescription> </BillOfLadingItemInformation> </BillOfLadingItems> <EmergencyContactName>string</EmergencyContactName> <EmergencyContactPhone>string</EmergencyContactPhone> <ShipperNumber>string</ShipperNumber> <CarrierNumber>string</CarrierNumber> <BolNumber>string</BolNumber> <Terms>Prepaid or Collect or ThirdParty or ThirdPartyPrepaid or ThirdPartyCollect</Terms> <IsCod>boolean</IsCod> <CodAmount>float</CodAmount> <CompanyCheckAcceptable>boolean</CompanyCheckAcceptable> <CodTerms>Prepaid or Collect or ThirdParty or ThirdPartyPrepaid or ThirdPartyCollect</CodTerms> <RemitAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </RemitAddress> <Comments>string</Comments> <PerLbDeclaredValue>float</PerLbDeclaredValue> <POItems> <POItemInformation> <PONumber>string</PONumber> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> </POItemInformation> <POItemInformation> <PONumber>string</PONumber> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> </POItemInformation> </POItems> <GuaranteedServiceOption>string</GuaranteedServiceOption> <Created>dateTime</Created> </GetBillOfLadingInformationResult> </GetBillOfLadingInformationResponse> </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_v1.1/ShippingService.asmx HTTP/1.1 Host: legacy.daytonfreight.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:Header> <Credentials xmlns="http://webservices.daytonfreight.com/"> <UserName>string</UserName> <Password>string</Password> <InternalStateObject>string</InternalStateObject> </Credentials> </soap12:Header> <soap12:Body> <GetBillOfLadingInformation xmlns="http://webservices.daytonfreight.com/"> <billOfLadingId>long</billOfLadingId> </GetBillOfLadingInformation> </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> <GetBillOfLadingInformationResponse xmlns="http://webservices.daytonfreight.com/"> <GetBillOfLadingInformationResult> <Id>long</Id> <User>string</User> <Name>string</Name> <HazardousMaterial>boolean</HazardousMaterial> <ShipperAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </ShipperAddress> <ShipperContactName>string</ShipperContactName> <ShipperContactPhone>string</ShipperContactPhone> <ShipperContactExtension>string</ShipperContactExtension> <ConsigneeAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </ConsigneeAddress> <ConsigneeContactName>string</ConsigneeContactName> <ConsigneeContactPhone>string</ConsigneeContactPhone> <ConsigneeContactExtension>string</ConsigneeContactExtension> <ThirdPartyAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </ThirdPartyAddress> <ThirdPartyContactName>string</ThirdPartyContactName> <ThirdPartyContactPhone>string</ThirdPartyContactPhone> <ThirdPartyContactExtension>string</ThirdPartyContactExtension> <BillOfLadingItems> <BillOfLadingItemInformation> <HandlingUnits>int</HandlingUnits> <Packaging>string</Packaging> <Weight>int</Weight> <HazardousMaterial>boolean</HazardousMaterial> <ShipmentClass>string</ShipmentClass> <NmfcClass>string</NmfcClass> <NmfcSubClass>string</NmfcSubClass> <ItemDescription>string</ItemDescription> </BillOfLadingItemInformation> <BillOfLadingItemInformation> <HandlingUnits>int</HandlingUnits> <Packaging>string</Packaging> <Weight>int</Weight> <HazardousMaterial>boolean</HazardousMaterial> <ShipmentClass>string</ShipmentClass> <NmfcClass>string</NmfcClass> <NmfcSubClass>string</NmfcSubClass> <ItemDescription>string</ItemDescription> </BillOfLadingItemInformation> </BillOfLadingItems> <EmergencyContactName>string</EmergencyContactName> <EmergencyContactPhone>string</EmergencyContactPhone> <ShipperNumber>string</ShipperNumber> <CarrierNumber>string</CarrierNumber> <BolNumber>string</BolNumber> <Terms>Prepaid or Collect or ThirdParty or ThirdPartyPrepaid or ThirdPartyCollect</Terms> <IsCod>boolean</IsCod> <CodAmount>float</CodAmount> <CompanyCheckAcceptable>boolean</CompanyCheckAcceptable> <CodTerms>Prepaid or Collect or ThirdParty or ThirdPartyPrepaid or ThirdPartyCollect</CodTerms> <RemitAddress> <AccountCode>string</AccountCode> <AddressName>string</AddressName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <ZipCode4>string</ZipCode4> </RemitAddress> <Comments>string</Comments> <PerLbDeclaredValue>float</PerLbDeclaredValue> <POItems> <POItemInformation> <PONumber>string</PONumber> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> </POItemInformation> <POItemInformation> <PONumber>string</PONumber> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> </POItemInformation> </POItems> <GuaranteedServiceOption>string</GuaranteedServiceOption> <Created>dateTime</Created> </GetBillOfLadingInformationResult> </GetBillOfLadingInformationResponse> </soap12:Body> </soap12:Envelope>