Compare
Use to compare several reports (or configurations) to each other. This endpoint will accept a list
of report_id
which can also be mixed in with configuration_id
values and return a data structure
that provides summary results and additional aggregate/change calculations to allow you to see data for
the items in a comparison.
If only one ID is provided, then the endpoint will try to make the comparison against the designated industry_configuration. If this fails, then data is returned for the single item only with no comparison.
The schema and structure returned by this endpoint varies based on querystring parameters given.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Group lists of comparison items by one of their fields. This grouping is secondary to the separate_portfolios
setting.
issued_at
, portfolio
Set to true to only return the latest configuration in the resulting data, for when you only care about the most recent results/comparison.
Body
The REQUEST serializer that takes a list of either Report IDs or Configuration IDs to compare.
The serializer preps all the objects to be compared and stores them in the configurations
field.
Response
This serializer represents the parent container and information for all configurations that are being compared.
It will contain some over-arching data about the comparison and then a list of ReportCompareConfigurationResponseSerializer