Solutions

Open New Problem

Neha Mishra Aug-21st, 2015 13:08 0 0
This API is used to Open New Problem.
Please check example usage of Vision Helpdesk API

Operation : open_new_problem
Module : problem


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

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

$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";
// Problem subject

$postfields["vis_description"] = "Test";
// Problem 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_dueby"] = Jul-4,+2015+14:41;
// This is due date

$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 Problem
http://visiononlinedemo.com/support/api/index.php?
&vis_txtusername=admin
&vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3
&vis_module=problem
&vis_operation=open_new_problem
&vis_domain=1
&vis_department=1
&vis_from=support@visiononlinedemo.com
&vis_subject=Test+Subject
&vis_description=Test
&vis_status=1
&vis_priority=1
&vis_impact=1
&vis_dueby=Jul-4,+2015+14:41
&vis_attachments=1,2,3
&vis_owner_list=1,2,3
&vis_ci_attach=1,2,3
Or use "access token" to Open New Problem
http://visiononlinedemo.com/support/api/index.php?
&vis_txttoken=T0RSbU56TmpZemxoTlRabU1XWTJOV1ZtT0RWa1ltUm1NR1F6WldJell6VT0=
&vis_module=problem
&vis_operation=open_new_problem
&vis_domain=1
&vis_department=1
&vis_from=support@visiononlinedemo.com
&vis_subject=Test+Subject
&vis_description=Test
&vis_status=1
&vis_priority=1
&vis_impact=1
&vis_dueby=Jul-4,+2015+14:41
&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