POST rights/update

Request Information

URI Parameters

None.

Body Parameters

RightEntity
NameDescriptionTypeAdditional information
RightID

integer

None.

RightName

string

None.

Description

string

None.

Active

boolean

None.

TenantID

integer

None.

Tenant

string

None.

ObjectType

string

None.

ModuleId

integer

None.

LicenceProperty

string

None.

RightsSystemId

integer

None.

LinkedSystem

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RightID": 1,
  "RightName": "sample string 2",
  "Description": "sample string 3",
  "Active": true,
  "TenantID": 5,
  "Tenant": "sample string 6",
  "ObjectType": "sample string 7",
  "ModuleId": 1,
  "LicenceProperty": "sample string 8",
  "RightsSystemId": 9,
  "LinkedSystem": "sample string 10"
}

text/html

Sample:
{"RightID":1,"RightName":"sample string 2","Description":"sample string 3","Active":true,"TenantID":5,"Tenant":"sample string 6","ObjectType":"sample string 7","ModuleId":1,"LicenceProperty":"sample string 8","RightsSystemId":9,"LinkedSystem":"sample string 10"}

application/xml, text/xml

Sample:
<RightEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Rights">
  <Active>true</Active>
  <Description>sample string 3</Description>
  <LicenceProperty>sample string 8</LicenceProperty>
  <LinkedSystem>sample string 10</LinkedSystem>
  <ModuleId>1</ModuleId>
  <ObjectType>sample string 7</ObjectType>
  <RightID>1</RightID>
  <RightName>sample string 2</RightName>
  <RightsSystemId>9</RightsSystemId>
  <Tenant>sample string 6</Tenant>
  <TenantID>5</TenantID>
</RightEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RightEntity'.

Response Information

Resource Description

GenericResult
NameDescriptionTypeAdditional information
WasSuccessful

boolean

None.

Message

string

None.

RefId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "WasSuccessful": true,
  "Message": "sample string 2",
  "RefId": 3
}

text/html

Sample:
{"WasSuccessful":true,"Message":"sample string 2","RefId":3}

application/xml, text/xml

Sample:
<GenericResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <Message>sample string 2</Message>
  <RefId>3</RefId>
  <WasSuccessful>true</WasSuccessful>
</GenericResult>