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": "2024-12-13T18:52:02.2088014+00:00", "CreatedBy": "9b58f11a-333a-41c4-9e6c-4a2db48b11b8", "ModifiedDate": "2024-12-13T18:52:02.2088014+00:00", "ModifiedBy": "40427ab6-36d2-44b8-a1cf-cbb99aa256b8", "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": [ "d00fcb00-55e0-4590-b99a-a9a1d6109d54", "f044c77d-86a3-4f1b-9b37-bcfdcf933122" ], "UserList": [ { "UserId": "f86c1d1c-2bcd-4fe1-8334-6d42848e6396", "Permission": 0, "Inherited": true }, { "UserId": "f86c1d1c-2bcd-4fe1-8334-6d42848e6396", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "f86c1d1c-2bcd-4fe1-8334-6d42848e6396", "Permission": 0, "Inherited": true }, { "UserId": "f86c1d1c-2bcd-4fe1-8334-6d42848e6396", "Permission": 0, "Inherited": true } ], "ParentId": "65fd4036-8b30-40e6-981b-0755e0623774", "Views": [ { "Name": "sample string 1", "Id": "b0572e9b-628e-4633-87e3-c818182301c9", "Filters": {}, "UserId": "0822416b-028e-4ee1-82d2-2038bb0a80f1", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "f82a8089-8e63-41ac-870c-dbe8d4c99b2a", "Default": true, "resourcePlanSettings": { "StartDateRange": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "99276fe8-a2ad-4e92-afab-8a94eb60b6ae", "yField": "77097901-07a9-4e34-99b1-e804bb768b4b", "sizeField": "857bd9c2-0f53-4a71-ac95-fc3cc2d91c9c" } }, { "Name": "sample string 1", "Id": "b0572e9b-628e-4633-87e3-c818182301c9", "Filters": {}, "UserId": "0822416b-028e-4ee1-82d2-2038bb0a80f1", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "f82a8089-8e63-41ac-870c-dbe8d4c99b2a", "Default": true, "resourcePlanSettings": { "StartDateRange": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "99276fe8-a2ad-4e92-afab-8a94eb60b6ae", "yField": "77097901-07a9-4e34-99b1-e804bb768b4b", "sizeField": "857bd9c2-0f53-4a71-ac95-fc3cc2d91c9c" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "95ed9d79-8d38-4a8e-86a4-8baed87bb260", "TargetData": { "2024-12-13T18:52:02.2088014+00:00": 2.0 } }, { "CostTypeId": "95ed9d79-8d38-4a8e-86a4-8baed87bb260", "TargetData": { "2024-12-13T18:52:02.2088014+00:00": 2.0 } } ], "CascadingLookupSelections": [ "52bd6e8e-1864-43ea-89a3-03d7ee1aa47d", "dfd164af-f2a6-4d99-9dd1-87747c0a15f2" ], "CascadingLookupField": "09ac77e7-89c3-4315-b249-a0a51ac40cad", "CloneOperation": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerModel", "id": "d76d4db6-9f56-489c-824d-272abd74f2cf", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "569022c3-f3e7-4ea1-ba09-423aa15165be", "_ts": 638697127222088014 }
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": "2024-12-13T18:52:02.2088014+00:00", "CreatedBy": "084804b5-f061-4c5e-9ef7-95885b3118b1", "ModifiedDate": "2024-12-13T18:52:02.2088014+00:00", "ModifiedBy": "57b7a2fd-fd68-4387-b53f-088bea87afa5", "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": [ "994793ab-3c2b-4422-a279-c876362c133a", "e820f45d-0fa1-4405-add0-bc7b6f414865" ], "UserList": [ { "UserId": "2dfa4ba3-3290-4f1e-b544-aff31c5ffcf2", "Permission": 0, "Inherited": true }, { "UserId": "2dfa4ba3-3290-4f1e-b544-aff31c5ffcf2", "Permission": 0, "Inherited": true } ], "InheritedUserList": [ { "UserId": "2dfa4ba3-3290-4f1e-b544-aff31c5ffcf2", "Permission": 0, "Inherited": true }, { "UserId": "2dfa4ba3-3290-4f1e-b544-aff31c5ffcf2", "Permission": 0, "Inherited": true } ], "ParentId": "cb5832c2-41aa-4780-b968-4d943ef7d535", "Views": [ { "Name": "sample string 1", "Id": "0be8068f-ce30-4629-92ca-b72c7fa0e63e", "Filters": {}, "UserId": "ae89de5f-f0db-443f-b41a-187c66a82a6b", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "99790b46-3ce6-4f6d-8e09-09308f8a343a", "Default": true, "resourcePlanSettings": { "StartDateRange": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "10bf3f84-3bff-4806-92af-2224edf01e85", "yField": "684b6651-4d27-47a2-b70e-3e487c5ead5a", "sizeField": "c2774839-e636-4d10-bdf2-f353bdd1b6cc" } }, { "Name": "sample string 1", "Id": "0be8068f-ce30-4629-92ca-b72c7fa0e63e", "Filters": {}, "UserId": "ae89de5f-f0db-443f-b41a-187c66a82a6b", "Columns": [ "sample string 1", "sample string 2" ], "GanttCollapsed": true, "Personal": true, "PersonalUserId": "99790b46-3ce6-4f6d-8e09-09308f8a343a", "Default": true, "resourcePlanSettings": { "StartDateRange": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "2024-12-13T18:52:02.2088014+00:00", "EndDateRange": "2024-12-13T18:52:02.2088014+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": "10bf3f84-3bff-4806-92af-2224edf01e85", "yField": "684b6651-4d27-47a2-b70e-3e487c5ead5a", "sizeField": "c2774839-e636-4d10-bdf2-f353bdd1b6cc" } } ], "LastCostPlannerTargets": [ { "CostTypeId": "56a3067f-72e3-4593-9723-e79e8cc8fdf3", "TargetData": { "2024-12-13T18:52:02.2088014+00:00": 2.0 } }, { "CostTypeId": "56a3067f-72e3-4593-9723-e79e8cc8fdf3", "TargetData": { "2024-12-13T18:52:02.2088014+00:00": 2.0 } } ], "CascadingLookupSelections": [ "557445a7-0dd4-4852-94ac-f6cb26eb5e54", "3ac82c7a-a864-44be-90f5-53a1eb5974c1" ], "CascadingLookupField": "85dba576-2a16-4ac9-856c-fe7fade598f7", "CloneOperation": true, "id": "76c18029-f1df-434c-8a89-5cb93d1fe240", "ConfigId": "8ce043e8-3e7f-4a53-9ccf-e0aa54db6106" }