ARAS RESTful API: How do I get a list of all generations for a part?
I'm attempting to get a full part history (14 generations worth) of a part. I know the config_id is a value shared between all 14 parts; however, I can't seem to construct the REST call to return all 14 records using the config_id.
I get the config_id with ... GET {base url}/Part('<id>')/config_id/id/$value
Then I tried using the config_id in a filter like this ... GET {base url}/Part?$config_id eq '<config_id>' That just returned one part record, the latest one.
Using the config_id is what I would have done using an AML query, but is there another way with the REST API?
I'm running Aras Innovator 11.0 SP12
Hello,
It work on 11.0 SP15, I Can't test on SP12
use GET {base url}/Part?$filter=generation gt 0 or GET {base url}/Part?$filter=id ne null
With a body : "config_id" : "<config_id>"}