Solutions

Approve or Disapprove Client API

Vishal J Jan-8th, 2014 12:45 0 0

This API is used to Approve or Disapprove client

Please check example usage of Vision Helpdesk API

Operation : client_approval
Module : client

$postfields["vis_module"] = "client";
// This is the module under which you wish to perform operation

$postfields["vis_operation"] = "client_approval";
// This is the operation field

$postfields["vis_client_id"] = 1;
// This is client id which you wish to update

$postfields["vis_approve"] = 1;
// 1 = Approve and 0 = Disapprove

Below is example API URL to Approve Client

http://visiononlinedemo.com/support/api/index.php?
&vis_txtusername=admin
&vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3
&vis_module=client
&vis_operation=client_approval
&vis_approve=1
&vis_client_id=2


OR use "access token" to Approve Client

http://visiononlinedemo.com/support/api/index.php?
vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0=
&vis_module=client
&vis_operation=client_approval
&vis_approve=1
&vis_client_id=2


Below is example API URL to Disapprove Client

http://visiononlinedemo.com/support/api/index.php?
&vis_txtusername=admin
&vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3
&vis_module=client
&vis_operation=client_approval
&vis_approve=0
&vis_client_id=2


OR use "access token" to Disapprove Client

http://visiononlinedemo.com/support/api/index.php?
vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0=
&vis_module=client
&vis_operation=client_approval
&vis_approve=0
&vis_client_id=2


Vote

Was this article helpful?
0 out of 0 found this helpful