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": "4d2486b1-e473-49b6-b37c-95016a5eb811",
    "Name": "sample string 2",
    "ParentModelId": "1b5fab0f-0cd7-46d5-9ffa-958101f4677b",
    "Plans": [
      {
        "PlanId": "bcdf9d6c-7d76-498d-982e-b1e8805b2ccc",
        "Name": "sample string 2",
        "InitialStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "InitialEndDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedEndDate": "2024-10-18T08:29:22.7673168+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": "bcdf9d6c-7d76-498d-982e-b1e8805b2ccc",
        "Name": "sample string 2",
        "InitialStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "InitialEndDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedEndDate": "2024-10-18T08:29:22.7673168+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": "49a07640-5944-47d8-a562-d3d95cfaca8a",
        "TargetData": {
          "2024-10-18T08:29:22.7673168+00:00": 2.0
        }
      },
      {
        "CostTypeId": "49a07640-5944-47d8-a562-d3d95cfaca8a",
        "TargetData": {
          "2024-10-18T08:29:22.7673168+00:00": 2.0
        }
      }
    ],
    "id": "692892cd-96ed-4533-9e88-12d2c76dd0dd",
    "ConfigId": "fe2441db-a6d1-4255-9e4f-020f71c750c0"
  },
  {
    "UserId": "4d2486b1-e473-49b6-b37c-95016a5eb811",
    "Name": "sample string 2",
    "ParentModelId": "1b5fab0f-0cd7-46d5-9ffa-958101f4677b",
    "Plans": [
      {
        "PlanId": "bcdf9d6c-7d76-498d-982e-b1e8805b2ccc",
        "Name": "sample string 2",
        "InitialStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "InitialEndDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedEndDate": "2024-10-18T08:29:22.7673168+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": "bcdf9d6c-7d76-498d-982e-b1e8805b2ccc",
        "Name": "sample string 2",
        "InitialStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "InitialEndDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedStartDate": "2024-10-18T08:29:22.7673168+00:00",
        "ShiftedEndDate": "2024-10-18T08:29:22.7673168+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": "49a07640-5944-47d8-a562-d3d95cfaca8a",
        "TargetData": {
          "2024-10-18T08:29:22.7673168+00:00": 2.0
        }
      },
      {
        "CostTypeId": "49a07640-5944-47d8-a562-d3d95cfaca8a",
        "TargetData": {
          "2024-10-18T08:29:22.7673168+00:00": 2.0
        }
      }
    ],
    "id": "692892cd-96ed-4533-9e88-12d2c76dd0dd",
    "ConfigId": "fe2441db-a6d1-4255-9e4f-020f71c750c0"
  }
]