PUT api/Role/UpdateRole

Request Information

URI Parameters

None.

Body Parameters

Role
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "CreatedBy": "sample string 3",
  "CreatedDate": "2024-12-01T09:40:28.9511116+05:30",
  "UpdatedBy": "sample string 5",
  "UpdatedDate": "2024-12-01T09:40:28.9511116+05:30"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Title":"sample string 2","CreatedBy":"sample string 3","CreatedDate":"2024-12-01T09:40:28.9511116+05:30","UpdatedBy":"sample string 5","UpdatedDate":"2024-12-01T09:40:28.9511116+05:30"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.