POST api/Roles

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ROLE_ID": 1,
  "ROLE_NAME": "sample string 1",
  "RES_STATUS": "sample string 2",
  "APPROVER": true,
  "IS_ADMIN": true,
  "IS_DEFAULT": true,
  "ROLE_TYPE": "sample string 5",
  "UpdateSts": true,
  "DASHBOARD_NAME": "sample string 6",
  "D_ID": 7
}

application/xml, text/xml

Sample:
<Roles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.UserAdministration">
  <APPROVER>true</APPROVER>
  <DASHBOARD_NAME>sample string 6</DASHBOARD_NAME>
  <D_ID>7</D_ID>
  <IS_ADMIN>true</IS_ADMIN>
  <IS_DEFAULT>true</IS_DEFAULT>
  <RES_STATUS>sample string 2</RES_STATUS>
  <ROLE_ID>1</ROLE_ID>
  <ROLE_NAME>sample string 1</ROLE_NAME>
  <ROLE_TYPE>sample string 5</ROLE_TYPE>
  <UpdateSts>true</UpdateSts>
</Roles>

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 'Roles'.