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": "428e35a0-94c6-4aa9-b9b4-bb599b8910a6", "UserList": [ { "UserId": "7984c983-e9dd-47e2-abb2-71fad823ff17", "Permission": 0, "Inherited": true }, { "UserId": "7984c983-e9dd-47e2-abb2-71fad823ff17", "Permission": 0, "Inherited": true } ], "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerFolder", "id": "4dbbd38d-bf5b-4fc8-9337-6cb06b087a72", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "f6461b1d-abd3-4075-b4ab-0cdf540dc0bc", "_ts": 638938378147493713 }
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": "56ae924f-3f1b-4a42-b0c5-d3b28c21ad3a", "UserList": [ { "UserId": "fda16ca2-7ee6-4a18-85d7-7fa9f1fcb8e6", "Permission": 0, "Inherited": true }, { "UserId": "fda16ca2-7ee6-4a18-85d7-7fa9f1fcb8e6", "Permission": 0, "Inherited": true } ], "id": "e514f377-1480-4150-a6a0-538d585e8345", "ConfigId": "aa9c5531-6ac6-442f-8378-44cf20b32b48" }