{
  "opencollection": "1.0.0",
  "info": {
    "name": "Authorization Tokens Accounts market shock scenarios API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "market shock scenarios",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all custom market shock scenarios",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.us-api.morningstar.com/token/market-shock-scenarios",
            "params": [
              {
                "name": "is-new",
                "value": "",
                "type": "query",
                "description": "Use new ID"
              }
            ]
          },
          "docs": "Get a list of all your custom market shock scenarios. The response will include the unique ID for each scenario.  You use the ID with other endpoints to return information based on that scenario. "
        },
        {
          "info": {
            "name": "Get details for a custom market shock scenario",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.us-api.morningstar.com/token/market-shock-scenarios/:scenario_id",
            "params": [
              {
                "name": "scenario_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of a scenario"
              }
            ]
          },
          "docs": "Get details for a specific custom market shock scenario. The response will return the  target market index and market movement number."
        },
        {
          "info": {
            "name": "Calculate returns forecast for a fund based on a custom market shock scenario",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.us-api.morningstar.com/token/market-shock-scenarios/:scenario_id/calculate-forecast-return",
            "params": [
              {
                "name": "scenario_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of a scenario scenario."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Based on a specific risk model and custom market shock scenario, calculate returns forecast for a fund.  The response will return the mean forecasted return, volatility, VaR and CVaR."
        }
      ]
    }
  ],
  "bundled": true
}