POST Api/Role/FetchRolebyID

Request Information

URI Parameters

None.

Body Parameters

UpdateRole
NameDescriptionTypeAdditional information
UpdatedBy

string

None.

RoleID

globally unique identifier

None.

RoleName

string

None.

DepartmentName

string

None.

Remark

string

None.

AddedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UpdatedBy": "sample string 1",
  "RoleID": "ff19f0dd-5c4c-49e2-980e-beed8c82c22c",
  "RoleName": "sample string 3",
  "DepartmentName": "sample string 4",
  "Remark": "sample string 5",
  "AddedBy": "sample string 6"
}

application/xml, text/xml

Sample:
<UpdateRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DevelAPI.Models">
  <AddedBy>sample string 6</AddedBy>
  <DepartmentName>sample string 4</DepartmentName>
  <Remark>sample string 5</Remark>
  <RoleID>ff19f0dd-5c4c-49e2-980e-beed8c82c22c</RoleID>
  <RoleName>sample string 3</RoleName>
  <UpdatedBy>sample string 1</UpdatedBy>
</UpdateRole>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.