POST api/modeler/folder/update

Updates an existing folder

Request Information

URI Parameters

None.

Body Parameters

ModelerFolder
NameDescriptionTypeAdditional 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": "cac38f08-0efd-4539-aa29-5ab2375880f8",
  "UserList": [
    {
      "UserId": "76f88313-8d76-45f5-990e-e968642a275c",
      "Permission": 0,
      "Inherited": true
    },
    {
      "UserId": "76f88313-8d76-45f5-990e-e968642a275c",
      "Permission": 0,
      "Inherited": true
    }
  ],
  "__app__": "WORKPLANNER",
  "__entity_kind__": "WorkPlanner.Models.ModelerFolder",
  "id": "8b74cacd-b9ce-4024-bcfe-caf2063fd2a3",
  "RestoreFromId": "00000000-0000-0000-0000-000000000000",
  "ConfigId": "65d7508a-e882-475e-93e5-4fab5895b537",
  "_ts": 638697213814454989
}

Response Information

Resource Description

ModelerFolder
NameDescriptionTypeAdditional 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": "4f100210-b4a8-452e-8f1d-e2b28b81089b",
  "UserList": [
    {
      "UserId": "b63881e8-d2a5-4292-ba9f-09f74d38c6a7",
      "Permission": 0,
      "Inherited": true
    },
    {
      "UserId": "b63881e8-d2a5-4292-ba9f-09f74d38c6a7",
      "Permission": 0,
      "Inherited": true
    }
  ],
  "id": "4eaabd1d-b610-44e4-a715-6b2a5e49ce8a",
  "ConfigId": "852017db-6b2d-4828-a1e3-fcf1e7c787b9"
}