Hello forum:
I am way over my head on this and hope someone cam help me parse a SOAP response.
I need to retrieve the quoteNumber, totalPrice, and stdClass Object ( [date].
This is the pertinent part of the response:
stdClass Object ( [requestID] => 20131724 [quoteInfo] => stdClass Object ( [quote] => Array ( [0] => stdClass Object ( [quoteNumber] => LD22DV5 [account] => xxxxxxx [originPoint] => stdClass Object ( [countryCode] => US [postalCode] => 63106 [city] => SAINT LOUIS [stateProvince] => MO ) [destinationPoint] => stdClass Object ( [countryCode] => US [postalCode] => 98661 [city] => VANCOUVER [stateProvince] => WA ) [payor] => T [shipmentTerms] => P [stackable] => N [delivery] => stdClass Object ( [date] => 2021-08-09 [time] => 17:00:00.000 ) [serviceLevel] => stdClass Object ( [lane] => 9 [id] => 99 [text] => LTL Standard Transit ) [pricing] => stdClass Object ( [discount] => 0.81 [totalDiscount] => 950.65 [totalPrice] => 280.52 ) [commodityInfo
Thanks for any assistance with this,
Larry
I am way over my head on this and hope someone cam help me parse a SOAP response.
I need to retrieve the quoteNumber, totalPrice, and stdClass Object ( [date].
This is the pertinent part of the response:
stdClass Object ( [requestID] => 20131724 [quoteInfo] => stdClass Object ( [quote] => Array ( [0] => stdClass Object ( [quoteNumber] => LD22DV5 [account] => xxxxxxx [originPoint] => stdClass Object ( [countryCode] => US [postalCode] => 63106 [city] => SAINT LOUIS [stateProvince] => MO ) [destinationPoint] => stdClass Object ( [countryCode] => US [postalCode] => 98661 [city] => VANCOUVER [stateProvince] => WA ) [payor] => T [shipmentTerms] => P [stackable] => N [delivery] => stdClass Object ( [date] => 2021-08-09 [time] => 17:00:00.000 ) [serviceLevel] => stdClass Object ( [lane] => 9 [id] => 99 [text] => LTL Standard Transit ) [pricing] => stdClass Object ( [discount] => 0.81 [totalDiscount] => 950.65 [totalPrice] => 280.52 ) [commodityInfo
Thanks for any assistance with this,
Larry
Comment