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": "d5374097-64ef-47ad-9e7a-d6adffcce68b", "UserList": [ { "UserId": "cd9d6694-1840-48cb-8708-20aa534af075", "Permission": 0, "Inherited": true }, { "UserId": "cd9d6694-1840-48cb-8708-20aa534af075", "Permission": 0, "Inherited": true } ], "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerFolder", "id": "cdaafec0-1661-4e45-9f3c-312f8087cb1a", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "5c21d16e-178f-4abf-8415-e69b4722a4e3", "_ts": 638882647547268449 }
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": "0ad821d3-7040-4517-9b12-26c16d2f81d1", "UserList": [ { "UserId": "42d6cd05-f9a1-428b-80c8-0eeedf513f03", "Permission": 0, "Inherited": true }, { "UserId": "42d6cd05-f9a1-428b-80c8-0eeedf513f03", "Permission": 0, "Inherited": true } ], "id": "4f920de0-f909-41df-afd4-b896407c8910", "ConfigId": "33dc310d-d91e-4809-b7ca-93b67ca5d644" }