POST api/Roles/Delete

Request Information

URI Parameters

None.

Body Parameters

RolesModel
NameDescriptionTypeAdditional information
Id

integer

None.

Role_Name

string

Required

IsActive

boolean

Required

createdBy

string

Required

CreatedDate

date

Required

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Role_Name": "sample string 2",
  "IsActive": true,
  "createdBy": "sample string 4",
  "CreatedDate": "2025-12-11T04:32:30.0165063+05:30",
  "UpdatedBy": "sample string 6",
  "UpdatedDate": "2025-12-11T04:32:30.0165063+05:30"
}

application/xml, text/xml

Sample:
<RolesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model">
  <CreatedDate>2025-12-11T04:32:30.0165063+05:30</CreatedDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Role_Name>sample string 2</Role_Name>
  <UpdatedBy>sample string 6</UpdatedBy>
  <UpdatedDate>2025-12-11T04:32:30.0165063+05:30</UpdatedDate>
  <createdBy>sample string 4</createdBy>
</RolesModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.