POST maintenance/AddRoleLink

Request Information

URI Parameters

None.

Body Parameters

AreaGroupRoles
NameDescriptionTypeAdditional information
LinkId

integer

None.

RoleId

integer

None.

AreaGroupId

integer

None.

AreaTypeId

integer

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LinkId": 1,
  "RoleId": 2,
  "AreaGroupId": 3,
  "AreaTypeId": 4,
  "TenantId": 5
}

text/html

Sample:
{"LinkId":1,"RoleId":2,"AreaGroupId":3,"AreaTypeId":4,"TenantId":5}

application/xml, text/xml

Sample:
<AreaGroupRoles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Areas">
  <AreaGroupId>3</AreaGroupId>
  <AreaTypeId>4</AreaTypeId>
  <LinkId>1</LinkId>
  <RoleId>2</RoleId>
  <TenantId>5</TenantId>
</AreaGroupRoles>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.