POST api/User/GetUserRolesByUserId
Request Information
URI Parameters
None.
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of UserRoleDTOName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
RoleId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "UserId": 1, "RoleId": 2 }, { "UserId": 1, "RoleId": 2 } ]