Solutions

Add Ticket and Client Note API

Sheena Sen May-29th, 2012 15:14 0 0

This API is used to Add Ticket and Client Note
Please check example usage of Vision Helpdesk API

Operation : add_note
Module : ticket

Below code is used to Add Ticket Note and Client Note:

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

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

$postfields["vis_ticket_id"] = 1;

$postfields["vis_note"] = "This is ticket note content";

$postfields["vis_notetype"] = 0;
// 0=ticket note, 1=client note

Below code is used to Add Client Note-

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

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

$postfields["vis_client_id"] = 1;

$postfields["vis_note"] = "This is client note content";

$postfields["vis_notetype"] = 1;
// 0=ticket note, 1=client note

Below is example API url for adding Ticket Note:

http://visiononlinedemo.com/support/api/index.php?
&vis_txtusername=admin
&vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3
&vis_module=ticket
&vis_operation=add_note
&vis_note=test
&vis_notetype=0
&vis_ticket_id=242


OR use "access token" to add Ticket Note:


http://visiononlinedemo.com/support/api/index.php? 
&vis_txttoken=T0RSbU56TmpZemxoTlRabU1XWTJOV1ZtT0RWa1ltUm1NR1F6WldJell6VT0=
&vis_module=ticket
&vis_operation=add_note
&vis_note=test
&vis_notetype=0
&vis_ticket_id=4


Below is example API url for adding Client Note:

http://visiononlinedemo.com/support/api/index.php?
&vis_txtusername=admin
&vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3
&vis_module=ticket
&vis_operation=add_note
&vis_note=client%20note%20test
&vis_notetype=1
&vis_client_id=4


OR use "access token" to add
Client Note:


http://visiononlinedemo.com/support/api/index.php? 
&vis_txttoken=T0RSbU56TmpZemxoTlRabU1XWTJOV1ZtT0RWa1ltUm1NR1F6WldJell6VT0=
&vis_module=ticket
&vis_operation=add_note
&vis_note=client%20note%20test
&vis_notetype=1
&vis_client_id=4

Vote

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