posted by | 1 comment

Greetings!!

Hope you all are enjoying new updates in Vision Helpdesk, specially the latest refreshing design change released in V2.6.4 ;) For those who have not yet upgraded to V2.6.4 stable — please go for it. V2.6.4 has several bug fixes and the new Admin Access feature that gives you perfect control over domain admins and their access rights.

Now What’s New?

Leaving up to our promises — we are committed to come up with Vision Helpdesk API’s.

What is Vision Helpdesk API – (Application Programming Interface) ?

Vision Helpdesk API is nothing but a door (a code) that will open access to several functions of Vision Helpdesk. Using Vision Helpdesk API your script can interact with Vision Helpdesk functions. Example you have a WHMCS Billing Software and you want to fetch Vision Helpdesk Tickets list in to your WHMCS script — yes that is now possible with Vision Helpdesk API.

In short Vision Helpdesk API will allow your script to communicate with Vision Helpdesk code and integrate Vision features seamlessly into your script.

Vision Helpdesk API Example Usage

Below is the example of communicating with Vision Helpdesk API System.

The following PHP code will Add Staff to Vision Helpdesk, and is how we recommend interfacing with it.

   <?php
      /*---------------------- [Required Fields Start] ----------------------*/
      $url='http://yourdomain.com/support/manage/api/index.php';
      $postData["name"]='vision_admin';
      $postData["passw"]='#######';
      $postData["operation"]='add_staff';
      $postData["user_name"]='harry';
      $postData["email"]='harry@yourdomain.com';
      $postData["departments"]='1,2,3';
      /*---------------------- Required Fields End] ----------------------*/
      /*---------------------- Optional Fields Start ----------------------*/
      $postData["full_name"]='Harry Potter';
      $postData["password"]='q8r3i56y7';
      $postData["contact_no"]=; 
      $postData["groupid"]=1;
      /*---------------------- Optional Fields End] ----------------------*/
      $handle=curl_init();
      curl_setopt($handle, CURLOPT_URL, $url);
      curl_setopt($handle, CURLOPT_POST, 1);
      curl_setopt($handle, CURLOPT_TIMEOUT, 100);
      curl_setopt($handle, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($handle, CURLOPT_POSTFIELDS, $postData);
      $returnData=curl_exec($handle);
      curl_close($handle);
      $returnData=explode(";", $returnData);
      foreach ($returnData AS $temp) {
          $temp=explode("=",$temp);
          $results[$temp[0]]=$temp[1];
      }
      /*--------------------  [Retrun values]  ------------------------
          On sucess message and staffid
          On error message
      -----------------------------------------------------------------*/
   ?>

Vision Helpdesk API Functions

For more details on list of Vision Helpdesk API functions please check — Vision Helpdesk API

More updates to follow..

Show your Love!

1 comment

Trackback e pingback

  1. Vision Helpdesk API | Staff Login Check | Vision Helpdesk | Satellite Helpdesk | Web Based Php Ajax Help desk | Online Webhosting Support Helpdesk Software
    [...] "_new", "", "Login Integration"] // Vision Helpdesk API - Application Programming Interface …

Leave a Reply

News

Back to Top