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-09-03T18:15:20.6552933+00:00", "CreatedBy": "b4750362-ebee-480a-b320-4806ac6bcc3c", "ModifiedDate": "2025-09-03T18:15:20.6552933+00:00", "ModifiedBy": "20375d17-d630-4897-8c30-734f12532b7f", "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": [ "0d267627-32e9-4eaf-8f3e-8f15fbd803c8", "dea7b5a2-71c1-462a-a499-8ce360af1b94" ], "UserList": [ { "UserId": "85f503f1-00d0-4db0-bc25-31407c3f02fc", "Permission": 0, "Inherited": true }, { "UserId": "85f503f1-00d0-4db0-bc25-31407c3f02fc", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "85f503f1-00d0-4db0-bc25-31407c3f02fc", "Permission": 0, "Inherited": true }, { "UserId": "85f503f1-00d0-4db0-bc25-31407c3f02fc", "Permission": 0, "Inherited": true } ], "ParentId": "ef8761c8-91db-4889-b8ac-23a4d9665787", "Views": [ { "Name": "sample string 1", "Id": "cc3a2d26-02c1-4776-899d-a2635db47995", "Filters": {}, "UserId": "0607d79f-a685-4893-ba8e-da25df51f686", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "29751093-e9be-42b7-8429-c21910e4dd97", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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": "ebd49f53-a375-42c8-9f33-94455790b786", "yField": "12b8d4fb-b0ee-46f6-8681-40eb09128084", "sizeField": "0432247f-d73a-414b-9b79-488711568736" } }, { "Name": "sample string 1", "Id": "cc3a2d26-02c1-4776-899d-a2635db47995", "Filters": {}, "UserId": "0607d79f-a685-4893-ba8e-da25df51f686", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "29751093-e9be-42b7-8429-c21910e4dd97", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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": "ebd49f53-a375-42c8-9f33-94455790b786", "yField": "12b8d4fb-b0ee-46f6-8681-40eb09128084", "sizeField": "0432247f-d73a-414b-9b79-488711568736" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "f6fc870c-e822-44be-99bd-f11955c3cc5d", "TargetData": { "2025-09-03T18:15:20.6552933+00:00": 2.0 } }, { "CostTypeId": "f6fc870c-e822-44be-99bd-f11955c3cc5d", "TargetData": { "2025-09-03T18:15:20.6552933+00:00": 2.0 } } ], "CascadingLookupSelections": [ "2f604a7a-25f3-44bb-b515-14a13c8ceaf6", "4bc1dab9-ca83-44cb-9eb2-1b8616b251fd" ], "CascadingLookupField": "ab570c67-05a5-4fea-93fb-d5277a7849d1", "CloneOperation": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerModel", "id": "9de480fa-bb0b-41fd-9dfb-ced0121bab28", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "279738be-46c6-4fb9-9aaa-e492f91f75b3", "_ts": 638925201206552933 }
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-09-03T18:15:20.6552933+00:00", "CreatedBy": "532f992f-aae1-4712-9343-a7a0acce298d", "ModifiedDate": "2025-09-03T18:15:20.6552933+00:00", "ModifiedBy": "54161f0c-bf84-4e2b-9a06-b9881294bece", "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": [ "b426fcbb-578f-42d2-bcc8-c690e84d9c57", "210f497d-7b5e-4e2e-8793-4fe27ba072fa" ], "UserList": [ { "UserId": "ff9bdd31-8a55-4568-9ce3-9db15c41de95", "Permission": 0, "Inherited": true }, { "UserId": "ff9bdd31-8a55-4568-9ce3-9db15c41de95", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "ff9bdd31-8a55-4568-9ce3-9db15c41de95", "Permission": 0, "Inherited": true }, { "UserId": "ff9bdd31-8a55-4568-9ce3-9db15c41de95", "Permission": 0, "Inherited": true } ], "ParentId": "630143eb-315b-45a2-aa1e-f914ce1905a4", "Views": [ { "Name": "sample string 1", "Id": "4f8f4df4-1874-4a81-a181-4df8285284ef", "Filters": {}, "UserId": "f30b3651-71d7-4aee-ba2b-2c14c903f052", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "3cdbdaa1-2990-40bb-9d72-fa82ba13be19", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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": "79c33a2b-be77-4c7f-ab72-31c9cd0b69cf", "yField": "b99630ac-28aa-4710-9325-e1207fa5382e", "sizeField": "c06dadb6-572c-4c5d-a761-398fdbcaf693" } }, { "Name": "sample string 1", "Id": "4f8f4df4-1874-4a81-a181-4df8285284ef", "Filters": {}, "UserId": "f30b3651-71d7-4aee-ba2b-2c14c903f052", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "3cdbdaa1-2990-40bb-9d72-fa82ba13be19", "Default": true, "resourcePlanSettings": { "StartDateRange": "2025-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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-09-03T18:15:20.6552933+00:00", "EndDateRange": "2025-09-03T18:15:20.6552933+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": "79c33a2b-be77-4c7f-ab72-31c9cd0b69cf", "yField": "b99630ac-28aa-4710-9325-e1207fa5382e", "sizeField": "c06dadb6-572c-4c5d-a761-398fdbcaf693" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "fa433762-bc5e-47bc-ad12-33780f750401", "TargetData": { "2025-09-03T18:15:20.6552933+00:00": 2.0 } }, { "CostTypeId": "fa433762-bc5e-47bc-ad12-33780f750401", "TargetData": { "2025-09-03T18:15:20.6552933+00:00": 2.0 } } ], "CascadingLookupSelections": [ "b788c346-5f1f-4bcc-a321-381befb2583c", "55fc5d33-8790-45e7-8277-ffe99cfe5272" ], "CascadingLookupField": "6946ce57-771e-4dbb-821a-41241eb67d76", "CloneOperation": true, "id": "52a8b60d-ef5d-4e1b-b77f-7db68c94def8", "ConfigId": "4f7d5c5f-10c6-4ff1-b3b1-c4df0da85965" }