PUT api/RolePermissionAPI/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

HotelRolePermission
NameDescriptionTypeAdditional information
Id

integer

None.

RoleId

integer

None.

ModuleId

integer

None.

ParentModuleId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RoleId": 2,
  "ModuleId": 3,
  "ParentModuleId": 4
}

application/xml, text/xml

Sample:
<HotelRolePermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models.Roles">
  <Id>1</Id>
  <ModuleId>3</ModuleId>
  <ParentModuleId>4</ParentModuleId>
  <RoleId>2</RoleId>
</HotelRolePermission>

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.