POST api/Role/IsInRole

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "RoleName": "sample string 2"
}

application/xml, text/xml

Sample:
<IsInRoleBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InsuranceAPI.Models">
  <RoleName>sample string 2</RoleName>
  <UserId>sample string 1</UserId>
</IsInRoleBindingModel>

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>