Hello,
I am building a series of application connectors that need to pull/push data from/to HP Openview AssetCenter 5.x to automate EDI between departments. I have been advised that we are not allowed to have our applications directly interface with the database behind AssetCenter due to licensing/warranty restrictions.
I am looking for some sort of documentation on how to interface with AssetCenters API (which I believe is called Connect-IT). Even Googling this info came up with mostly consultants or brief abstract information that was thing. Could someone please give me some guidance on how to create a connection to AssetCenter with PHP?
Is it as simple as making a ODBC connection ie.:
Code:<?php class Database_1_0 { var $dbh, $db, $host, $user, $pass; function Connect(){ if($this->db != '' && $this->host != '' && $this->user != '' && $this->pass != '') { $this->dbh = odbc_connect($this->host,$this->user,$this->pass) or die ('Error connecting to database '); } } function Disconnect(){ odbc_close($this->dbh); } function Database_1_0(){} } ?>


Reply With Quote
Bookmarks