Jump to content

silkhost

Retired Forum Member
  • Posts

    1
  • Joined

  • Last visited

About silkhost

silkhost's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, How do I access the returned variables when making an API call. I have tried many different ways to no avail. I am editting the supportticketslist.tpl. Here is what I have so far with all the fields changed for my site. The call is supposed to return the users data which I am trying to retrieve. For example, the clients email, companyname. Any help would be great. $url = "http://www.mydomainlocation.com/whmcs/includes/api.php"; $username = "Adminuser"; # Admin username goes here $password = "password"; # Admin password goes here $postfields["username"] = $username; $postfields["password"] = md5($password); $postfields["action"] = "getclientsdata"; $postfields["email"] = "demo@whmcs.com";
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated