GET api/v1/users/name/{username}
Gets the user details.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
username |
The username. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDetailsName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
ClubId | globally unique identifier |
Required |
|
FriendlyName | string |
Required String length: inclusive between 0 and 100 |
|
NotificationEmail | string |
Required String length: inclusive between 0 and 256 |
|
PersonId | globally unique identifier |
None. |
|
Remarks | string |
None. |
|
UserName | string |
Required String length: inclusive between 0 and 256 |
|
UserRoleIds | Collection of globally unique identifier |
None. |
|
AccountState | integer |
None. |
|
LastPasswordChangeOn | date |
None. |
|
ShowAllFlightFieldsInMobile | boolean |
None. |
|
ForcePasswordChangeNextLogon | boolean |
None. |
|
EmailConfirmed | boolean |
None. |
|
ShowFlightsFrom | integer |
None. |
|
FlightChangePeriod | integer |
None. |
|
Id | globally unique identifier |
None. |
|
Language | LanguageOverview |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": "44f3aec7-d38c-40bb-9e25-8ceafc4ad31e", "ClubId": "cedab704-6076-41b4-8498-303c8b7f72c8", "FriendlyName": "sample string 3", "NotificationEmail": "sample string 4", "PersonId": "ab0f0d02-c369-45f0-aeb3-a8bbf6ba033c", "Remarks": "sample string 5", "UserName": "sample string 6", "UserRoleIds": [ "6aae0a16-e1e4-4ac6-bdc4-41ca72affc77", "de464b63-b6c4-4f0a-b6df-633a8797af29" ], "AccountState": 7, "LastPasswordChangeOn": "2024-04-03T06:56:22.7350234+02:00", "ShowAllFlightFieldsInMobile": true, "ForcePasswordChangeNextLogon": true, "EmailConfirmed": true, "ShowFlightsFrom": 1, "FlightChangePeriod": 1, "Id": "44f3aec7-d38c-40bb-9e25-8ceafc4ad31e", "Language": { "LanguageId": 1, "LanguageKey": "sample string 2" }, "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"UserId":"44f3aec7-d38c-40bb-9e25-8ceafc4ad31e","ClubId":"cedab704-6076-41b4-8498-303c8b7f72c8","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"ab0f0d02-c369-45f0-aeb3-a8bbf6ba033c","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["6aae0a16-e1e4-4ac6-bdc4-41ca72affc77","de464b63-b6c4-4f0a-b6df-633a8797af29"],"AccountState":7,"LastPasswordChangeOn":"2024-04-03T06:56:22.7350234+02:00","ShowAllFlightFieldsInMobile":true,"ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"ShowFlightsFrom":1,"FlightChangePeriod":1,"Id":"44f3aec7-d38c-40bb-9e25-8ceafc4ad31e","Language":{"LanguageId":1,"LanguageKey":"sample string 2"},"CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<UserDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.User"> <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord> <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord> <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">44f3aec7-d38c-40bb-9e25-8ceafc4ad31e</Id> <AccountState>7</AccountState> <ClubId>cedab704-6076-41b4-8498-303c8b7f72c8</ClubId> <EmailConfirmed>true</EmailConfirmed> <FlightChangePeriod>1</FlightChangePeriod> <ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon> <FriendlyName>sample string 3</FriendlyName> <Language> <LanguageId>1</LanguageId> <LanguageKey>sample string 2</LanguageKey> </Language> <LastPasswordChangeOn>2024-04-03T06:56:22.7350234+02:00</LastPasswordChangeOn> <NotificationEmail>sample string 4</NotificationEmail> <PersonId>ab0f0d02-c369-45f0-aeb3-a8bbf6ba033c</PersonId> <Remarks>sample string 5</Remarks> <ShowAllFlightFieldsInMobile>true</ShowAllFlightFieldsInMobile> <ShowFlightsFrom>1</ShowFlightsFrom> <UserId>44f3aec7-d38c-40bb-9e25-8ceafc4ad31e</UserId> <UserName>sample string 6</UserName> <UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>6aae0a16-e1e4-4ac6-bdc4-41ca72affc77</d2p1:guid> <d2p1:guid>de464b63-b6c4-4f0a-b6df-633a8797af29</d2p1:guid> </UserRoleIds> </UserDetails>