Alex SharkTECH Posted September 28, 2012 Share Posted September 28, 2012 I am trying to make a ticket as described in http://docs.whmcs.com/API:Open_Ticket . It works fine, except I cannot designate the author. I need to set the author to an adminid and not a clientid (as if logged in via the web interface and generating a ticket there). Is there a way to do this? If not, how could we get a patch? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
jrossini Posted November 2, 2012 Share Posted November 2, 2012 I have the same problem, have you been able to find an answer? 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted November 4, 2012 Share Posted November 4, 2012 The only way I have found to do this is by updating the database manually by setting the admin field after calling the open ticket API: $result = localapi("openticket",$ticket_details, $adminid); update_query("tbltickets",array("admin" => $adminfirst . " ". $adminlast), array("id" => $result["id"])); 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.