GET api/modeler/scenarios

Gets all scenarios based off the Config ID

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ModelScenario
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

Name

string

None.

ParentModelId

globally unique identifier

None.

Plans

Collection of ModelScenarioPlan

None.

Properties

Dictionary of string [key] and Object [value]

None.

TotalCheckedPlans

integer

None.

TotalPlans

integer

None.

TotalCostFields

Dictionary of string [key] and decimal number [value]

None.

TotalBenefitFields

Dictionary of string [key] and decimal number [value]

None.

TargetCostFields

Dictionary of string [key] and decimal number [value]

None.

TargetBenefitFields

Dictionary of string [key] and decimal number [value]

None.

CostPlannerTargets

Collection of ScenarioCostTarget

None.

id

globally unique identifier

None.

ConfigId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": "af9db6eb-170f-4e59-b279-794e8b2fe6ad",
    "Name": "sample string 2",
    "ParentModelId": "68d5c512-8fe5-43ec-9e01-335128e89933",
    "Plans": [
      {
        "PlanId": "9292f848-4673-45ae-9174-bb44f8a21534",
        "Name": "sample string 2",
        "InitialStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "InitialEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "Offset": 3.0,
        "Priority": 4.0,
        "Checked": true,
        "CostFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "BenefitFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "FilteredOut": true,
        "Fields": {
          "sample string 1": {},
          "sample string 3": {}
        }
      },
      {
        "PlanId": "9292f848-4673-45ae-9174-bb44f8a21534",
        "Name": "sample string 2",
        "InitialStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "InitialEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "Offset": 3.0,
        "Priority": 4.0,
        "Checked": true,
        "CostFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "BenefitFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "FilteredOut": true,
        "Fields": {
          "sample string 1": {},
          "sample string 3": {}
        }
      }
    ],
    "Properties": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "TotalCheckedPlans": 4,
    "TotalPlans": 5,
    "TotalCostFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "TotalBenefitFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "TargetCostFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "TargetBenefitFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "CostPlannerTargets": [
      {
        "CostTypeId": "e31a7b73-343e-455e-aa1e-b5517dcbb931",
        "TargetData": {
          "2024-12-16T03:21:51.1006849+00:00": 2.0
        }
      },
      {
        "CostTypeId": "e31a7b73-343e-455e-aa1e-b5517dcbb931",
        "TargetData": {
          "2024-12-16T03:21:51.1006849+00:00": 2.0
        }
      }
    ],
    "id": "77129b14-218d-49a4-ae8e-fc86983dd757",
    "ConfigId": "cedf8e18-a282-4454-858a-60c1dffebb13"
  },
  {
    "UserId": "af9db6eb-170f-4e59-b279-794e8b2fe6ad",
    "Name": "sample string 2",
    "ParentModelId": "68d5c512-8fe5-43ec-9e01-335128e89933",
    "Plans": [
      {
        "PlanId": "9292f848-4673-45ae-9174-bb44f8a21534",
        "Name": "sample string 2",
        "InitialStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "InitialEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "Offset": 3.0,
        "Priority": 4.0,
        "Checked": true,
        "CostFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "BenefitFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "FilteredOut": true,
        "Fields": {
          "sample string 1": {},
          "sample string 3": {}
        }
      },
      {
        "PlanId": "9292f848-4673-45ae-9174-bb44f8a21534",
        "Name": "sample string 2",
        "InitialStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "InitialEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedStartDate": "2024-12-16T03:21:51.1006849+00:00",
        "ShiftedEndDate": "2024-12-16T03:21:51.1006849+00:00",
        "Offset": 3.0,
        "Priority": 4.0,
        "Checked": true,
        "CostFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "BenefitFieldsValues": {
          "sample string 1": {},
          "sample string 3": {}
        },
        "FilteredOut": true,
        "Fields": {
          "sample string 1": {},
          "sample string 3": {}
        }
      }
    ],
    "Properties": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "TotalCheckedPlans": 4,
    "TotalPlans": 5,
    "TotalCostFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "TotalBenefitFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "TargetCostFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "TargetBenefitFields": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "CostPlannerTargets": [
      {
        "CostTypeId": "e31a7b73-343e-455e-aa1e-b5517dcbb931",
        "TargetData": {
          "2024-12-16T03:21:51.1006849+00:00": 2.0
        }
      },
      {
        "CostTypeId": "e31a7b73-343e-455e-aa1e-b5517dcbb931",
        "TargetData": {
          "2024-12-16T03:21:51.1006849+00:00": 2.0
        }
      }
    ],
    "id": "77129b14-218d-49a4-ae8e-fc86983dd757",
    "ConfigId": "cedf8e18-a282-4454-858a-60c1dffebb13"
  }
]