GET api/UserAccountRole/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserAccountRoleViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserId | string |
None. |
|
AccountId | integer |
None. |
|
RoleId | integer |
None. |
|
ReportsToId | string |
None. |
|
DepartmentId | integer |
None. |
|
Department | string |
None. |
|
AccountGroupId | integer |
None. |
|
AuditMethod | string |
None. |
|
NumberOfRooms | integer |
None. |
|
Status | string |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "UserId": "sample string 2", "AccountId": 3, "RoleId": 4, "ReportsToId": "sample string 5", "DepartmentId": 6, "Department": "sample string 7", "AccountGroupId": 8, "AuditMethod": "sample string 9", "NumberOfRooms": 1, "Status": "sample string 10", "CreatedBy": "sample string 11", "CreateTimestamp": "2024-11-21T08:47:46.206037+00:00", "ModifiedBy": "sample string 13", "ModifiedTimestamp": "2024-11-21T08:47:46.206037+00:00", "DataStateFlag": "sample string 14" }
application/xml, text/xml
Sample:
<UserAccountRoleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Api.Models.UserAccount"> <AccountGroupId>8</AccountGroupId> <AccountId>3</AccountId> <AuditMethod>sample string 9</AuditMethod> <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T08:47:46.206037Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 11</CreatedBy> <DataStateFlag>sample string 14</DataStateFlag> <Department>sample string 7</Department> <DepartmentId>6</DepartmentId> <Id>1</Id> <ModifiedBy>sample string 13</ModifiedBy> <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T08:47:46.206037Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </ModifiedTimestamp> <NumberOfRooms>1</NumberOfRooms> <ReportsToId>sample string 5</ReportsToId> <RoleId>4</RoleId> <Status>sample string 10</Status> <UserId>sample string 2</UserId> </UserAccountRoleViewModel>