Huh... I just noticed that the ground service GROUND_HOME_DELIVERY only have two "ratedShipmentDetails" nodes.
Why do all the other service types have four? I guess the safest way is just to grab the first "RatedShipmentDetails" node data and add TotalNetCharge and EffectiveNetDiscount to get the Standard Rate and not the client discounted rate. -----Original Message----- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Wednesday, January 20, 2010 3:37 PM To: cf-talk Subject: RE: FedEx web service Leigh, I have a customer that gets a discount on their FedEx shipping because of the quantity they ship. If a FedEx account that does not get a discount have this same structure that I am getting? I dont want to put code up on the code.google.com if it is not accurate for all account types. The object I get back from FedEx has 4 "RatedShipmentDetails". The first two contain a "TotalNetCharge" that is the clients discounted rate and there is an extra node in it called "EffectiveNetDiscount" that I could add to the "TotalNetCharge" to get the "Standard Rate" to charge the web user. The second two "RatedShipmentDetails" contain the "Standard Rate" that I should be displaying to the web user. Are there always four "RatedShipmentDetail" nodes in the object returned or is it because my client gets a discount they get four? I can send you the XML they are sending me if you would like to look at it to see what I mean. -----Original Message----- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Wednesday, January 20, 2010 3:15 PM To: cf-talk Subject: RE: FedEx web service > Seems more stable to FedEx's changes. It is also much easier to debug ;) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329853 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4