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 ModelScenarioName | Description | Type | Additional 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": "03612c68-5990-4191-91c2-782e27d137c2", "Name": "sample string 2", "ParentModelId": "ea421997-df97-4faa-99ba-ccb047a5bf03", "Plans": [ { "PlanId": "cde5e164-a34d-4c4a-901c-032fe42266fd", "Name": "sample string 2", "InitialStartDate": "2025-07-16T12:35:35.8709449+00:00", "InitialEndDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedStartDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedEndDate": "2025-07-16T12:35:35.8709449+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": "cde5e164-a34d-4c4a-901c-032fe42266fd", "Name": "sample string 2", "InitialStartDate": "2025-07-16T12:35:35.8709449+00:00", "InitialEndDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedStartDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedEndDate": "2025-07-16T12:35:35.8709449+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": "28d6c2af-f823-441d-a71f-5e613d58dc41", "TargetData": { "2025-07-16T12:35:35.8709449+00:00": 2.0 } }, { "CostTypeId": "28d6c2af-f823-441d-a71f-5e613d58dc41", "TargetData": { "2025-07-16T12:35:35.8709449+00:00": 2.0 } } ], "id": "0a6c14de-7fe3-4932-8be8-3850178eb8a3", "ConfigId": "1349457a-6f16-44cf-a436-b1caaf6a9203" }, { "UserId": "03612c68-5990-4191-91c2-782e27d137c2", "Name": "sample string 2", "ParentModelId": "ea421997-df97-4faa-99ba-ccb047a5bf03", "Plans": [ { "PlanId": "cde5e164-a34d-4c4a-901c-032fe42266fd", "Name": "sample string 2", "InitialStartDate": "2025-07-16T12:35:35.8709449+00:00", "InitialEndDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedStartDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedEndDate": "2025-07-16T12:35:35.8709449+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": "cde5e164-a34d-4c4a-901c-032fe42266fd", "Name": "sample string 2", "InitialStartDate": "2025-07-16T12:35:35.8709449+00:00", "InitialEndDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedStartDate": "2025-07-16T12:35:35.8709449+00:00", "ShiftedEndDate": "2025-07-16T12:35:35.8709449+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": "28d6c2af-f823-441d-a71f-5e613d58dc41", "TargetData": { "2025-07-16T12:35:35.8709449+00:00": 2.0 } }, { "CostTypeId": "28d6c2af-f823-441d-a71f-5e613d58dc41", "TargetData": { "2025-07-16T12:35:35.8709449+00:00": 2.0 } } ], "id": "0a6c14de-7fe3-4932-8be8-3850178eb8a3", "ConfigId": "1349457a-6f16-44cf-a436-b1caaf6a9203" } ]