POST api/UserRole/CreateUserRole
Creates a new userrole.
Request Information
URI Parameters
None.
Body Parameters
UserRolesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| userID | integer |
None. |
|
| RoleID | integer |
None. |
|
| RoleName | string |
Required |
|
| RoleDescription | string |
Required |
|
| IsActive | boolean |
None. |
|
| userRole | Collection of UserRolesModel |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
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.