So,
No matter what parameters I pass to the API call, they get overwritten or just not used.
Here is what I've been using:
$vps = array();
$vps['uid'] = $user['uid'];
$vps['virt'] = 'kvm';
$vps['plid'] = 6;
$vps['osid'] = 314;
$vps['rootpass'] = 'test123';
$vps['vnc'] = 1;
$vps['vncpass'] = 'test123'; // Doesn't work
$vps['nic_type'] = 'virtio'; //I already tried default, and the other one.
$vps['virtio'] = 1; // Doesn't work
$vps['band_suspend'] = 0; // Doesn't work
$vpsResult = $admin->addvs($vps);
I have the plan setup the way I want. First I tried to create the vps with just the user id, plan id and osid but as I said nothing gets setup as my plan is.