PUT api/Authorization/PutPermission

Request Information

URI Parameters

None.

Body Parameters

ControllerPermission
NameDescriptionTypeAdditional information
ApiKeyId

integer

None.

ClientId

integer

None.

HashedSecurityContextId

string

None.

HashedPermissionFlag

string

None.

PermissionFlag

string

None.

IsSet

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiKeyId": 1,
  "ClientId": 2,
  "HashedSecurityContextId": "sample string 3",
  "HashedPermissionFlag": "sample string 4",
  "PermissionFlag": "sample string 5",
  "IsSet": true
}

application/xml, text/xml

Sample:
<AuthorizationController.ControllerPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OptiPort.Api.Controllers">
  <ApiKeyId>1</ApiKeyId>
  <ClientId>2</ClientId>
  <HashedPermissionFlag>sample string 4</HashedPermissionFlag>
  <HashedSecurityContextId>sample string 3</HashedSecurityContextId>
  <IsSet>true</IsSet>
  <PermissionFlag>sample string 5</PermissionFlag>
</AuthorizationController.ControllerPermission>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.