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": "1f750390-fa66-40b3-afeb-522df2f41f72", "UserList": [ { "UserId": "7d282123-934f-4a85-aded-89ed38975afb", "Permission": 0, "Inherited": true }, { "UserId": "7d282123-934f-4a85-aded-89ed38975afb", "Permission": 0, "Inherited": true } ], "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerFolder", "id": "0cdc88bb-533f-461e-8419-acd4aed9f44e", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "84070650-32bd-42a6-8138-ef0c4c841915", "_ts": 638871980403072684 }
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": "14de5c35-0443-474b-babe-513da3070c03", "UserList": [ { "UserId": "ac4b8c2e-be0c-4c6f-abfb-bc57cf934bef", "Permission": 0, "Inherited": true }, { "UserId": "ac4b8c2e-be0c-4c6f-abfb-bc57cf934bef", "Permission": 0, "Inherited": true } ], "id": "4e1b3749-ad3c-4ca5-a0ac-f5fc15c72ff1", "ConfigId": "5a2985e2-3d61-4480-bf8f-abd3176b3664" }