Cameron API: fetching HUD values
Cameron API: fetching HUD values
We are having difficulty getting HUD values from Cameron using API. Trying to fetch Buyer amount in HUD section. Do we have detailed documentation for the fields in HUD that will help us proceed further. Appreciate a response.
-
- Posts: 91
- Joined: Wed Sep 10, 2008 3:33 pm
- Location: Raleigh, NC
- Contact:
Re: Cameron API: fetching HUD values
What field are you looking for, exactly? In general, you'd do something like (assuming you're using dynamic):
order.HUDs[0].Lines[1102].Charges[0].BuyerAmount = 950;
This would set the first charge's buyer amount field on line 1102 for the first HUD in the order. When dealing with HUD lines, each line has a collection of charges. You're never really setting the HUD value on the line directly, that's always a sum of the charges, even when there's only one fee on a given line.
order.HUDs[0].Lines[1102].Charges[0].BuyerAmount = 950;
This would set the first charge's buyer amount field on line 1102 for the first HUD in the order. When dealing with HUD lines, each line has a collection of charges. You're never really setting the HUD value on the line directly, that's always a sum of the charges, even when there's only one fee on a given line.
Melissa McBerkowitz
VP of Product Strategy, SoftPro
VP of Product Strategy, SoftPro
Re: Cameron API: fetching HUD values
Thanks Melissa. This is helpfull. Will get back if we have encounter any issues as we proceed.