Contract Purchase Cost in Configuration Items API

Discussion created by 8195398 on Apr 25, 2016

I am looking to create a reporting mechanism through the API that allows for the creation of reports listing the per department and/or user cost in contracts, such as monthly costs for software items.


However, only the long form response under a specific contract item seems to return contract purchases. Unfortunately, this would create an n+1 scenario of API queries rather than pulling configuration items of type contract and looping through as we are doing now.


As such, I was looking to see if the functionality to obtain contract purchase records was available from another endpoint, ideally, configuration items.