POST api/v1/user/update
Updates the specified user account.
Request Information
Headers
URI Parameters
None.
Body Parameters
The user account.
UserAccountName | Description | Type | Additional information |
---|---|---|---|
Id |
The identifier |
integer |
None. |
Username |
The user name |
string |
Required |
Password |
The password. |
string |
Required |
CreateDateTime |
The date when account was created |
date |
None. |
ValidFrom |
The date when account are valid from. |
date |
None. |
ValidTo |
The date when account are valid to |
date |
None. |
FailedLogins |
Number of failed logins. |
integer |
None. |
AccountBlocked |
The value indicating whether account is blocked. |
boolean |
None. |
SkypeId |
The skype identifier. |
string |
None. |
GUID |
The unique identifier. |
globally unique identifier |
None. |
The email address |
string |
Required |
|
Status |
The status of the user. { Active, In-Active } |
string |
Required |
Request Formats
application/json
{ "Id": 1, "Username": "sample string 2", "Password": "sample string 3", "CreateDateTime": "2025-02-03T10:57:58.2995727+00:00", "ValidFrom": "2025-02-03T10:57:58.2995727+00:00", "ValidTo": "2025-02-03T10:57:58.2995727+00:00", "FailedLogins": 4, "AccountBlocked": true, "SkypeId": "sample string 6", "GUID": "5b6fd5b2-7329-4d2e-a7ce-60f670d44917", "Email": "sample string 7", "Status": "sample string 8" }
Response Information
Headers
Resource Description
Application Status - Result, Status code, Message
Application Accept - AA, 200, OK
Application Reject - AR, 400, Failed to update user
ResponseName | Description | Type | Additional information |
---|---|---|---|
Result |
Result of the response |
string |
None. |
Message |
Additional information of the response |
string |
None. |
Response Formats
application/json
{ "Result": "sample string 1", "Message": "sample string 2" }