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": "3a91700f-173b-4386-ac9b-de2b76fb8ba9", "UserList": [ { "UserId": "3b7f6474-6d28-4ca1-a3da-3069045107a6", "Permission": 0, "Inherited": true }, { "UserId": "3b7f6474-6d28-4ca1-a3da-3069045107a6", "Permission": 0, "Inherited": true } ], "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.ModelerFolder", "id": "07b9b584-e985-43df-b3b2-eb903f8732cd", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "4444dfa0-0e73-473e-9b86-891835bc6bdc", "_ts": 638925192328132616 }
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": "a254e907-13b3-4393-acf0-0ddb5c4a8a4b", "UserList": [ { "UserId": "255e0744-2253-412c-b90b-0b9d56041d1c", "Permission": 0, "Inherited": true }, { "UserId": "255e0744-2253-412c-b90b-0b9d56041d1c", "Permission": 0, "Inherited": true } ], "id": "db44841e-4d94-4759-94f0-cf47eb7286f3", "ConfigId": "3ec7b70e-c182-47e0-873c-d2ca6f0d7f33" }