POST object-user-rights

Creates a new or updates an existing object user right.

Request Information

URI Parameters

None.

Body Parameters

The model containing the information to create or update an object user right.

ObjectUserRightViewModel
NameDescriptionTypeAdditional information
Id

string

None.

RelatedObject

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",
  "relatedObject": {
    "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

ObjectUserRightViewModel
NameDescriptionTypeAdditional information
Id

string

None.

RelatedObject

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",
  "relatedObject": {
    "selfUrl": "sample string 1"
  },
  "relatedUser": {
    "selfUrl": "sample string 1"
  },
  "relatedRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 2"
}