Shipment
Click here for a complete list of operations.
GetByBLNumber
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 /webservice/shipment/soap.asmx HTTP/1.1 Host: www.saiasecure.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.SaiaSecure.com/WebService/Shipment/GetByBLNumber" <?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> <GetByBLNumber xmlns="http://www.SaiaSecure.com/WebService/Shipment"> <request> <UserID>string</UserID> <Password>string</Password> <TestMode>string</TestMode> <BLNumber>string</BLNumber> <OriginZipcode>string</OriginZipcode> <DestinationZipcode>string</DestinationZipcode> </request> </GetByBLNumber> </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> <GetByBLNumberResponse xmlns="http://www.SaiaSecure.com/WebService/Shipment"> <GetByBLNumberResult> <Shipper> <AccountNumber>string</AccountNumber> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </Shipper> <Consignee> <AccountNumber>string</AccountNumber> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </Consignee> <ThirdParty> <AccountNumber>string</AccountNumber> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </ThirdParty> <MailTo> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </MailTo> <FromPartner> <SCAC>string</SCAC> <Name>string</Name> <Number>string</Number> <ExchangeTerminal>string</ExchangeTerminal> </FromPartner> <ToPartner> <SCAC>string</SCAC> <Name>string</Name> <Number>string</Number> <ExchangeTerminal>string</ExchangeTerminal> </ToPartner> <Details> <DetailItem> <Pieces>decimal</Pieces> <Code>string</Code> <Hazardous>string</Hazardous> <Package>string</Package> <Description>string</Description> <Weight>decimal</Weight> <Rate>decimal</Rate> <Amount>decimal</Amount> </DetailItem> <DetailItem> <Pieces>decimal</Pieces> <Code>string</Code> <Hazardous>string</Hazardous> <Package>string</Package> <Description>string</Description> <Weight>decimal</Weight> <Rate>decimal</Rate> <Amount>decimal</Amount> </DetailItem> </Details> <History> <HistoryItem> <ActivityDateTime>string</ActivityDateTime> <Activity>string</Activity> <City>string</City> <State>string</State> </HistoryItem> <HistoryItem> <ActivityDateTime>string</ActivityDateTime> <Activity>string</Activity> <City>string</City> <State>string</State> </HistoryItem> </History> <Code>string</Code> <Element>string</Element> <Fault>string</Fault> <Message>string</Message> <TestMode>string</TestMode> <ProNumber>decimal</ProNumber> <CurrentStatus>string</CurrentStatus> <BLNumber>string</BLNumber> <PONumber>string</PONumber> <ShipperNumber>string</ShipperNumber> <ReferenceNumber>string</ReferenceNumber> <MasterProNumber>decimal</MasterProNumber> <DriverNumber>decimal</DriverNumber> <TrailerNumber>string</TrailerNumber> <OnTime>string</OnTime> <LatePickup>string</LatePickup> <Accessorials>string</Accessorials> <Hazardous>string</Hazardous> <Appointment>string</Appointment> <DeliveryAppointmentDateTime>string</DeliveryAppointmentDateTime> <DeliveryDateTime>string</DeliveryDateTime> <DeliveryDateTimeArrive>string</DeliveryDateTimeArrive> <DeliveryDateTimeDepart>string</DeliveryDateTimeDepart> <ActualDeliveryDays>decimal</ActualDeliveryDays> <StandardServiceDays>decimal</StandardServiceDays> <ExpectedDeliveryDate>string</ExpectedDeliveryDate> <Pieces>decimal</Pieces> <ShippingWeight>decimal</ShippingWeight> <BillingTerms>string</BillingTerms> <PickupDateTime>string</PickupDateTime> <OriginTerminal>string</OriginTerminal> <DestinationTerminal>string</DestinationTerminal> <Signature>string</Signature> <CargoControlNumber>string</CargoControlNumber> <Rates>string</Rates> <Tariff>string</Tariff> <NetCharges>decimal</NetCharges> <CODAmount>decimal</CODAmount> <DiscountAmount>decimal</DiscountAmount> <FreightCharges>decimal</FreightCharges> <WeightedAverageFreightClass>decimal</WeightedAverageFreightClass> </GetByBLNumberResult> </GetByBLNumberResponse> </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 /webservice/shipment/soap.asmx HTTP/1.1 Host: www.saiasecure.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> <GetByBLNumber xmlns="http://www.SaiaSecure.com/WebService/Shipment"> <request> <UserID>string</UserID> <Password>string</Password> <TestMode>string</TestMode> <BLNumber>string</BLNumber> <OriginZipcode>string</OriginZipcode> <DestinationZipcode>string</DestinationZipcode> </request> </GetByBLNumber> </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> <GetByBLNumberResponse xmlns="http://www.SaiaSecure.com/WebService/Shipment"> <GetByBLNumberResult> <Shipper> <AccountNumber>string</AccountNumber> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </Shipper> <Consignee> <AccountNumber>string</AccountNumber> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </Consignee> <ThirdParty> <AccountNumber>string</AccountNumber> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </ThirdParty> <MailTo> <Name>string</Name> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> </MailTo> <FromPartner> <SCAC>string</SCAC> <Name>string</Name> <Number>string</Number> <ExchangeTerminal>string</ExchangeTerminal> </FromPartner> <ToPartner> <SCAC>string</SCAC> <Name>string</Name> <Number>string</Number> <ExchangeTerminal>string</ExchangeTerminal> </ToPartner> <Details> <DetailItem> <Pieces>decimal</Pieces> <Code>string</Code> <Hazardous>string</Hazardous> <Package>string</Package> <Description>string</Description> <Weight>decimal</Weight> <Rate>decimal</Rate> <Amount>decimal</Amount> </DetailItem> <DetailItem> <Pieces>decimal</Pieces> <Code>string</Code> <Hazardous>string</Hazardous> <Package>string</Package> <Description>string</Description> <Weight>decimal</Weight> <Rate>decimal</Rate> <Amount>decimal</Amount> </DetailItem> </Details> <History> <HistoryItem> <ActivityDateTime>string</ActivityDateTime> <Activity>string</Activity> <City>string</City> <State>string</State> </HistoryItem> <HistoryItem> <ActivityDateTime>string</ActivityDateTime> <Activity>string</Activity> <City>string</City> <State>string</State> </HistoryItem> </History> <Code>string</Code> <Element>string</Element> <Fault>string</Fault> <Message>string</Message> <TestMode>string</TestMode> <ProNumber>decimal</ProNumber> <CurrentStatus>string</CurrentStatus> <BLNumber>string</BLNumber> <PONumber>string</PONumber> <ShipperNumber>string</ShipperNumber> <ReferenceNumber>string</ReferenceNumber> <MasterProNumber>decimal</MasterProNumber> <DriverNumber>decimal</DriverNumber> <TrailerNumber>string</TrailerNumber> <OnTime>string</OnTime> <LatePickup>string</LatePickup> <Accessorials>string</Accessorials> <Hazardous>string</Hazardous> <Appointment>string</Appointment> <DeliveryAppointmentDateTime>string</DeliveryAppointmentDateTime> <DeliveryDateTime>string</DeliveryDateTime> <DeliveryDateTimeArrive>string</DeliveryDateTimeArrive> <DeliveryDateTimeDepart>string</DeliveryDateTimeDepart> <ActualDeliveryDays>decimal</ActualDeliveryDays> <StandardServiceDays>decimal</StandardServiceDays> <ExpectedDeliveryDate>string</ExpectedDeliveryDate> <Pieces>decimal</Pieces> <ShippingWeight>decimal</ShippingWeight> <BillingTerms>string</BillingTerms> <PickupDateTime>string</PickupDateTime> <OriginTerminal>string</OriginTerminal> <DestinationTerminal>string</DestinationTerminal> <Signature>string</Signature> <CargoControlNumber>string</CargoControlNumber> <Rates>string</Rates> <Tariff>string</Tariff> <NetCharges>decimal</NetCharges> <CODAmount>decimal</CODAmount> <DiscountAmount>decimal</DiscountAmount> <FreightCharges>decimal</FreightCharges> <WeightedAverageFreightClass>decimal</WeightedAverageFreightClass> </GetByBLNumberResult> </GetByBLNumberResponse> </soap12:Body> </soap12:Envelope>