GET api/RolesInt/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
RoleIntName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Users | Collection of UserRoleInt |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "users": [ { "$id": "2", "userId": 1, "user": { "$id": "3", "id": 1, "email": "sample string 2", "emailConfirmed": true, "passwordHash": "sample string 4", "securityStamp": "sample string 5", "phoneNumber": "sample string 6", "phoneNumberConfirmed": true, "twoFactorEnabled": true, "lockoutEndDateUtc": "2025-04-29T22:06:39.822Z", "lockoutEnabled": true, "accessFailedCount": 10, "userName": "sample string 11", "firstName": "sample string 12", "lastName": "sample string 13", "firstLastName": "sample string 12 sample string 13", "lastFirstName": "sample string 13 sample string 12", "claims": [ { "$id": "4", "id": 1, "userId": 2, "user": { "$ref": "3" }, "claimType": "sample string 3", "claimValue": "sample string 4" }, { "$ref": "4" } ], "logins": [ { "$id": "5", "loginProvider": "sample string 1", "providerKey": "sample string 2", "userId": 3, "user": { "$ref": "3" } }, { "$ref": "5" } ], "roles": [ { "$ref": "2" }, { "$ref": "2" } ], "createdAt": "2025-04-29T22:06:39.822Z", "createdBy": "sample string 15", "updatedAt": "2025-04-29T22:06:39.822Z", "updatedBy": "sample string 17" }, "roleId": 2, "role": { "$ref": "1" } }, { "$ref": "2" } ] }