You mean programmatic? You can look in this examples http://technet.rapaport.com/Info/Prices/SampleCode/Full_Example.aspx
Please let me know if you need any more help