POST api/Account/AddUserInRole
Request Information
URI Parameters
None.
Body Parameters
AddUserInRoleBindingModelName | Description | Type | Additional information |
---|---|---|---|
userEmail | string |
Required |
|
userId | string |
Required |
|
roleId | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "userEmail": "sample string 1", "userId": "sample string 2", "roleId": "sample string 3" }
application/xml, text/xml
Sample:
<AddUserInRoleBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServiceLMS6Auth.Models"> <roleId>sample string 3</roleId> <userEmail>sample string 1</userEmail> <userId>sample string 2</userId> </AddUserInRoleBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.