[WebDNA] FedEx XML response - grab rate

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111177
interpreted = N
texte = Hi, I haven't had the chance to post much of anything useful to the talk=20 list for quite some time. I'm going to try to do so more often... I did another basic FedEx integration today and here is what I use to=20 grab / parse the FedEx XML response for Total Net Charge.., stuffed=20 inside the "[t_response]" variable: ---------------------------------------------------------------- [text]t_response=3d[middle startafter=3d&endbefore=3d][t_response][/middle][/text] [xmlparse var=3dFedexCharge][t_response][/xmlparse] [text]FedEx_TotalNetCharge=3d[!] [/!][xmlnodes=20 ref=3dFedexCharge&path=3dnamed:RateReply/RateReplyDetails(1)/RatedShipmentDe= tails(1)/ShipmentRateDetail(1)/TotalNetCharge(1)&name=3dAmou&exact=3dF][valu= e][/xmlnodes][!] [/!][/text] The FedEx TotalNetCharge is: [FedEx_TotalNetCharge] ---------------------------------------------------------------- Sincerely, Donovan Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] FedEx XML response - grab rate (Donovan Brooke 2014)
Hi, I haven't had the chance to post much of anything useful to the talk=20 list for quite some time. I'm going to try to do so more often... I did another basic FedEx integration today and here is what I use to=20 grab / parse the FedEx XML response for Total Net Charge.., stuffed=20 inside the "[t_response]" variable: ---------------------------------------------------------------- [text]t_response=3d[middle startafter=3d&endbefore=3d][t_response][/middle][/text] [xmlparse var=3dFedexCharge][t_response][/xmlparse] [text]FedEx_TotalNetCharge=3d[!] [/!][xmlnodes=20 ref=3dFedexCharge&path=3dnamed:RateReply/RateReplyDetails(1)/RatedShipmentDe= tails(1)/ShipmentRateDetail(1)/TotalNetCharge(1)&name=3dAmou&exact=3dF][valu= e][/xmlnodes][!] [/!][/text] The FedEx TotalNetCharge is: [FedEx_TotalNetCharge] ---------------------------------------------------------------- Sincerely, Donovan Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

PIXO support (1997) Firesite and WebCat (1999) [OT] javascript field validation with encoded forms (2004) Frames and WebCat (1997) WebCat and WebTV (1997) Thanks for tips, more quest (1997) read and write you own cookies with webcat (1997) RE: 2nd WebCatalog2 Feature Request (1996) Bug Report, maybe (1997) Size Limitation through a POST via SSL? (2005) form posts expiring instantly... why? (2000) No Access warning when caching HTML files (1997) [WebDNA] How to go into old WebCatalog? (2009) [WebDNA] Migration from 6.2 to 7. Problems with writing to DB's (2012) WebDNA 5.0 Enterprise Edition (2003) [ot] Raid Cards for RH ES (2004) [WebDNA] Migration from 6.2 to 7. Problems with writing to DB's (2012) WebCatalog2 Feature Feedback (1996) mail on NT (1998) take me off mailing list please (2001)