How To Add Edit Delete MX Record Using WHM API ?

view story

http://forums.cpanel.net – hello all,, how to modify(add, edit, delete) MX record using WHM API ? i've tried using this : XmlSaveMxs < SoftwareDevelopmentKit < TWiki and its didnt works, i need to add priority, destination like this : Priority Mail Server 1 mail1.example.com 5 mail2.example.com please help, thanks (HowTos)