QuerySpec
Some Management APIs include the ability to use a so-called QuerySpec to restrict the returns of the API. Certain settings can be made via parameters so that the result is limited and more specific.
Supported Management APIs
The following Management-APIs support using the QuerySpec, for example:
/assets/request
/policydefinitions/request
/contractdefinitions/request
/contractagreements/request
/transferprocesses/request
/catalog/request
These APIs either have the QuerySpec as a complete body or the QuerySpec is part of the body. The structure looks like this:
For example, pagination can be enabled by changing the number of returned data records using the limit
parameter and setting the starting point using the offset
or more specific filtering can be done using the filterExpression
array.
Advanced Example Using the v3-API and a Custom Asset Property
POST {{Management-API}}/v3/assets/request
The POST
body should of course be adapted to the specific situation as needed.
FAQ
Last updated