Blog

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 — http://www.thevisionworld.com/help/index.php?title=Vision_Helpdesk_API

More updates to follow..

Show your Love!

1 Response » to “Vision Helpdesk API – Application Programming Interface”

  1. [...] “_new”, “”, “Login Integration”] // Vision Helpdesk API – Application Programming Interface 21 May Vision Helpdesk API | Staff Login [...]

Leave a Reply


Affiliate Program

Make Money by referring clients to Vision Helpdesk.

Vision Helpdesk Affiliates Program

Refer a client for --
Leased Plan You Earn $20 per sign up.
Owned Plan You Earn $50 per sign up.

Do the Math..

If you refer 20 Owned plan clients in a month You Earn $50 x 20 = $1000

Continue reading..

Video Tutorials

A Video Is Worth A Thousand Words.

Subscribe to Vision Helpdesk YouTube Channel and learn on how to install, configure and use Vision Helpdesk features.. its so simple :)

Addon Scripts

Help your clients while you are on MOVE!! with Vision Helpdesk Mobile Version

Vision Helpdesk Mobile Edition