POST Add_Role

Request Information

URI Parameters

None.

Body Parameters

Customrole
NameDescriptionTypeAdditional information
name

string

None.

id

globally unique identifier

None.

authorID

Object

None.

usertype

integer

None.

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "id": "1d217601-be54-4ac3-8cf4-51e60c5c0133",
  "authorID": {},
  "usertype": 1,
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<Customrole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawQuorum.Models">
  <authorID />
  <id>1d217601-be54-4ac3-8cf4-51e60c5c0133</id>
  <name>sample string 1</name>
  <token>sample string 4</token>
  <usertype>1</usertype>
</Customrole>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.