POST api/modeler/folder/new
Creates a new folder or updates one depending on if the ID exists or not
Request Information
URI Parameters
None.
Body Parameters
ModelerFolderName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
ParentId | globally unique identifier |
None. |
|
UserList | Collection of User |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "ParentId": "bf6bc4f9-1716-41c7-919e-b77a27979a83", "UserList": [ { "UserId": "6a81bd14-e49a-4f05-bec8-7a929eb537bc", "Permission": 0, "Inherited": true }, { "UserId": "6a81bd14-e49a-4f05-bec8-7a929eb537bc", "Permission": 0, "Inherited": true } ], "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerFolder", "id": "4b6a3a91-3929-4b1a-902e-468243f5dc6d", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "f7f94461-ff49-40d5-9fcc-c0582559e79d", "_ts": 638701496859457710 }
Response Information
Resource Description
ModelerFolderName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
ParentId | globally unique identifier |
None. |
|
UserList | Collection of User |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "ParentId": "72b52fcf-91ce-48c9-bbe0-393eaaaea9ce", "UserList": [ { "UserId": "2377cceb-16c2-4cdf-85a0-61d14e969e4c", "Permission": 0, "Inherited": true }, { "UserId": "2377cceb-16c2-4cdf-85a0-61d14e969e4c", "Permission": 0, "Inherited": true } ], "id": "a6cb95ca-698e-423f-9c28-343d36d37368", "ConfigId": "eba1614b-6595-4b25-9a3c-e13372371ee8" }