Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <TBB>
- <Shipment>
- <Header>
- <RequestType>Add</RequestType>
- <SourceReferenceNumber />
- <ServiceType>LTL</ServiceType>
- <ShipmentMethod>LTL</ShipmentMethod>
- <ScheduleShipment>N</ScheduleShipment>
- <GenerateRates>Y</GenerateRates>
- <AutoSelectCarrier>Y</AutoSelectCarrier>
- <GeneratePRONumber>N</GeneratePRONumber>
- <PersonCalling>CompanyName</PersonCalling>
- <PhoneNumber>380663687639</PhoneNumber>
- <EmailAddress>tt@bb.com</EmailAddress>
- <SpecialRequirements />
- <Prepaid>Y</Prepaid>
- <FreightDirection>Drop</FreightDirection>
- <ShipDate>10/11/2014</ShipDate>
- <DeliveryDate>10/11/2014</DeliveryDate>
- <CallCarrierForPickup>N</CallCarrierForPickup>
- <ClientReference>SOKey12345</ClientReference>
- </Header>
- <Accessorials>
- <NotificationRequired>N</NotificationRequired>
- <InsideDelivery>N</InsideDelivery>
- </Accessorials>
- <Address>
- <Shipper>
- <SiteType>Business</SiteType>
- <LiftgateRequired>N</LiftgateRequired>
- <Name>Test company</Name>
- <CountryCode>US</CountryCode>
- <PostalCode>31415</PostalCode>
- </Shipper>
- <Consignee>
- <SiteType>Business</SiteType>
- <LiftgateRequired>N</LiftgateRequired>
- <Name>TEST DESTINATION</Name>
- <CountryCode>US</CountryCode>
- <PostalCode>35007</PostalCode>
- </Consignee>
- </Address>
- <Commodities>
- <Commodity>
- <DoubleStack>N</DoubleStack>
- <NumberOfSkids>00012</NumberOfSkids>
- <NumberOfPieces>3</NumberOfPieces>
- <Weight>1500</Weight>
- <CommodityName>Big and Tall Anti-Microbial Vinyl Stack Chair with Arms</CommodityName>
- <ClassNumber>150</ClassNumber>
- <UnitOfMeasure />
- <UnitOfWeight>POUNDS</UnitOfWeight>
- <PieceType>CARTONS</PieceType>
- </Commodity>
- </Commodities>
- </Shipment>
- <Response>
- <TBBRateQuoteID>3736114</TBBRateQuoteID>
- <SelectedCarrier>
- <CarrierScac>WTVA</CarrierScac>
- <CarrierName>WILSON TRUCKING CORP</CarrierName>
- <CarrierAmount>404.15</CarrierAmount>
- <CarrierAccessorialAmount>67.36</CarrierAccessorialAmount>
- <CarrierOriginTerminal>
- <Name>SAVANNAH</Name>
- <Address>242 JIMMY DELOACH PARKWAY</Address>
- <City>SAVANNAH</City>
- <State>GA</State>
- <Country>US</Country>
- <PostalCode>31422</PostalCode>
- <Contact>ERIC WALKER</Contact>
- <ContactTitle>TERMINAL MANAGER</ContactTitle>
- <Phone>877-835-6174</Phone>
- <Fax>912-963-0084</Fax>
- <Note>912-963-0024</Note>
- </CarrierOriginTerminal>
- <CarrierDestinationTerminal>
- <Name>BIRMINGHAM</Name>
- <Address>540 REPUBLIC CIRCLE</Address>
- <City>BIRMINGHAM</City>
- <State>AL</State>
- <Country>US</Country>
- <PostalCode>35214</PostalCode>
- <Contact>GREG FUTRELLE</Contact>
- <ContactTitle>TERMINAL MANAGER</ContactTitle>
- <Phone>877-202-6564</Phone>
- <Fax>205-808-0999</Fax>
- <Note>205-808-8700</Note>
- </CarrierDestinationTerminal>
- <CommodityRates>
- List of Commodity Rates
- <CommodityQuote>
- <ClientProductCode />
- <CommodityName>BIG AND TALL ANTI-MICROBIAL VINYL STACK CHAIR WITH ARMS</CommodityName>
- <NumberOfPieces>3</NumberOfPieces>
- <Weight>1500</Weight>
- <Rate>0.00</Rate>
- <ChargeAmount>0.00</ChargeAmount>
- <PerItemCharge>0.00</PerItemCharge>
- </CommodityQuote>
- </CommodityRates>
- </SelectedCarrier>
- <CarrierRates>
- List of Carrier Rates
- <CarrierQuote>
- <CarrierScac>WTVA</CarrierScac>
- <CarrierName>WILSON TRUCKING CORP</CarrierName>
- <ChargeAmount>404.15</ChargeAmount>
- <NumberOfDays>1</NumberOfDays>
- </CarrierQuote>
- <CarrierQuote>
- <CarrierScac>UPGF</CarrierScac>
- <CarrierName>UPS FREIGHT</CarrierName>
- <ChargeAmount>586.56</ChargeAmount>
- <NumberOfDays>1</NumberOfDays>
- </CarrierQuote>
- <CarrierQuote>
- <CarrierScac>CNWY</CarrierScac>
- <CarrierName>CON-WAY FREIGHT</CarrierName>
- <ChargeAmount>617.83</ChargeAmount>
- <NumberOfDays>1</NumberOfDays>
- </CarrierQuote>
- </CarrierRates>
- <RequestDate>Wed Jul 23 09:53:28 EDT 2014</RequestDate>
- </Response>
- </TBB>
- $xml = new SimpleXMLElement($tbb_response);
- print_r($xml->Response);
- SimpleXMLElement Object
- (
- [TBBRateQuoteID] => 3736114
- [SelectedCarrier] => SimpleXMLElement Object
- (
- [CarrierScac] => WTVA
- [CarrierName] => WILSON TRUCKING CORP
- [CarrierAmount] => 404.15
- [CarrierAccessorialAmount] => 67.36
- [CarrierOriginTerminal] => SimpleXMLElement Object
- (
- [Name] => SAVANNAH
- [Address] => 242 JIMMY DELOACH PARKWAY
- [City] => SAVANNAH
- [State] => GA
- [Country] => US
- [PostalCode] => 31422
- [Contact] => ERIC WALKER
- [ContactTitle] => TERMINAL MANAGER
- [Phone] => 877-835-6174
- [Fax] => 912-963-0084
- [Note] => 912-963-0024
- )
- [CarrierDestinationTerminal] => SimpleXMLElement Object
- (
- [Name] => BIRMINGHAM
- [Address] => 540 REPUBLIC CIRCLE
- [City] => BIRMINGHAM
- [State] => AL
- [Country] => US
- [PostalCode] => 35214
- [Contact] => GREG FUTRELLE
- [ContactTitle] => TERMINAL MANAGER
- [Phone] => 877-202-6564
- [Fax] => 205-808-0999
- [Note] => 205-808-8700
- )
- [CommodityRates] =>
- List of Commodity Rates
- )
- [CarrierRates] =>
- List of Carrier Rates
- [RequestDate] => Wed Jul 23 10:02:12 EDT 2014
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement