


https://www.morningstar.com/stocks/xnas/MIDD/performance
https://api-global.morningstar.com/sal-service/v1/stock/operatingPerformance/v2/0P00001FJG?languageId=en&locale=en&clientId=MDC&component=sal-components-oper-perf&version=3.74.0
https://api-global.morningstar.com/sal-service/v1/stock/operatingPerformance/v2/0P00001FJG?languageId=en&locale=en&clientId=MDC&component=sal-components-oper-perf&version=3.74.0&AccessCode=h4yhb3r1osma283d5ixc6kxvfrnjs1dg

"{\"_meta\":{\"responseStatus\":\"200700\",\"hint\":\"Securities successfully returned\",\"performanceId\":\"0P00001FJG\"},\"reported\":{\"reportType\":\"Fiscal\",\"reportType_label\":\"operating.performance.report.type\",\"columnDefs\":[\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"2018\",\"2019\",\"2020\",\"2021\",\"TTM\",\"5-Yr\",\"Index\"],\"columnDefs_labels\":[\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"2018\",\"2019\",\"2020\",\"2021\",\"operating.performance.headers.oneyearttm\",\"operating.performance.headers.fiveyear\",\"operating.performance.headers.index\"],\"Collapsed\":{\"rows\":[{\"label\":\"Return on Assets %\",\"salDataId\":\"return.on.assets.reported.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Return on Equity %\",\"salDataId\":\"return.on.equity.reported.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Return on Invested Capital %\",\"salDataId\":\"return.on.invested.capital.reported.label\",\"datum\":[],\"percentage\":true}]},\"Expanded\":{\"rows\":[{\"label\":\"Financial Leverage\",\"salDataId\":\"financial.leverage.reported.label\",\"datum\":[]},{\"label\":\"Gross Margin %\",\"salDataId\":\"gross.margin.reported.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Operating Margin %\",\"salDataId\":\"operating.margin.reported.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Net Margin %\",\"salDataId\":\"net.margin.reported.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Days Sales Outstanding\",\"salDataId\":\"days.sales.outstanding.reported.label\",\"datum\":[]},{\"label\":\"Days Inventory\",\"salDataId\":\"days.inventory.reported.label\",\"datum\":[]},{\"label\":\"Days Payables\",\"salDataId\":\"days.payables.reported.label\",\"datum\":[]},{\"label\":\"Receivables Turnover\",\"salDataId\":\"receivables.turnover.reported.label\",\"datum\":[]},{\"label\":\"Inventory Turnover\",\"salDataId\":\"inventory.turnover.reported.label\",\"datum\":[]},{\"label\":\"Fixed Asset Turnover\",\"salDataId\":\"fixed.asset.turnover.reported.label\",\"datum\":[]},{\"label\":\"Total Asset Turnover\",\"salDataId\":\"total.asset.turnover.reported.label\",\"datum\":[]},{\"label\":\"EBITDA Margin %\",\"salDataId\":\"ebitda.margin.reported.label\",\"datum\":[],\"percentage\":true},{\"label\":\"EBITDA\",\"salDataId\":\"ebitda.reported.label\",\"datum\":[]},{\"label\":\"Free Cash Flow/Net Income\",\"salDataId\":\"free.cash.flow.net.income.reported.label\",\"datum\":[]}]}},\"restated\":{\"reportType\":\"Fiscal\",\"reportType_label\":\"operating.performance.report.type\",\"columnDefs\":[\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"2018\",\"2019\",\"2020\",\"2021\",\"TTM\",\"5-Yr\",\"Index\"],\"columnDefs_labels\":[\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"2018\",\"2019\",\"2020\",\"2021\",\"operating.performance.headers.oneyearttm\",\"operating.performance.headers.fiveyear\",\"operating.performance.headers.index\"],\"Collapsed\":{\"rows\":[{\"label\":\"Return on Assets %\",\"salDataId\":\"return.on.assets.restated.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Return on Equity %\",\"salDataId\":\"return.on.equity.restated.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Return on Invested Capital %\",\"salDataId\":\"return.on.invested.capital.restated.label\",\"datum\":[],\"percentage\":true}]},\"Expanded\":{\"rows\":[{\"label\":\"Financial Leverage\",\"salDataId\":\"financial.leverage.restated.label\",\"datum\":[]},{\"label\":\"Gross Margin %\",\"salDataId\":\"gross.margin.restated.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Operating Margin %\",\"salDataId\":\"operating.margin.restated.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Net Margin %\",\"salDataId\":\"net.margin.restated.label\",\"datum\":[],\"percentage\":true},{\"label\":\"Days Sales Outstanding\",\"salDataId\":\"days.sales.outstanding.restated.label\",\"datum\":[]},{\"label\":\"Days Inventory\",\"salDataId\":\"days.inventory.restated.label\",\"datum\":[]},{\"label\":\"Days Payables\",\"salDataId\":\"days.payables.restated.label\",\"datum\":[]},{\"label\":\"Receivables Turnover\",\"salDataId\":\"receivables.turnover.restated.label\",\"datum\":[]},{\"label\":\"Inventory Turnover\",\"salDataId\":\"inventory.turnover.restated.label\",\"datum\":[]},{\"label\":\"Fixed Asset Turnover\",\"salDataId\":\"fixed.asset.turnover.restated.label\",\"datum\":[]},{\"label\":\"Total Asset Turnover\",\"salDataId\":\"total.asset.turnover.restated.label\",\"datum\":[]},{\"label\":\"EBITDA Margin %\",\"salDataId\":\"ebitda.margin.restated.label\",\"datum\":[],\"percentage\":true},{\"label\":\"EBITDA\",\"salDataId\":\"ebitda.restated.label\",\"datum\":[]},{\"label\":\"Free Cash Flow/Net Income\",\"salDataId\":\"free.cash.flow.net.income.restated.label\",\"datum\":[]}]}},\"footer\":{\"indexLabel\":\"Index:\",\"indexName\":null,\"ebitdaCurrency\":null}}"



https://community.morningstar.com/s/article/How-to-create-an-Access-Code-in-API-Centre
https://api.morningstar.com/v2/service/account/CreateAccesscode/90D?account_code=SHRKHAN001&account_password=test

<response>
<status>
<code>0</code>
<message>OK</message>
</status>
<data>
<api _name="CreateAccesscode">
<AccessCode>h4yhb3r1osma283d5ixc6kxvfrnjs1dg</AccessCode>
<AccountCode>SHRKHAN001</AccountCode>
<CreateTime>2022-12-16 07:57:09</CreateTime>
<ExpireTime>2023-03-16 07:57:09</ExpireTime>
<Expired>false</Expired>
</api>
</data>
</response>



