POST api/roleAndPrivilege/update

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": "a91ef043-9d43-47ba-b7c0-6daccc1478d1",
  "delFlg": true,
  "createdOn": "2020-09-28T05:51:17.4075313+00:00",
  "createdBy": "21fd9d87-f1c6-4806-b034-e88f01bbd1eb",
  "updatedOn": "2020-09-28T05:51:17.4075313+00:00",
  "updatedBy": "69f3f602-5149-4c4e-81df-ab8e63e62c9a",
  "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>21fd9d87-f1c6-4806-b034-e88f01bbd1eb</createdBy>
  <createdOn>2020-09-28T05:51:17.4075313+00:00</createdOn>
  <delFlg>true</delFlg>
  <description>sample string 7</description>
  <message>sample string 9</message>
  <name>sample string 6</name>
  <roleId>a91ef043-9d43-47ba-b7c0-6daccc1478d1</roleId>
  <status>sample string 8</status>
  <updatedBy>69f3f602-5149-4c4e-81df-ab8e63e62c9a</updatedBy>
  <updatedOn>2020-09-28T05:51:17.4075313+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'.