POST api/modeler/new
Creates a new model or updates one depending on if the ID exists or not
Request Information
URI Parameters
None.
Body Parameters
ModelerModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | globally unique identifier |
None. |
|
ModifiedDate | date |
None. |
|
ModifiedBy | globally unique identifier |
None. |
|
ModifiedByName | string |
None. |
|
ModifiedByPictureID | string |
None. |
|
Filter | string |
None. |
|
ScenarioCount | integer |
None. |
|
CostFields | Collection of string |
None. |
|
BenefitsFields | Collection of string |
None. |
|
SortField | string |
None. |
|
SortDirection | SortByDirection |
None. |
|
CostTypes | Collection of globally unique identifier |
None. |
|
UserList | Collection of User |
None. |
|
InheritedUserList | Collection of User |
None. |
|
ParentId | globally unique identifier |
None. |
|
Views | Collection of ModelView |
None. |
|
LastCostPlannerTargets | Collection of ScenarioCostTarget |
None. |
|
CascadingLookupSelections | Collection of globally unique identifier |
None. |
|
CascadingLookupField | globally unique identifier |
None. |
|
CloneOperation | boolean |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "CreatedDate": "2025-10-19T09:06:50.994013+00:00", "CreatedBy": "3c2ca194-e5f8-45da-bd8b-43874c2d0d38", "ModifiedDate": "2025-10-19T09:06:50.994013+00:00", "ModifiedBy": "45f91898-fd39-4689-b5cc-57e362b928bf", "ModifiedByName": "sample string 7", "ModifiedByPictureID": "sample string 8", "Filter": "sample string 9", "ScenarioCount": 10, "CostFields": [ "sample string 1", "sample string 2" ], "BenefitsFields": [ "sample string 1", "sample string 2" ], "SortField": "sample string 11", "SortDirection": 0, "CostTypes": [ "f7f7cbe0-b503-47fb-a681-c3238fbd7f2e", "d4be1f72-fabc-496a-80f5-442afbc97289" ], "UserList": [ { "UserId": "82d4d310-f4be-4f73-977a-cc53ae647834", "Permission": 0, "Inherited": true }, { "UserId": "82d4d310-f4be-4f73-977a-cc53ae647834", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "82d4d310-f4be-4f73-977a-cc53ae647834", "Permission": 0, "Inherited": true }, { "UserId": "82d4d310-f4be-4f73-977a-cc53ae647834", "Permission": 0, "Inherited": true } ], "ParentId": "d67b9d30-48b5-4c9d-a80f-e5d32fd8fd0b", "Views": [ { "Name": "sample string 1", "Id": "2b830d7f-205a-4022-9ede-5405e730dca3", "Filters": {}, "UserId": "820cdd4f-e5d6-44ba-85de-4bfa70ab7b77", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "4858ba64-f2ef-4194-8d87-4f44c5786030", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-10-19T09:06:50.994013+00:00", "EndDateRange": "2025-10-19T09:06:50.994013+00:00", "ZoomLevel": 3, "Filters": "sample string 4", "GroupBy": "sample string 5", "FTEMode": 6, "CostType": "sample string 7", "DataSelection_Resources": "sample string 8", "DataSelection_Plans": "sample string 9", "DataSelection_Lines": "sample string 10", "VisibleGridColumns": [ "sample string 1", "sample string 2" ] }, "costPlanSettings": { "StartDateRange": "2025-10-19T09:06:50.994013+00:00", "EndDateRange": "2025-10-19T09:06:50.994013+00:00", "CostType": "sample string 3", "AdditionalCostTypes": [ "sample string 1", "sample string 2" ], "ZoomLevel": 4, "ExchangeCurrencyValue": "sample string 5" }, "ChartView": true, "chartType": 0, "bubbleChartSettings": { "xField": "35d3d54c-1d7b-4b23-8d8b-e4911e6323a5", "yField": "8d573e81-9756-4551-9bd5-ad86ab73e0f0", "sizeField": "477e6334-f417-4a9f-acb9-f95a9a74f85e" } }, { "Name": "sample string 1", "Id": "2b830d7f-205a-4022-9ede-5405e730dca3", "Filters": {}, "UserId": "820cdd4f-e5d6-44ba-85de-4bfa70ab7b77", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "4858ba64-f2ef-4194-8d87-4f44c5786030", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-10-19T09:06:50.994013+00:00", "EndDateRange": "2025-10-19T09:06:50.994013+00:00", "ZoomLevel": 3, "Filters": "sample string 4", "GroupBy": "sample string 5", "FTEMode": 6, "CostType": "sample string 7", "DataSelection_Resources": "sample string 8", "DataSelection_Plans": "sample string 9", "DataSelection_Lines": "sample string 10", "VisibleGridColumns": [ "sample string 1", "sample string 2" ] }, "costPlanSettings": { "StartDateRange": "2025-10-19T09:06:50.994013+00:00", "EndDateRange": "2025-10-19T09:06:50.994013+00:00", "CostType": "sample string 3", "AdditionalCostTypes": [ "sample string 1", "sample string 2" ], "ZoomLevel": 4, "ExchangeCurrencyValue": "sample string 5" }, "ChartView": true, "chartType": 0, "bubbleChartSettings": { "xField": "35d3d54c-1d7b-4b23-8d8b-e4911e6323a5", "yField": "8d573e81-9756-4551-9bd5-ad86ab73e0f0", "sizeField": "477e6334-f417-4a9f-acb9-f95a9a74f85e" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "570a918e-5601-43af-b358-ca92fb664bcd", "TargetData": { "2025-10-19T09:06:50.994013+00:00": 2.0 } }, { "CostTypeId": "570a918e-5601-43af-b358-ca92fb664bcd", "TargetData": { "2025-10-19T09:06:50.994013+00:00": 2.0 } } ], "CascadingLookupSelections": [ "41e6d16e-da1d-477b-802a-4066ee469ad5", "848b6d96-e9eb-434e-85fa-fae337c56c06" ], "CascadingLookupField": "4cc28356-d73d-4a47-a270-6e155564b4e2", "CloneOperation": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerModel", "id": "f0ce8bbe-d3ee-4436-be47-c2e4be8c02b8", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "58d01cda-c60a-4d2e-ae98-da94699bb5c9", "_ts": 638964616109940130 }
Response Information
Resource Description
ModelerModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | globally unique identifier |
None. |
|
ModifiedDate | date |
None. |
|
ModifiedBy | globally unique identifier |
None. |
|
ModifiedByName | string |
None. |
|
ModifiedByPictureID | string |
None. |
|
Filter | string |
None. |
|
ScenarioCount | integer |
None. |
|
CostFields | Collection of string |
None. |
|
BenefitsFields | Collection of string |
None. |
|
SortField | string |
None. |
|
SortDirection | SortByDirection |
None. |
|
CostTypes | Collection of globally unique identifier |
None. |
|
UserList | Collection of User |
None. |
|
InheritedUserList | Collection of User |
None. |
|
ParentId | globally unique identifier |
None. |
|
Views | Collection of ModelView |
None. |
|
LastCostPlannerTargets | Collection of ScenarioCostTarget |
None. |
|
CascadingLookupSelections | Collection of globally unique identifier |
None. |
|
CascadingLookupField | globally unique identifier |
None. |
|
CloneOperation | boolean |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "CreatedDate": "2025-10-19T09:06:51.0096365+00:00", "CreatedBy": "79fa7612-1531-4b6a-8c29-a33acaa21554", "ModifiedDate": "2025-10-19T09:06:51.0096365+00:00", "ModifiedBy": "b2386c9c-5337-4420-ab8d-364982b40d8c", "ModifiedByName": "sample string 7", "ModifiedByPictureID": "sample string 8", "Filter": "sample string 9", "ScenarioCount": 10, "CostFields": [ "sample string 1", "sample string 2" ], "BenefitsFields": [ "sample string 1", "sample string 2" ], "SortField": "sample string 11", "SortDirection": 0, "CostTypes": [ "58638855-363a-4110-8772-044468cdc5af", "3694db42-e60b-48f3-a6c0-23ff581bbfcd" ], "UserList": [ { "UserId": "8c10ca7e-7d29-4f85-804a-00e526c01a88", "Permission": 0, "Inherited": true }, { "UserId": "8c10ca7e-7d29-4f85-804a-00e526c01a88", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "8c10ca7e-7d29-4f85-804a-00e526c01a88", "Permission": 0, "Inherited": true }, { "UserId": "8c10ca7e-7d29-4f85-804a-00e526c01a88", "Permission": 0, "Inherited": true } ], "ParentId": "5a4de545-4b24-47c2-b24c-241db6cce2bb", "Views": [ { "Name": "sample string 1", "Id": "f0355568-8f76-458f-89e1-a64ba67679ce", "Filters": {}, "UserId": "5f030a3d-f0db-4d55-9095-81e4a0a13cfb", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "c17a6cee-1ba9-4eb3-a68b-696426e2df47", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-10-19T09:06:51.0096365+00:00", "EndDateRange": "2025-10-19T09:06:51.0096365+00:00", "ZoomLevel": 3, "Filters": "sample string 4", "GroupBy": "sample string 5", "FTEMode": 6, "CostType": "sample string 7", "DataSelection_Resources": "sample string 8", "DataSelection_Plans": "sample string 9", "DataSelection_Lines": "sample string 10", "VisibleGridColumns": [ "sample string 1", "sample string 2" ] }, "costPlanSettings": { "StartDateRange": "2025-10-19T09:06:51.0096365+00:00", "EndDateRange": "2025-10-19T09:06:51.0096365+00:00", "CostType": "sample string 3", "AdditionalCostTypes": [ "sample string 1", "sample string 2" ], "ZoomLevel": 4, "ExchangeCurrencyValue": "sample string 5" }, "ChartView": true, "chartType": 0, "bubbleChartSettings": { "xField": "af4b4be3-39a9-4522-8a03-45a9a8263dd7", "yField": "82da244e-72cb-4553-ac74-e0ce1e720f55", "sizeField": "d5563417-2f0c-4050-90df-8f4643429866" } }, { "Name": "sample string 1", "Id": "f0355568-8f76-458f-89e1-a64ba67679ce", "Filters": {}, "UserId": "5f030a3d-f0db-4d55-9095-81e4a0a13cfb", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "c17a6cee-1ba9-4eb3-a68b-696426e2df47", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-10-19T09:06:51.0096365+00:00", "EndDateRange": "2025-10-19T09:06:51.0096365+00:00", "ZoomLevel": 3, "Filters": "sample string 4", "GroupBy": "sample string 5", "FTEMode": 6, "CostType": "sample string 7", "DataSelection_Resources": "sample string 8", "DataSelection_Plans": "sample string 9", "DataSelection_Lines": "sample string 10", "VisibleGridColumns": [ "sample string 1", "sample string 2" ] }, "costPlanSettings": { "StartDateRange": "2025-10-19T09:06:51.0096365+00:00", "EndDateRange": "2025-10-19T09:06:51.0096365+00:00", "CostType": "sample string 3", "AdditionalCostTypes": [ "sample string 1", "sample string 2" ], "ZoomLevel": 4, "ExchangeCurrencyValue": "sample string 5" }, "ChartView": true, "chartType": 0, "bubbleChartSettings": { "xField": "af4b4be3-39a9-4522-8a03-45a9a8263dd7", "yField": "82da244e-72cb-4553-ac74-e0ce1e720f55", "sizeField": "d5563417-2f0c-4050-90df-8f4643429866" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "7798e4b3-97c5-483c-94e6-3b27c277bdc6", "TargetData": { "2025-10-19T09:06:51.0096365+00:00": 2.0 } }, { "CostTypeId": "7798e4b3-97c5-483c-94e6-3b27c277bdc6", "TargetData": { "2025-10-19T09:06:51.0096365+00:00": 2.0 } } ], "CascadingLookupSelections": [ "01c7a6ae-d8fd-4118-94e0-8ccb16bf1b4b", "913f1846-8c4c-445b-a768-f78a209306f6" ], "CascadingLookupField": "a45c4569-7afb-4fb6-ac09-5bf8d7a02348", "CloneOperation": true, "id": "541b23f5-3cbd-4741-b857-045744823713", "ConfigId": "cb109ee5-2f09-4f23-b7e3-e303f347c1f5" }