GET api/UserAccount/GetByUserId?userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserId | string |
None. |
|
string |
None. |
||
Password | string |
None. |
|
ConfirmPassword | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
DisplayName | string |
None. |
|
Accounts | Collection of UserAccountsInfo |
None. |
|
Prefix | Collection of UserPrefixInfo |
None. |
|
PhoneNumber | string |
None. |
|
Status | string |
None. |
|
LockoutEnabled | boolean |
None. |
|
PasswordExpired | boolean |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
|
UserPrefix | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "UserId": "sample string 2", "Email": "sample string 3", "Password": "sample string 4", "ConfirmPassword": "sample string 5", "FirstName": "sample string 6", "LastName": "sample string 7", "DisplayName": "sample string 8", "Accounts": [ { "AccountId": 1, "AccountGroupId": 2, "AccountStatus": "sample string 3", "Contract": "sample string 4", "ReportsTo": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "JobTitles": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Departments": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Roles": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ] }, { "AccountId": 1, "AccountGroupId": 2, "AccountStatus": "sample string 3", "Contract": "sample string 4", "ReportsTo": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "JobTitles": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Departments": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Roles": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ] } ], "Prefix": [ { "Id": 1, "Prefix": "sample string 2" }, { "Id": 1, "Prefix": "sample string 2" } ], "PhoneNumber": "sample string 9", "Status": "sample string 10", "LockoutEnabled": true, "PasswordExpired": true, "CreatedBy": "sample string 13", "CreateTimestamp": "2024-11-21T08:31:01.9267175+00:00", "ModifiedBy": "sample string 15", "ModifiedTimestamp": "2024-11-21T08:31:01.9267175+00:00", "DataStateFlag": "sample string 16", "UserPrefix": "sample string 17" }
application/xml, text/xml
Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Api.Models.UserAccount"> <Accounts> <UserAccountsInfo> <AccountGroupId>2</AccountGroupId> <AccountId>1</AccountId> <AccountStatus>sample string 3</AccountStatus> <Contract>sample string 4</Contract> <Departments> <UserDepartmentInfo> <Id>1</Id> <Name>sample string 2</Name> </UserDepartmentInfo> <UserDepartmentInfo> <Id>1</Id> <Name>sample string 2</Name> </UserDepartmentInfo> </Departments> <JobTitles> <UserJobTitlesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserJobTitlesInfo> <UserJobTitlesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserJobTitlesInfo> </JobTitles> <ReportsTo> <UserReportsToInfo> <Id>1</Id> <Name>sample string 2</Name> </UserReportsToInfo> <UserReportsToInfo> <Id>1</Id> <Name>sample string 2</Name> </UserReportsToInfo> </ReportsTo> <Roles> <UserWalshRolesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserWalshRolesInfo> <UserWalshRolesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserWalshRolesInfo> </Roles> </UserAccountsInfo> <UserAccountsInfo> <AccountGroupId>2</AccountGroupId> <AccountId>1</AccountId> <AccountStatus>sample string 3</AccountStatus> <Contract>sample string 4</Contract> <Departments> <UserDepartmentInfo> <Id>1</Id> <Name>sample string 2</Name> </UserDepartmentInfo> <UserDepartmentInfo> <Id>1</Id> <Name>sample string 2</Name> </UserDepartmentInfo> </Departments> <JobTitles> <UserJobTitlesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserJobTitlesInfo> <UserJobTitlesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserJobTitlesInfo> </JobTitles> <ReportsTo> <UserReportsToInfo> <Id>1</Id> <Name>sample string 2</Name> </UserReportsToInfo> <UserReportsToInfo> <Id>1</Id> <Name>sample string 2</Name> </UserReportsToInfo> </ReportsTo> <Roles> <UserWalshRolesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserWalshRolesInfo> <UserWalshRolesInfo> <Id>1</Id> <Name>sample string 2</Name> </UserWalshRolesInfo> </Roles> </UserAccountsInfo> </Accounts> <ConfirmPassword>sample string 5</ConfirmPassword> <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T08:31:01.9267175Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 13</CreatedBy> <DataStateFlag>sample string 16</DataStateFlag> <DisplayName>sample string 8</DisplayName> <Email>sample string 3</Email> <FirstName>sample string 6</FirstName> <Id>1</Id> <LastName>sample string 7</LastName> <LockoutEnabled>true</LockoutEnabled> <ModifiedBy>sample string 15</ModifiedBy> <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T08:31:01.9267175Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </ModifiedTimestamp> <Password>sample string 4</Password> <PasswordExpired>true</PasswordExpired> <PhoneNumber>sample string 9</PhoneNumber> <Prefix> <UserPrefixInfo> <Id>1</Id> <Prefix>sample string 2</Prefix> </UserPrefixInfo> <UserPrefixInfo> <Id>1</Id> <Prefix>sample string 2</Prefix> </UserPrefixInfo> </Prefix> <Status>sample string 10</Status> <UserId>sample string 2</UserId> <UserPrefix>sample string 17</UserPrefix> </UserViewModel>