GET api/v1/users/{userId}
Gets the user details.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
The user identifier. |
globally unique identifier |
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": "1f892d54-4767-446d-9599-021ba1f755c4", "ClubId": "11873fd3-3708-4789-a7bf-ee4b8ac2910e", "FriendlyName": "sample string 3", "NotificationEmail": "sample string 4", "PersonId": "ec5f2f6d-b000-4315-a8c7-af0eef150a2d", "Remarks": "sample string 5", "UserName": "sample string 6", "UserRoleIds": [ "e5b3315a-50ae-443a-bf97-60fddcbff4b2", "64c49612-7824-41d4-857d-ba57a2040096" ], "AccountState": 7, "LastPasswordChangeOn": "2024-03-30T04:02:54.160349+01:00", "ShowAllFlightFieldsInMobile": true, "ForcePasswordChangeNextLogon": true, "EmailConfirmed": true, "ShowFlightsFrom": 1, "FlightChangePeriod": 1, "Id": "1f892d54-4767-446d-9599-021ba1f755c4", "Language": { "LanguageId": 1, "LanguageKey": "sample string 2" }, "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"UserId":"1f892d54-4767-446d-9599-021ba1f755c4","ClubId":"11873fd3-3708-4789-a7bf-ee4b8ac2910e","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"ec5f2f6d-b000-4315-a8c7-af0eef150a2d","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["e5b3315a-50ae-443a-bf97-60fddcbff4b2","64c49612-7824-41d4-857d-ba57a2040096"],"AccountState":7,"LastPasswordChangeOn":"2024-03-30T04:02:54.160349+01:00","ShowAllFlightFieldsInMobile":true,"ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"ShowFlightsFrom":1,"FlightChangePeriod":1,"Id":"1f892d54-4767-446d-9599-021ba1f755c4","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">1f892d54-4767-446d-9599-021ba1f755c4</Id> <AccountState>7</AccountState> <ClubId>11873fd3-3708-4789-a7bf-ee4b8ac2910e</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-03-30T04:02:54.160349+01:00</LastPasswordChangeOn> <NotificationEmail>sample string 4</NotificationEmail> <PersonId>ec5f2f6d-b000-4315-a8c7-af0eef150a2d</PersonId> <Remarks>sample string 5</Remarks> <ShowAllFlightFieldsInMobile>true</ShowAllFlightFieldsInMobile> <ShowFlightsFrom>1</ShowFlightsFrom> <UserId>1f892d54-4767-446d-9599-021ba1f755c4</UserId> <UserName>sample string 6</UserName> <UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>e5b3315a-50ae-443a-bf97-60fddcbff4b2</d2p1:guid> <d2p1:guid>64c49612-7824-41d4-857d-ba57a2040096</d2p1:guid> </UserRoleIds> </UserDetails>