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-04-04T02:34:34.2136161+00:00", "CreatedBy": "bd2158c3-6c28-4ac5-bf14-c32e78736a75", "ModifiedDate": "2025-04-04T02:34:34.2136161+00:00", "ModifiedBy": "db28fc46-06eb-48c1-985b-2a54c1973136", "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": [ "835cf857-79df-476c-988f-9f7483db65b7", "7a5d9980-97d1-4641-bfe6-584ba26e9552" ], "UserList": [ { "UserId": "dc805e57-583f-4b9f-a759-c3e7325c49c9", "Permission": 0, "Inherited": true }, { "UserId": "dc805e57-583f-4b9f-a759-c3e7325c49c9", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "dc805e57-583f-4b9f-a759-c3e7325c49c9", "Permission": 0, "Inherited": true }, { "UserId": "dc805e57-583f-4b9f-a759-c3e7325c49c9", "Permission": 0, "Inherited": true } ], "ParentId": "898792df-00c1-4ec7-84c4-a9569487d841", "Views": [ { "Name": "sample string 1", "Id": "c76a55af-f08d-4586-8a97-4a4f85f5146b", "Filters": {}, "UserId": "99829b00-989d-40dd-92ae-f54d8d3f3bbb", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "e3f9a413-1645-47d7-bdab-94d6bce67778", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-04-04T02:34:34.2136161+00:00", "EndDateRange": "2025-04-04T02:34:34.2136161+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-04-04T02:34:34.2136161+00:00", "EndDateRange": "2025-04-04T02:34:34.2136161+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": "2f23c344-bdf0-47ad-af42-955ce1e9b329", "yField": "28fd7a21-ffd5-4767-956b-532c47628ee2", "sizeField": "1bb27828-4613-4d3d-bf96-18e57e1bf708" } }, { "Name": "sample string 1", "Id": "c76a55af-f08d-4586-8a97-4a4f85f5146b", "Filters": {}, "UserId": "99829b00-989d-40dd-92ae-f54d8d3f3bbb", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "e3f9a413-1645-47d7-bdab-94d6bce67778", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-04-04T02:34:34.2136161+00:00", "EndDateRange": "2025-04-04T02:34:34.2136161+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-04-04T02:34:34.2136161+00:00", "EndDateRange": "2025-04-04T02:34:34.2136161+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": "2f23c344-bdf0-47ad-af42-955ce1e9b329", "yField": "28fd7a21-ffd5-4767-956b-532c47628ee2", "sizeField": "1bb27828-4613-4d3d-bf96-18e57e1bf708" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "3883f283-b77e-49ba-8af9-9d60dcfed383", "TargetData": { "2025-04-04T02:34:34.2136161+00:00": 2.0 } }, { "CostTypeId": "3883f283-b77e-49ba-8af9-9d60dcfed383", "TargetData": { "2025-04-04T02:34:34.2136161+00:00": 2.0 } } ], "CascadingLookupSelections": [ "ad4f3128-408d-4880-812f-ef387a11e07e", "bfaca7d8-8140-49eb-90a0-445e2c6dbe30" ], "CascadingLookupField": "ee0327fb-379a-45be-b508-d11cd28f308c", "CloneOperation": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerModel", "id": "c2f10f70-a75b-4dd0-8c4f-5a2b8c1cd90a", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "4f7a841b-0898-4174-820a-e97f537bfac5", "_ts": 638793308742136161 }
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-04-04T02:34:34.2448685+00:00", "CreatedBy": "6dc4a26a-fbf8-44bb-b193-cbca1f3a656f", "ModifiedDate": "2025-04-04T02:34:34.2448685+00:00", "ModifiedBy": "0cf49d03-75d9-4de7-b0f7-25f883bcdca9", "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": [ "ad07f54b-b261-4155-9a47-8be78515d904", "b69e2279-2a05-4152-973a-fcab4c48f172" ], "UserList": [ { "UserId": "c1853e3b-6222-4150-8358-fd60857fc63c", "Permission": 0, "Inherited": true }, { "UserId": "c1853e3b-6222-4150-8358-fd60857fc63c", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "c1853e3b-6222-4150-8358-fd60857fc63c", "Permission": 0, "Inherited": true }, { "UserId": "c1853e3b-6222-4150-8358-fd60857fc63c", "Permission": 0, "Inherited": true } ], "ParentId": "8e78b46c-a2ff-4aa1-acec-fe0ee979ec0a", "Views": [ { "Name": "sample string 1", "Id": "c9069642-6af4-4b34-9171-46925ff8686f", "Filters": {}, "UserId": "8e093d47-2845-4119-9eba-cec2a046374a", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "d2a00501-5b4d-4da5-b31d-79e7931b9eb3", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-04-04T02:34:34.2448685+00:00", "EndDateRange": "2025-04-04T02:34:34.2448685+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-04-04T02:34:34.2448685+00:00", "EndDateRange": "2025-04-04T02:34:34.2448685+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": "990de738-278f-496d-9b35-cb7823c7a7a1", "yField": "7bb52083-4587-435c-9917-cbc8062b18d3", "sizeField": "ab308edb-76d6-430a-8350-60c783c9e11a" } }, { "Name": "sample string 1", "Id": "c9069642-6af4-4b34-9171-46925ff8686f", "Filters": {}, "UserId": "8e093d47-2845-4119-9eba-cec2a046374a", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "d2a00501-5b4d-4da5-b31d-79e7931b9eb3", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-04-04T02:34:34.2448685+00:00", "EndDateRange": "2025-04-04T02:34:34.2448685+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-04-04T02:34:34.2448685+00:00", "EndDateRange": "2025-04-04T02:34:34.2448685+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": "990de738-278f-496d-9b35-cb7823c7a7a1", "yField": "7bb52083-4587-435c-9917-cbc8062b18d3", "sizeField": "ab308edb-76d6-430a-8350-60c783c9e11a" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "1f2b7fea-1080-4721-a226-9aab7399f652", "TargetData": { "2025-04-04T02:34:34.2448685+00:00": 2.0 } }, { "CostTypeId": "1f2b7fea-1080-4721-a226-9aab7399f652", "TargetData": { "2025-04-04T02:34:34.2448685+00:00": 2.0 } } ], "CascadingLookupSelections": [ "8a62fcde-5af4-4bdb-87cb-203789446cb2", "4e2b23b3-4e9a-4a88-83c6-329d5b1ae94a" ], "CascadingLookupField": "cb3a6bb0-6027-4f71-91bb-af3332797efb", "CloneOperation": true, "id": "1d8d4300-3816-4900-9c54-f680f53d3414", "ConfigId": "3a86101f-e0c4-447f-8a59-1b8a7528e608" }