Solutions

Add Tag and Label API

Neha Mishra Feb-26th, 2016 11:00 0 0
This API is used to Add Tag and Label

Please check example usage of Vision Helpdesk API

Below is the details to add tag

Operation : add_live_tag
Module : ticket

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

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

$postfields["vis_newtag"] = "test_tag";
// This is the title of tag

$postfields["vis_ticket_id"] = "1";
// This is the ticket id under which you wish to add that tag

Below is example API usage for Add Tag

http://visiononlinedemo.com/support/api/index.php? &vis_txtusername=admin &vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3 &vis_module=ticket &vis_operation=add_live_tag &vis_newtag=test_tag &vis_ticket_id=1 

OR use "access token" to Add Tag
http://visiononlinedemo.com/support/api/index.php? &vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=ticket &vis_operation=add_live_tag &vis_newtag=test_tag &vis_ticket_id=1
Below is the details to add labelOperation : add_live_label
Module : ticket

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

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

$postfields["vis_label_id"] = "1";
// This is the label id

$postfields["vis_ticket_id"] = "1";
// This is the ticket id under which you wish to add that label


Below is example API usage for Add Label
http://visiononlinedemo.com/support/api/index.php? &vis_txtusername=admin &vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3 &vis_module=ticket &vis_operation=add_live_label &vis_label_id=1 &vis_ticket_id=1

OR use "access token" to Add Label

http://visiononlinedemo.com/support/api/index.php? &vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=ticket &vis_operation=add_live_label &vis_label_id=1 &vis_ticket_id=1

Vote

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