POST api/roleAndPrivilege/create

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "roleId": "670a71c1-b966-4701-8c68-81bb9ee5d401",
  "delFlg": true,
  "createdOn": "2020-09-18T09:55:40.6802359+00:00",
  "createdBy": "9b92e372-927e-4b68-a90e-540b68db0731",
  "updatedOn": "2020-09-18T09:55:40.6802359+00:00",
  "updatedBy": "70a60e95-18cc-49bc-8d01-bf4a491158bd",
  "companyId": 5,
  "name": "sample string 6",
  "description": "sample string 7",
  "status": "sample string 8",
  "message": "sample string 9"
}

application/xml, text/xml

Sample:
<companyRolesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <companyId>5</companyId>
  <createdBy>9b92e372-927e-4b68-a90e-540b68db0731</createdBy>
  <createdOn>2020-09-18T09:55:40.6802359+00:00</createdOn>
  <delFlg>true</delFlg>
  <description>sample string 7</description>
  <message>sample string 9</message>
  <name>sample string 6</name>
  <roleId>670a71c1-b966-4701-8c68-81bb9ee5d401</roleId>
  <status>sample string 8</status>
  <updatedBy>70a60e95-18cc-49bc-8d01-bf4a491158bd</updatedBy>
  <updatedOn>2020-09-18T09:55:40.6802359+00:00</updatedOn>
</companyRolesModel>

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