UCMDB and UD Practitioners Forum (Previously CMS)
Showing results for 
Search instead for 
Did you mean: 

UCMDB API - querying history

Acclaimed Contributor

UCMDB API - querying history

I tried to use UCMDB webservice API to query the history with PHP.
The method getChangedCIs only gives the ID of the CI and relation changed, not the attributes.
I tried then to query directly the database ucmdb_history. It's OK for numeric and strings but I cannot read data from HIST_INF_BYTE. I get binary data and don't know how to get clear text.

Anyone know how to get this info ?



P.S. This thread has been moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to CMS and Discovery Support and News Forum. - Hp Forum MOderator

Amit Erental
Honored Contributor

Re: UCMDB API - querying history


Do you want to get the old values of the attributes that changed ? not sure this can be done with the UCMDB API

You can easily get the current attributes for the changed CI using the GetCIsByID operation

Acclaimed Contributor

Re: UCMDB API - querying history

The problem is that I need the old value...

Re: UCMDB API - querying history

up, i am curious how to do this too
//Add this to "OnDomLoad" event