Solutions

Get Product list

Neha Mishra Aug-24th, 2015 15:09 0 0
This API is used to Get Product list
Please check example usage of Vision Helpdesk API

Operation : get_product_list
Module : cmdb


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

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

$postfields["department_id"] = 1,2;
// This is the department_id

Below is example API URL to fetch Products

XML: http://visiononlinedemo.com/support/api/index.php? vis_txtusername=admin &vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3 &vis_module=cmdb &vis_operation=get_product_list &department_id=1,2 JSON: http://visiononlinedemo.com/support/api/index.php? vis_txtusername=admin &vis_txtuserpass=21232f297a57a5a743894a0e4a801fc3 &vis_module=cmdb &vis_operation=get_product_list &department_id=1,2 &vis_encode=json

OR use "access token" to fetch Products
XML: http://visiononlinedemo.com/support/api/index.php? vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=cmdb &vis_operation=get_product_list &department_id=1,2 JSON http://visiononlinedemo.com/support/api/index.php? vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=cmdb &vis_operation=get_product_list &department_id=1,2 &vis_encode=json 

Vote

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