POST api/modeler/update
Updates an existing model
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-07-16T12:21:47.7153843+00:00", "CreatedBy": "6ec33ef2-d7a4-45a6-b145-8658276bd0cd", "ModifiedDate": "2025-07-16T12:21:47.7153843+00:00", "ModifiedBy": "b919056c-7cbe-4752-ba11-c4a108b1411d", "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": [ "ac819685-b681-4471-90ad-e5205b89f1aa", "7a171386-a0c2-48d8-9ced-53fe538eccb9" ], "UserList": [ { "UserId": "b0f7b241-cf31-4d98-b176-a07ca88b6e44", "Permission": 0, "Inherited": true }, { "UserId": "b0f7b241-cf31-4d98-b176-a07ca88b6e44", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "b0f7b241-cf31-4d98-b176-a07ca88b6e44", "Permission": 0, "Inherited": true }, { "UserId": "b0f7b241-cf31-4d98-b176-a07ca88b6e44", "Permission": 0, "Inherited": true } ], "ParentId": "fac7ef86-682f-4245-b060-cc3a84745787", "Views": [ { "Name": "sample string 1", "Id": "891dd219-7a59-48a9-a2a9-54d66d2ab54b", "Filters": {}, "UserId": "8bcaa71c-2616-4032-88ec-c62d204bae22", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "19e28704-1805-4599-98fc-aa176bf9151a", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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": "41db9028-ef35-4440-9397-7f1c3a1cf008", "yField": "403a7d12-fd26-438d-aeeb-e000178ae03e", "sizeField": "cd575c04-4000-433f-a121-579622f2d5e9" } }, { "Name": "sample string 1", "Id": "891dd219-7a59-48a9-a2a9-54d66d2ab54b", "Filters": {}, "UserId": "8bcaa71c-2616-4032-88ec-c62d204bae22", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "19e28704-1805-4599-98fc-aa176bf9151a", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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": "41db9028-ef35-4440-9397-7f1c3a1cf008", "yField": "403a7d12-fd26-438d-aeeb-e000178ae03e", "sizeField": "cd575c04-4000-433f-a121-579622f2d5e9" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "d5b0df0f-7ca4-43ed-a539-d787a3417159", "TargetData": { "2025-07-16T12:21:47.7153843+00:00": 2.0 } }, { "CostTypeId": "d5b0df0f-7ca4-43ed-a539-d787a3417159", "TargetData": { "2025-07-16T12:21:47.7153843+00:00": 2.0 } } ], "CascadingLookupSelections": [ "151c2edd-1687-4eb4-96c4-d7a446b1b155", "3e0d4ec1-e99b-40e7-8dbb-8bdf85b63da7" ], "CascadingLookupField": "931390b9-c3e3-4e0b-99af-7b5876a43305", "CloneOperation": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerModel", "id": "27a17a81-cc5c-4690-9ce7-ae1646f72fb6", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "2058f9ea-ae08-4abe-b5f1-0a41264b7063", "_ts": 638882653077153843 }
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-07-16T12:21:47.7153843+00:00", "CreatedBy": "44e3b197-d828-4301-b473-07d5ccb83e50", "ModifiedDate": "2025-07-16T12:21:47.7153843+00:00", "ModifiedBy": "2466c8b0-7ad8-4062-8305-cacf93bb4d41", "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": [ "6c2f41b6-977b-428f-8ef4-7cd6256cb105", "9e40e8e9-652d-4f9b-b9d6-1e9f3c921ec9" ], "UserList": [ { "UserId": "099f0f7a-d8c3-439a-b849-8ed8acc45e97", "Permission": 0, "Inherited": true }, { "UserId": "099f0f7a-d8c3-439a-b849-8ed8acc45e97", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "099f0f7a-d8c3-439a-b849-8ed8acc45e97", "Permission": 0, "Inherited": true }, { "UserId": "099f0f7a-d8c3-439a-b849-8ed8acc45e97", "Permission": 0, "Inherited": true } ], "ParentId": "a34032d9-9983-49e5-a28e-47ad717cd0c3", "Views": [ { "Name": "sample string 1", "Id": "27637674-f28e-46ad-b8b5-13631ed637fa", "Filters": {}, "UserId": "67f56123-a75c-4f81-af0f-b9fe4ed714d7", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "a2792a36-563e-44c2-8cd4-479a14e35a57", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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": "ca965e99-a8b1-4a37-80ac-257288f8d07b", "yField": "0cb36c3a-b312-4765-8a27-8d6e3d5a26bc", "sizeField": "81256a63-44c2-4a50-9868-6fc5c34f0121" } }, { "Name": "sample string 1", "Id": "27637674-f28e-46ad-b8b5-13631ed637fa", "Filters": {}, "UserId": "67f56123-a75c-4f81-af0f-b9fe4ed714d7", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "a2792a36-563e-44c2-8cd4-479a14e35a57", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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-07-16T12:21:47.7153843+00:00", "EndDateRange": "2025-07-16T12:21:47.7153843+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": "ca965e99-a8b1-4a37-80ac-257288f8d07b", "yField": "0cb36c3a-b312-4765-8a27-8d6e3d5a26bc", "sizeField": "81256a63-44c2-4a50-9868-6fc5c34f0121" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "9dec707f-db5c-4f52-a9ed-4f5a2b9b1880", "TargetData": { "2025-07-16T12:21:47.7153843+00:00": 2.0 } }, { "CostTypeId": "9dec707f-db5c-4f52-a9ed-4f5a2b9b1880", "TargetData": { "2025-07-16T12:21:47.7153843+00:00": 2.0 } } ], "CascadingLookupSelections": [ "0831a5b7-edca-4cfe-b572-eba7c2f6132b", "a25dd66c-f4ba-4ef8-8c9e-4d3dd6f77379" ], "CascadingLookupField": "54a6f2f5-bf65-45a6-82a0-59d0eaac1ac3", "CloneOperation": true, "id": "91a5a77f-6a90-49d8-ba86-d4dd4778725d", "ConfigId": "5ad98ba5-1836-458d-bc21-c8b80c80ab93" }