Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The record identifier.

integer

Required

Body Parameters

The role.

Pico.Role
NameDescriptionTypeAdditional information
category

Gets or sets the category.

string

None.

code

Gets or sets the code.

string

None.

description

Gets or sets the description.

string

None.

isActive

Gets or sets a value indicating whether this instance is active.

boolean

None.

isAssignable

Gets or sets a value indicating whether this instance is assignable.

boolean

None.

order

Gets or sets the order.

integer

None.

id

Gets or sets the role identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "category": "sample String 1",
  "code": "sample String 2",
  "description": "sample String 3",
  "isActive": true,
  "isAssignable": true,
  "order": 6,
  "id": "7"
}

text/html

Sample:
{"category":"sample String 1","code":"sample String 2","description":"sample String 3","isActive":true,"isAssignable":true,"order":6,"id":"7"}

application/xml, text/xml

Sample:
<Role xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Category>sample String 1</Category>
  <Code>sample String 2</Code>
  <Description>sample String 3</Description>
  <IsActive>true</IsActive>
  <IsAssignable>true</IsAssignable>
  <Order>6</Order>
  <RoleId>7</RoleId>
</Role>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The updated role.

Pico.Role
NameDescriptionTypeAdditional information
category

Gets or sets the category.

string

None.

code

Gets or sets the code.

string

None.

description

Gets or sets the description.

string

None.

isActive

Gets or sets a value indicating whether this instance is active.

boolean

None.

isAssignable

Gets or sets a value indicating whether this instance is assignable.

boolean

None.

order

Gets or sets the order.

integer

None.

id

Gets or sets the role identifier.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "category": "sample String 1",
  "code": "sample String 2",
  "description": "sample String 3",
  "isActive": true,
  "isAssignable": true,
  "order": 6,
  "id": "7"
}

text/html

Sample:
{"category":"sample String 1","code":"sample String 2","description":"sample String 3","isActive":true,"isAssignable":true,"order":6,"id":"7"}

application/xml, text/xml

Sample:
<Role xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Category>sample String 1</Category>
  <Code>sample String 2</Code>
  <Description>sample String 3</Description>
  <IsActive>true</IsActive>
  <IsAssignable>true</IsAssignable>
  <Order>6</Order>
  <RoleId>7</RoleId>
</Role>