Aggregation Scheme Industry Margins - Implan-Group/api GitHub Wiki

Aggregation Scheme - Industry Margins

Retrieves the Industry Margins for a specified Aggregation Schemes and Datasets.

🔗Links


GET /api/v1/margins/{aggregationSchemeId}/{datasetId}/industry-margins

Parameter Spec Type Details
aggregationSchemeId route int The Aggregation Scheme the margins apply to.
datasetId route int The Dataset the margins apply to.

Note

The response from this endpoint will not be json, it will utf-8 text that is a csv version of the report.


🧾Example

📤 Request

GET /api/v1/margins/14/98/industry-margins

📥 Response

Paying Code,Display Description,Margin
375,Wholesale - Motor vehicle and motor vehicle parts and supplies,0.237
376,Wholesale - Professional and commercial equipment and supplies,0.267
⚠️ **GitHub.com Fallback** ⚠️