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

UCMDB API - querying history

Occasional Visitor

UCMDB API - querying history

[ Edited ]

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

3 REPLIES
Honored Contributor

Re: UCMDB API - querying history

Hi,

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

Amit
Occasional Visitor

Re: UCMDB API - querying history

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

Re: UCMDB API - querying history

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