BOL
Click here for a complete list of operations.
Create
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/BOL/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/BOL/Create" <?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> <Create xmlns="http://www.SaiaSecure.com/WebService/BOL"> <request> <Shipper> <AccountNumber>string</AccountNumber> <ContactName>string</ContactName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> <Zipcode4>string</Zipcode4> </Shipper> <Consignee> <AccountNumber>string</AccountNumber> <ContactName>string</ContactName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> <Zipcode4>string</Zipcode4> </Consignee> <BillTo> <AccountNumber>string</AccountNumber> <ContactName>string</ContactName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> <Zipcode4>string</Zipcode4> </BillTo> <Broker> <CompanyName>string</CompanyName> <Address1>string</Address1> <Address2>string</Address2> <Phone>string</Phone> <ContactName>string</ContactName> </Broker> <COD> <CompanyCheck>string</CompanyCheck> <BillingTerms>string</BillingTerms> <Amount>decimal</Amount> </COD> <Details> <DetailItem> <PONumber>string</PONumber> <Class>string</Class> <Package>string</Package> <Pieces>decimal</Pieces> <Weight>decimal</Weight> <FoodItem>string</FoodItem> <Hazardous>string</Hazardous> <UNHazmatID>string</UNHazmatID> <UNPackageGroup>string</UNPackageGroup> <UNBulk>string</UNBulk> <Description>string</Description> </DetailItem> <DetailItem> <PONumber>string</PONumber> <Class>string</Class> <Package>string</Package> <Pieces>decimal</Pieces> <Weight>decimal</Weight> <FoodItem>string</FoodItem> <Hazardous>string</Hazardous> <UNHazmatID>string</UNHazmatID> <UNPackageGroup>string</UNPackageGroup> <UNBulk>string</UNBulk> <Description>string</Description> </DetailItem> </Details> <Accessorials> <AccessorialItem> <Code>string</Code> </AccessorialItem> <AccessorialItem> <Code>string</Code> </AccessorialItem> </Accessorials> <Dimensions> <DimensionItem> <Length>decimal</Length> <Width>decimal</Width> <Height>decimal</Height> <Type>string</Type> <Units>decimal</Units> </DimensionItem> <DimensionItem> <Length>decimal</Length> <Width>decimal</Width> <Height>decimal</Height> <Type>string</Type> <Units>decimal</Units> </DimensionItem> </Dimensions> <ExcessiveLengthTotalInches>string</ExcessiveLengthTotalInches> <FullValueCoverage>decimal</FullValueCoverage> <UserID>string</UserID> <Password>string</Password> <TestMode>string</TestMode> <ShipmentDate>string</ShipmentDate> <BillingTerms>string</BillingTerms> <BLNumber>string</BLNumber> <ShipperNumber>string</ShipperNumber> <StoreNumber>string</StoreNumber> <TrailerNumber>string</TrailerNumber> <PONumber>string</PONumber> <DepartmentNumber>string</DepartmentNumber> <QuoteNumber>string</QuoteNumber> <Email>string</Email> <PrintRates>string</PrintRates> <Customs>string</Customs> <GuaranteedDelivery>string</GuaranteedDelivery> <EmergencyPhone>decimal</EmergencyPhone> <SpecialInstructions>string</SpecialInstructions> <VICS>string</VICS> <WeightUnits>string</WeightUnits> <TotalCube>decimal</TotalCube> <TotalCubeUnits>string</TotalCubeUnits> <DeclaredValue>decimal</DeclaredValue> <BorderLocation>string</BorderLocation> </request> </Create> </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> <CreateResponse xmlns="http://www.SaiaSecure.com/WebService/BOL"> <CreateResult> <Code>string</Code> <Element>string</Element> <Fault>string</Fault> <Message>string</Message> <TestMode>string</TestMode> <ProNumber>decimal</ProNumber> <CheckDigit>decimal</CheckDigit> <PDF>string</PDF> <HTML>string</HTML> <Barcode>string</Barcode> </CreateResult> </CreateResponse> </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/BOL/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> <Create xmlns="http://www.SaiaSecure.com/WebService/BOL"> <request> <Shipper> <AccountNumber>string</AccountNumber> <ContactName>string</ContactName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> <Zipcode4>string</Zipcode4> </Shipper> <Consignee> <AccountNumber>string</AccountNumber> <ContactName>string</ContactName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> <Zipcode4>string</Zipcode4> </Consignee> <BillTo> <AccountNumber>string</AccountNumber> <ContactName>string</ContactName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zipcode>string</Zipcode> <Zipcode4>string</Zipcode4> </BillTo> <Broker> <CompanyName>string</CompanyName> <Address1>string</Address1> <Address2>string</Address2> <Phone>string</Phone> <ContactName>string</ContactName> </Broker> <COD> <CompanyCheck>string</CompanyCheck> <BillingTerms>string</BillingTerms> <Amount>decimal</Amount> </COD> <Details> <DetailItem> <PONumber>string</PONumber> <Class>string</Class> <Package>string</Package> <Pieces>decimal</Pieces> <Weight>decimal</Weight> <FoodItem>string</FoodItem> <Hazardous>string</Hazardous> <UNHazmatID>string</UNHazmatID> <UNPackageGroup>string</UNPackageGroup> <UNBulk>string</UNBulk> <Description>string</Description> </DetailItem> <DetailItem> <PONumber>string</PONumber> <Class>string</Class> <Package>string</Package> <Pieces>decimal</Pieces> <Weight>decimal</Weight> <FoodItem>string</FoodItem> <Hazardous>string</Hazardous> <UNHazmatID>string</UNHazmatID> <UNPackageGroup>string</UNPackageGroup> <UNBulk>string</UNBulk> <Description>string</Description> </DetailItem> </Details> <Accessorials> <AccessorialItem> <Code>string</Code> </AccessorialItem> <AccessorialItem> <Code>string</Code> </AccessorialItem> </Accessorials> <Dimensions> <DimensionItem> <Length>decimal</Length> <Width>decimal</Width> <Height>decimal</Height> <Type>string</Type> <Units>decimal</Units> </DimensionItem> <DimensionItem> <Length>decimal</Length> <Width>decimal</Width> <Height>decimal</Height> <Type>string</Type> <Units>decimal</Units> </DimensionItem> </Dimensions> <ExcessiveLengthTotalInches>string</ExcessiveLengthTotalInches> <FullValueCoverage>decimal</FullValueCoverage> <UserID>string</UserID> <Password>string</Password> <TestMode>string</TestMode> <ShipmentDate>string</ShipmentDate> <BillingTerms>string</BillingTerms> <BLNumber>string</BLNumber> <ShipperNumber>string</ShipperNumber> <StoreNumber>string</StoreNumber> <TrailerNumber>string</TrailerNumber> <PONumber>string</PONumber> <DepartmentNumber>string</DepartmentNumber> <QuoteNumber>string</QuoteNumber> <Email>string</Email> <PrintRates>string</PrintRates> <Customs>string</Customs> <GuaranteedDelivery>string</GuaranteedDelivery> <EmergencyPhone>decimal</EmergencyPhone> <SpecialInstructions>string</SpecialInstructions> <VICS>string</VICS> <WeightUnits>string</WeightUnits> <TotalCube>decimal</TotalCube> <TotalCubeUnits>string</TotalCubeUnits> <DeclaredValue>decimal</DeclaredValue> <BorderLocation>string</BorderLocation> </request> </Create> </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> <CreateResponse xmlns="http://www.SaiaSecure.com/WebService/BOL"> <CreateResult> <Code>string</Code> <Element>string</Element> <Fault>string</Fault> <Message>string</Message> <TestMode>string</TestMode> <ProNumber>decimal</ProNumber> <CheckDigit>decimal</CheckDigit> <PDF>string</PDF> <HTML>string</HTML> <Barcode>string</Barcode> </CreateResult> </CreateResponse> </soap12:Body> </soap12:Envelope>