Solutions

Get Contract Details

Neha Mishra Aug-25th, 2015 17:27 0 0
This API is used to Get Contract Details
Please check example usage of Vision Helpdesk API

Operation : contract_details
Module : cmdb


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

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

$postfields["vis_contract_id"] = 1 ;
// Contract id for which you wish to get details

Below is example API URL to fetch contract details

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

OR use "access token" to fetch contract details

XML: http://visiononlinedemo.com/support/api/index.php? vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=cmdb
&vis_operation=contract_details
&vis_contract_id=1 JSON http://visiononlinedemo.com/support/api/index.php? vis_txttoken=WXprMk1UY3dZV1V6WWpZeU16RmpOelF3TVdReE5UWTJOVGMyTm1VeU4yUT0= &vis_module=cmdb
&vis_operation=contract_details
&vis_contract_id=1 &vis_encode=json 

Vote

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