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
UserDetails| Name | 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": "3278a544-6f43-45c5-bb1b-8b25f1297451",
"ClubId": "faf28544-6427-4696-8b64-8b36fd8574a8",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "f9bd5fa0-292a-40e6-b49d-1930d3f417af",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"6d38c4f7-4a6b-47b2-9adf-a293eac9b6c3",
"6b34d75f-22c7-46ba-928a-fc67c7ccd9a9"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-03-08T06:53:58.5624288+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "3278a544-6f43-45c5-bb1b-8b25f1297451",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"3278a544-6f43-45c5-bb1b-8b25f1297451","ClubId":"faf28544-6427-4696-8b64-8b36fd8574a8","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"f9bd5fa0-292a-40e6-b49d-1930d3f417af","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["6d38c4f7-4a6b-47b2-9adf-a293eac9b6c3","6b34d75f-22c7-46ba-928a-fc67c7ccd9a9"],"AccountState":7,"LastPasswordChangeOn":"2026-03-08T06:53:58.5624288+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"3278a544-6f43-45c5-bb1b-8b25f1297451","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">3278a544-6f43-45c5-bb1b-8b25f1297451</Id>
<AccountState>7</AccountState>
<ClubId>faf28544-6427-4696-8b64-8b36fd8574a8</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-03-08T06:53:58.5624288+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>f9bd5fa0-292a-40e6-b49d-1930d3f417af</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>3278a544-6f43-45c5-bb1b-8b25f1297451</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6d38c4f7-4a6b-47b2-9adf-a293eac9b6c3</d2p1:guid>
<d2p1:guid>6b34d75f-22c7-46ba-928a-fc67c7ccd9a9</d2p1:guid>
</UserRoleIds>
</UserDetails>