POST folder-user-rights

Creates a new or updates an existing folder user right.

Request Information

URI Parameters

None.

Body Parameters

The model containing the information to create or update a folder user right.

FolderUserRightViewModel
NameDescriptionTypeAdditional information
Id

string

None.

RelatedFolder

BaseViewModel

Includable

Settable

RelatedUser

BaseViewModel

Includable

Settable

RelatedRights

Collection of BaseViewModel

Includable

Settable

SelfUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "relatedFolder": {
    "selfUrl": "sample string 1"
  },
  "relatedUser": {
    "selfUrl": "sample string 1"
  },
  "relatedRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 2"
}

Response Information

Resource Description

FolderUserRightViewModel
NameDescriptionTypeAdditional information
Id

string

None.

RelatedFolder

BaseViewModel

Includable

Settable

RelatedUser

BaseViewModel

Includable

Settable

RelatedRights

Collection of BaseViewModel

Includable

Settable

SelfUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "relatedFolder": {
    "selfUrl": "sample string 1"
  },
  "relatedUser": {
    "selfUrl": "sample string 1"
  },
  "relatedRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 2"
}