POST api/admin/users/roles/updated
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of UserActivityViewModelName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
None. |
|
string |
None. |
||
Roles | Collection of RoleViewModel |
None. |
|
FirstName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
FullName | string |
None. |
|
PhoneNumber | string |
None. |
|
Username | string |
None. |
|
ActionId | integer |
None. |
|
ActionCode | string |
None. |
|
ActionType | string |
None. |
|
ActivityDate | date |
None. |
|
ActivityBy | string |
None. |
|
CreatedByEmail | string |
None. |
|
CreatedByUserId | string |
None. |
|
CreatedByFirstName | string |
None. |
|
CreatedByLastName | string |
None. |
|
CreatedByMiddleName | string |
None. |
|
CreatedByRoles | Collection of RoleViewModel |
None. |
Response Formats
application/json, text/json
Sample:
[ { "userId": "sample string 1", "email": "sample string 2", "roles": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ], "firstName": "sample string 3", "middleName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "phoneNumber": "sample string 7", "username": "sample string 8", "actionId": 9, "actionCode": "sample string 10", "actionType": "sample string 11", "activityDate": "2024-11-24T00:54:37.5990904-05:00", "activityBy": "sample string 13", "createdByEmail": "sample string 14", "createdByUserId": "sample string 15", "createdByFirstName": "sample string 16", "createdByLastName": "sample string 17", "createdByMiddleName": "sample string 18", "createdByRoles": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ] }, { "userId": "sample string 1", "email": "sample string 2", "roles": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ], "firstName": "sample string 3", "middleName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "phoneNumber": "sample string 7", "username": "sample string 8", "actionId": 9, "actionCode": "sample string 10", "actionType": "sample string 11", "activityDate": "2024-11-24T00:54:37.5990904-05:00", "activityBy": "sample string 13", "createdByEmail": "sample string 14", "createdByUserId": "sample string 15", "createdByFirstName": "sample string 16", "createdByLastName": "sample string 17", "createdByMiddleName": "sample string 18", "createdByRoles": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfUserActivityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.Domain.ViewModels"> <UserActivityViewModel> <ActionCode>sample string 10</ActionCode> <ActionId>9</ActionId> <ActionType>sample string 11</ActionType> <ActivityBy>sample string 13</ActivityBy> <ActivityDate>2024-11-24T00:54:37.5990904-05:00</ActivityDate> <CreatedByEmail>sample string 14</CreatedByEmail> <CreatedByFirstName>sample string 16</CreatedByFirstName> <CreatedByLastName>sample string 17</CreatedByLastName> <CreatedByMiddleName>sample string 18</CreatedByMiddleName> <CreatedByRoles> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> </CreatedByRoles> <CreatedByUserId>sample string 15</CreatedByUserId> <Email>sample string 2</Email> <FirstName>sample string 3</FirstName> <FullName>sample string 6</FullName> <LastName>sample string 5</LastName> <MiddleName>sample string 4</MiddleName> <PhoneNumber>sample string 7</PhoneNumber> <Roles> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> </Roles> <UserId>sample string 1</UserId> <Username>sample string 8</Username> </UserActivityViewModel> <UserActivityViewModel> <ActionCode>sample string 10</ActionCode> <ActionId>9</ActionId> <ActionType>sample string 11</ActionType> <ActivityBy>sample string 13</ActivityBy> <ActivityDate>2024-11-24T00:54:37.5990904-05:00</ActivityDate> <CreatedByEmail>sample string 14</CreatedByEmail> <CreatedByFirstName>sample string 16</CreatedByFirstName> <CreatedByLastName>sample string 17</CreatedByLastName> <CreatedByMiddleName>sample string 18</CreatedByMiddleName> <CreatedByRoles> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> </CreatedByRoles> <CreatedByUserId>sample string 15</CreatedByUserId> <Email>sample string 2</Email> <FirstName>sample string 3</FirstName> <FullName>sample string 6</FullName> <LastName>sample string 5</LastName> <MiddleName>sample string 4</MiddleName> <PhoneNumber>sample string 7</PhoneNumber> <Roles> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> <RoleViewModel> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleViewModel> </Roles> <UserId>sample string 1</UserId> <Username>sample string 8</Username> </UserActivityViewModel> </ArrayOfUserActivityViewModel>