GET api/v1/users/name/{username}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
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. |
|
ForcePasswordChangeNextLogon | boolean |
None. |
|
EmailConfirmed | boolean |
None. |
|
LanguageId | integer |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": "275914f3-9605-4763-940e-ba757bc9761b", "ClubId": "aa755948-86c1-4260-8069-5f7bdc926cb5", "FriendlyName": "sample string 3", "NotificationEmail": "sample string 4", "PersonId": "631a29ac-9927-4b2e-ac8f-97a83a99bf09", "Remarks": "sample string 5", "UserName": "sample string 6", "UserRoleIds": [ "dc1a6a0f-774a-4b8d-afee-9ceaabe523cb", "92098f44-bc05-46d6-80cd-7d9957dc38cf" ], "AccountState": 7, "LastPasswordChangeOn": "2025-01-29T00:43:55.55566+01:00", "ForcePasswordChangeNextLogon": true, "EmailConfirmed": true, "LanguageId": 10, "Id": "275914f3-9605-4763-940e-ba757bc9761b", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"UserId":"275914f3-9605-4763-940e-ba757bc9761b","ClubId":"aa755948-86c1-4260-8069-5f7bdc926cb5","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"631a29ac-9927-4b2e-ac8f-97a83a99bf09","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["dc1a6a0f-774a-4b8d-afee-9ceaabe523cb","92098f44-bc05-46d6-80cd-7d9957dc38cf"],"AccountState":7,"LastPasswordChangeOn":"2025-01-29T00:43:55.55566+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"275914f3-9605-4763-940e-ba757bc9761b","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">275914f3-9605-4763-940e-ba757bc9761b</Id> <AccountState>7</AccountState> <ClubId>aa755948-86c1-4260-8069-5f7bdc926cb5</ClubId> <EmailConfirmed>true</EmailConfirmed> <ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon> <FriendlyName>sample string 3</FriendlyName> <LanguageId>10</LanguageId> <LastPasswordChangeOn>2025-01-29T00:43:55.55566+01:00</LastPasswordChangeOn> <NotificationEmail>sample string 4</NotificationEmail> <PersonId>631a29ac-9927-4b2e-ac8f-97a83a99bf09</PersonId> <Remarks>sample string 5</Remarks> <UserId>275914f3-9605-4763-940e-ba757bc9761b</UserId> <UserName>sample string 6</UserName> <UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>dc1a6a0f-774a-4b8d-afee-9ceaabe523cb</d2p1:guid> <d2p1:guid>92098f44-bc05-46d6-80cd-7d9957dc38cf</d2p1:guid> </UserRoleIds> </UserDetails>