PUT api/v1/users/{userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | globally unique identifier |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "45902c40-eb98-40c7-8380-6efc50c0b3f1", "ClubId": "83b788a8-e6d9-466b-bdc3-81b75ea93f3f", "FriendlyName": "sample string 3", "NotificationEmail": "sample string 4", "PersonId": "4280d688-d1e6-4a23-8dd9-87ac4e266528", "Remarks": "sample string 5", "UserName": "sample string 6", "UserRoleIds": [ "74533898-76b6-436b-9e54-d5c904aa3c67", "08d7d376-e70d-448c-95e9-a3a76d3197e4" ], "AccountState": 7, "LastPasswordChangeOn": "2024-11-21T09:36:24.9283387+01:00", "ForcePasswordChangeNextLogon": true, "EmailConfirmed": true, "LanguageId": 10, "Id": "45902c40-eb98-40c7-8380-6efc50c0b3f1", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"UserId":"45902c40-eb98-40c7-8380-6efc50c0b3f1","ClubId":"83b788a8-e6d9-466b-bdc3-81b75ea93f3f","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"4280d688-d1e6-4a23-8dd9-87ac4e266528","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["74533898-76b6-436b-9e54-d5c904aa3c67","08d7d376-e70d-448c-95e9-a3a76d3197e4"],"AccountState":7,"LastPasswordChangeOn":"2024-11-21T09:36:24.9283387+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"45902c40-eb98-40c7-8380-6efc50c0b3f1","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">45902c40-eb98-40c7-8380-6efc50c0b3f1</Id> <AccountState>7</AccountState> <ClubId>83b788a8-e6d9-466b-bdc3-81b75ea93f3f</ClubId> <EmailConfirmed>true</EmailConfirmed> <ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon> <FriendlyName>sample string 3</FriendlyName> <LanguageId>10</LanguageId> <LastPasswordChangeOn>2024-11-21T09:36:24.9283387+01:00</LastPasswordChangeOn> <NotificationEmail>sample string 4</NotificationEmail> <PersonId>4280d688-d1e6-4a23-8dd9-87ac4e266528</PersonId> <Remarks>sample string 5</Remarks> <UserId>45902c40-eb98-40c7-8380-6efc50c0b3f1</UserId> <UserName>sample string 6</UserName> <UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>74533898-76b6-436b-9e54-d5c904aa3c67</d2p1:guid> <d2p1:guid>08d7d376-e70d-448c-95e9-a3a76d3197e4</d2p1:guid> </UserRoleIds> </UserDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "99c2eb9d-570c-4e3a-8bf9-e2ac66b58210", "ClubId": "9c29a9f0-f525-44a3-91f8-a40ce71345ad", "FriendlyName": "sample string 3", "NotificationEmail": "sample string 4", "PersonId": "dd90147c-35f7-44ac-86dc-e250d1ef41c1", "Remarks": "sample string 5", "UserName": "sample string 6", "UserRoleIds": [ "e63ba561-a226-4200-b50a-e143bc3fdab6", "8abaeea6-3c91-4743-8f5c-f2ef3f58e55d" ], "AccountState": 7, "LastPasswordChangeOn": "2024-11-21T09:36:24.9283387+01:00", "ForcePasswordChangeNextLogon": true, "EmailConfirmed": true, "LanguageId": 10, "Id": "99c2eb9d-570c-4e3a-8bf9-e2ac66b58210", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"UserId":"99c2eb9d-570c-4e3a-8bf9-e2ac66b58210","ClubId":"9c29a9f0-f525-44a3-91f8-a40ce71345ad","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"dd90147c-35f7-44ac-86dc-e250d1ef41c1","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["e63ba561-a226-4200-b50a-e143bc3fdab6","8abaeea6-3c91-4743-8f5c-f2ef3f58e55d"],"AccountState":7,"LastPasswordChangeOn":"2024-11-21T09:36:24.9283387+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"99c2eb9d-570c-4e3a-8bf9-e2ac66b58210","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">99c2eb9d-570c-4e3a-8bf9-e2ac66b58210</Id> <AccountState>7</AccountState> <ClubId>9c29a9f0-f525-44a3-91f8-a40ce71345ad</ClubId> <EmailConfirmed>true</EmailConfirmed> <ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon> <FriendlyName>sample string 3</FriendlyName> <LanguageId>10</LanguageId> <LastPasswordChangeOn>2024-11-21T09:36:24.9283387+01:00</LastPasswordChangeOn> <NotificationEmail>sample string 4</NotificationEmail> <PersonId>dd90147c-35f7-44ac-86dc-e250d1ef41c1</PersonId> <Remarks>sample string 5</Remarks> <UserId>99c2eb9d-570c-4e3a-8bf9-e2ac66b58210</UserId> <UserName>sample string 6</UserName> <UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>e63ba561-a226-4200-b50a-e143bc3fdab6</d2p1:guid> <d2p1:guid>8abaeea6-3c91-4743-8f5c-f2ef3f58e55d</d2p1:guid> </UserRoleIds> </UserDetails>