Best practices for designing sustainability APIs to expose carbon footprint data in SAP PLM

ryan_tech
Thu, 22 May 2025 11:54:39 +0000

We expose both raw and aggregated data through separate endpoints. Raw material data goes to internal analytics teams who need granular analysis, while aggregated product-level metrics serve external compliance reporting. This dual approach adds complexity but gives you flexibility. For versioning, we use URI versioning (/v1/, /v2/) rather than header-based, making it explicit which calculation methodology is being used.