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

The identifier of the relation.

string

None.

RelatedFolder

The related folder.

BaseViewModel

None.

RelatedUser

The related user.

BaseViewModel

None.

RelatedRights

The related rights.

Collection of BaseViewModel

None.

SelfUrl

The URL to the resource.

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

The identifier of the relation.

string

None.

RelatedFolder

The related folder.

BaseViewModel

None.

RelatedUser

The related user.

BaseViewModel

None.

RelatedRights

The related rights.

Collection of BaseViewModel

None.

SelfUrl

The URL to the resource.

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"
}