Page 1 of 1

Placement History

Posted: Wed Jan 17, 2018 9:56 am
by ParityBH
Using REST API is it possible to retrieve the Placement History Data.

Need to get the Date - datelastmodified when the Placement Status has been set to Approved

Re: Placement History

Posted: Thu Jan 18, 2018 6:27 am
by pearsehemestretch
HI ParityBH,

At this current moment in time, Edit History information is not something that is retrievable through our API.
I do not know of any plans for this to be implemented into our API, but hopefully in the future this becomes available.

Apologies that your query is not currently possible.

Kind Regards,

Re: Placement History

Posted: Tue Jan 30, 2018 1:52 am
by srg.bdavis
ParityBH,

It may be a feature depending on the license level, but in the EnterpriseEdition the EditHistory is available on the placement entity. The REST call would look something like this:

query/PlacementEditHistory?fields=id,auditTrail,dateAdded,fieldChanges[5](id,columnName,oldValue,newValue),modifyingPerson,targetEntity&where=targetEntity.id={entityId}&BhRestToken={restToken}

The response includes an array of XEditHistory entities where X is the entity type (in the case above, the PlacementEditHistory). Within the EditHistoryEntity you will also find a fieldChanges array which includes the fields being changed as well as their old and new values.

Regards,
Brent