Solutions

Ticket Search by Tag and Label API

Neha Mishra Feb-26th, 2016 11:40 0 0
This API is used to Search tickets by using tag and label

Please check example usage of Vision Helpdesk API

Below is the details to search tickets by using tag

Operation : tag_search
Module : ticket

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

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

$postfields["tag_id"] = "1";
// This is the id of tag

Below is example API usage for search tickets by using tag

http://visiononlinedemo.com/support/api/index.php? &vis_txtusername=admin &vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3 &vis_module=ticket &vis_operation=tag_search &tag_id=1 

OR use "access token" to search tickets by using tag
http://visiononlinedemo.com/support/api/index.php? &vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=ticket &vis_operation=tag_search &tag_id=1 &vis_encode=json
Below is the details to search tickets by using labelOperation : search_label_tickets
Module : ticket

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

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

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



Below is example API usage for search tickets by using label
http://visiononlinedemo.com/support/api/index.php? &vis_txtusername=admin &vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3 &vis_module=ticket &vis_operation=search_label_tickets &vis_label_id=1 

OR use "access token" to
search tickets by using label
http://visiononlinedemo.com/support/api/index.php? &vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=ticket &vis_operation=search_label_tickets &vis_label_id=1 &vis_encode=json

Vote

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