ShippingService
Click here for a complete list of operations.
CreatePickup
Creates a pickup with the given pickup information.
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/CreatePickup" <?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> <CreatePickup xmlns="http://webservices.daytonfreight.com/"> <pickupInformation> <PickupNumber>string</PickupNumber> <CustomerReferenceNumber>string</CustomerReferenceNumber> <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> <PickupInstructions>string</PickupInstructions> <BillingInstructions>string</BillingInstructions> <Shipments> <ShipmentInformation> <DestinationZipCode>string</DestinationZipCode> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> <IsHazardous>boolean</IsHazardous> <IsExpedited>boolean</IsExpedited> <IsFood>boolean</IsFood> <IsPoisonous>boolean</IsPoisonous> <AdditionalFlags xsi:nil="true" /> <GuaranteedServiceOption>string</GuaranteedServiceOption> <Comments>string</Comments> </ShipmentInformation> <ShipmentInformation> <DestinationZipCode>string</DestinationZipCode> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> <IsHazardous>boolean</IsHazardous> <IsExpedited>boolean</IsExpedited> <IsFood>boolean</IsFood> <IsPoisonous>boolean</IsPoisonous> <AdditionalFlags xsi:nil="true" /> <GuaranteedServiceOption>string</GuaranteedServiceOption> <Comments>string</Comments> </ShipmentInformation> </Shipments> <SendConfirmationTo> <string>string</string> <string>string</string> </SendConfirmationTo> <SendReceiptTo> <string>string</string> <string>string</string> </SendReceiptTo> <Ready>dateTime</Ready> <Close> <Hour>short</Hour> <Minute>short</Minute> </Close> <Contact>string</Contact> <ContactPhoneNumber>string</ContactPhoneNumber> <ContactPhoneExtension>string</ContactPhoneExtension> <RequestorPhoneNumber>string</RequestorPhoneNumber> <RequestorPhoneExtension>string</RequestorPhoneExtension> <RequestorName>string</RequestorName> <Created>dateTime</Created> <Status>Assigned or Canceled or PickedUp or None or PartnerScheduling or PartnerScheduled</Status> <PartnerScac>string</PartnerScac> <PartnerPickupNumber>string</PartnerPickupNumber> </pickupInformation> </CreatePickup> </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> <CreatePickupResponse xmlns="http://webservices.daytonfreight.com/"> <CreatePickupResult>string</CreatePickupResult> </CreatePickupResponse> </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> <CreatePickup xmlns="http://webservices.daytonfreight.com/"> <pickupInformation> <PickupNumber>string</PickupNumber> <CustomerReferenceNumber>string</CustomerReferenceNumber> <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> <PickupInstructions>string</PickupInstructions> <BillingInstructions>string</BillingInstructions> <Shipments> <ShipmentInformation> <DestinationZipCode>string</DestinationZipCode> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> <IsHazardous>boolean</IsHazardous> <IsExpedited>boolean</IsExpedited> <IsFood>boolean</IsFood> <IsPoisonous>boolean</IsPoisonous> <AdditionalFlags xsi:nil="true" /> <GuaranteedServiceOption>string</GuaranteedServiceOption> <Comments>string</Comments> </ShipmentInformation> <ShipmentInformation> <DestinationZipCode>string</DestinationZipCode> <HandlingUnits>int</HandlingUnits> <Weight>int</Weight> <IsHazardous>boolean</IsHazardous> <IsExpedited>boolean</IsExpedited> <IsFood>boolean</IsFood> <IsPoisonous>boolean</IsPoisonous> <AdditionalFlags xsi:nil="true" /> <GuaranteedServiceOption>string</GuaranteedServiceOption> <Comments>string</Comments> </ShipmentInformation> </Shipments> <SendConfirmationTo> <string>string</string> <string>string</string> </SendConfirmationTo> <SendReceiptTo> <string>string</string> <string>string</string> </SendReceiptTo> <Ready>dateTime</Ready> <Close> <Hour>short</Hour> <Minute>short</Minute> </Close> <Contact>string</Contact> <ContactPhoneNumber>string</ContactPhoneNumber> <ContactPhoneExtension>string</ContactPhoneExtension> <RequestorPhoneNumber>string</RequestorPhoneNumber> <RequestorPhoneExtension>string</RequestorPhoneExtension> <RequestorName>string</RequestorName> <Created>dateTime</Created> <Status>Assigned or Canceled or PickedUp or None or PartnerScheduling or PartnerScheduled</Status> <PartnerScac>string</PartnerScac> <PartnerPickupNumber>string</PartnerPickupNumber> </pickupInformation> </CreatePickup> </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> <CreatePickupResponse xmlns="http://webservices.daytonfreight.com/"> <CreatePickupResult>string</CreatePickupResult> </CreatePickupResponse> </soap12:Body> </soap12:Envelope>