Solutions

Update Client API

Sheena Sen May-29th, 2012 12:32 0 0

This API is used to Update Client

Please check example usage of Vision Helpdesk API

Operation : update_client
Module : client

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

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

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

[Optional]

$postfields["vis_initials"] = "Ms.";
$postfields["vis_firstname"] = "Ms.";
$postfields["vis_lastname"] = "Ms.";
$postfields["vis_gender"] = 1 ;
//0=male, 1= female
$postfields["vis_username"] = "sheenasen";
$postfields["vis_contact_number"] = "9876543210";
$postfields["vis_fax"] = "9876543210";
$postfields["vis_website"] = "https://www.something.com/";
$postfields["vis_caddress"] = "Temporary or current address goes here";
$postfields["vis_paddress"] = "Permanent address goes here";
$postfields["vis_city"] = "City name";
$postfields["vis_state"] = "State name";
$postfields["vis_country"] = "Country name";
$postfields["vis_zipcode"] = "12345";
$postfields["vis_group"] = "1";
$postfields["vis_office_name"] = "Company name";
$postfields["vis_office_email"] = "email@company.com";
$postfields["vis_office_fax"] = "9876543210";
$postfields["vis_office_website"] = "https://company.com/";
$postfields["vis_netmeeting"] = "123456";
$postfields["vis_otherim"] = "yahooid or gmailid";
$postfields["vis_job_title"] = "Sales Manager";
$postfields["vis_department"] = "Development";
$postfields["vis_language"] = 1;

Below is example API usage for Update Client

http://visiononlinedemo.com/support/api/index.php?
&vis_txtusername=admin
&vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3
&vis_module=client
&vis_operation=update_client
&vis_email=test2.vhd@gmail.com
&vis_firstname=testtwo
&vis_lastname=vhd
&vis_domain=1
&vis_contact_number=9876543210
&vis_client_type=0
&vis_language=1
&vis_fax=
&vis_website=
&vis_caddress=
&vis_paddress=
&vis_city=
&vis_state=
&vis_country=
&vis_zipcode=
&vis_group=1
&vis_office_name=
&vis_office_email=
&vis_office_fax=
&vis_office_website=
&vis_netmeeting=
&vis_otherim=
&vis_job_title=
&vis_department=
&vis_client_id=46


OR use "access token" to Update Client

http://visiononlinedemo.com/support/api/index.php?
vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0=
&vis_module=client
&vis_operation=update_client
&vis_email=test2.vhd@gmail.com
&vis_firstname=testtwo
&vis_lastname=vhd
&vis_domain=1
&vis_contact_number=9876543210
&vis_client_type=0
&vis_language=1
&vis_fax=
&vis_website=
&vis_caddress=
&vis_paddress=
&vis_city=
&vis_state=
&vis_country=
&vis_zipcode=
&vis_group=1
&vis_office_name=
&vis_office_email=
&vis_office_fax=
&vis_office_website=
&vis_netmeeting=
&vis_otherim=
&vis_job_title=
&vis_department=
&vis_client_id=46

Vote

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