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
ModelerFolder| Name | 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": "6be5734e-90c3-4b87-950c-1ad536e5296b",
"UserList": [
{
"UserId": "f1d9a95f-a3f4-4d71-8a39-ba973c83d618",
"Permission": 0,
"Inherited": true
},
{
"UserId": "f1d9a95f-a3f4-4d71-8a39-ba973c83d618",
"Permission": 0,
"Inherited": true
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.ModelerFolder",
"id": "65bc9f73-7737-4962-bfeb-abee42e20bb6",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "d409f624-b8cb-4c86-893c-f2b55e7f93cd",
"_ts": 638980962312953802
}
Response Information
Resource Description
ModelerFolder| Name | 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": "532e9d29-9b32-4767-beb6-2245ae4b847e",
"UserList": [
{
"UserId": "fc1d5e38-0403-4384-b220-955106bddc6e",
"Permission": 0,
"Inherited": true
},
{
"UserId": "fc1d5e38-0403-4384-b220-955106bddc6e",
"Permission": 0,
"Inherited": true
}
],
"id": "9e07d607-d5ea-4aeb-9b12-5c852cee4091",
"ConfigId": "e06d37b0-d351-4bd7-a0a6-304a91e5d2a4"
}