Solutions

Open New Change

Neha Mishra Aug-21st, 2015 14:51 0 0
This API is used to Open New Change
Please check example usage of Vision Helpdesk API

Operation : open_new_changes
Module : changes


$postfields["vis_module"] = "changes";

$postfields["vis_operation"] = "open_new_changes";
// This is the domain id under which you wish to open change

$postfields["vis_domain"] = 1;
// This is the department id under which you wish to open change

$postfields["vis_department"] = 1;
// This is the department id

$postfields["vis_from"] = "support@visiononlinedemo.com";
// This is the from email address that will be displayed in from column

$postfields["vis_subject"] = "Test Subject";
// Change subject

$postfields["vis_description"] = "Test";
// Change description

$postfields["vis_status"] = 1;
// This is the status id

$postfields["vis_priority"] = 1;
// This is the priority id

$postfields["vis_impact"] = 1;
// This is the impact id

$postfields["vis_risk"] = 1;
// This is the risk id

$postfields["vis_changestype"] = 1;
// This is the change type id

$postfields["vis_attachments"] = 1,2,3;
// This is problem attachments

$postfields["vis_owner_list"] = 1,2,3;
// This is owner list

$postfields["vis_ci_attach"] = 1,2,3;
// This is ci attachments


Below is API URL example for Open New Change
http://visiononlinedemo.com/support/api/index.php &vis_txtusername=admin &vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3 &vis_module=changes &vis_operation=open_new_changes &vis_domain=1 &vis_department=1 &vis_from=tejasjadhav13@yahoo.com &vis_subject=Service+request+for+test &vis_description=test+test &vis_status=1 &vis_priority=1 &vis_impact=1 &vis_risk=1 &vis_changetype=1 &vis_attachments=1,2,3 &vis_owner_list=1,2,3 &vis_ci_attach=1,2,3
Or use "access token" to Open New Change
http://visiononlinedemo.com/support/api/index.php &vis_txttoken=T0RSbU56TmpZemxoTlRabU1XWTJOV1ZtT0RWa1ltUm1NR1F6WldJell6VT0= &vis_module=changes &vis_operation=open_new_changes &vis_domain=1 &vis_department=1 &vis_from=tejasjadhav13@yahoo.com &vis_subject=Service+request+for+test &vis_description=test+test &vis_status=1 &vis_priority=1 &vis_impact=1 &vis_risk=1 &vis_changetype=1 &vis_attachments=1,2,3 &vis_owner_list=1,2,3 &vis_ci_attach=1,2,3

Vote

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