PUT Users
Updates the given user.
Request Information
URI Parameters
None.
Body Parameters
User to be updated
UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
UserName | string |
None. |
|
FullName | string |
None. |
|
PhoneNumber | string |
None. |
|
string |
None. |
||
IsLockedOut | boolean |
None. |
|
IsApproved | boolean |
None. |
|
Role | Role |
None. |
|
CompanyId | globally unique identifier |
None. |
|
Teams | Collection of Team |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "1c464eaf-0bf2-4cd5-a4ea-566329e8a510", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "b4f5f844-007e-4dca-a618-3ac260388ff8", "Teams": [ { "TeamId": "3192c7ac-31f9-4f89-a98f-d946bce71161", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "6912e6ff-923c-40df-9a4a-c25d858d3205", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d4cd2012-688a-4f5c-be19-7a2f23e3dea4", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "6912e6ff-923c-40df-9a4a-c25d858d3205", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d4cd2012-688a-4f5c-be19-7a2f23e3dea4", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "bf8005c9-8885-4993-97ba-fb6d6d3a17ed", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "3192c7ac-31f9-4f89-a98f-d946bce71161", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "6912e6ff-923c-40df-9a4a-c25d858d3205", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d4cd2012-688a-4f5c-be19-7a2f23e3dea4", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "6912e6ff-923c-40df-9a4a-c25d858d3205", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d4cd2012-688a-4f5c-be19-7a2f23e3dea4", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "bf8005c9-8885-4993-97ba-fb6d6d3a17ed", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" } ] }
Response Information
Resource Description
On success, the updated user.
Name | Description | Type | Additional information |
---|---|---|---|
Data | User |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "UserId": "4f0dd10c-9626-478d-b9eb-6fce454651b7", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "9a88c1f8-dbb5-4bb3-a8a2-3b0faabe8004", "Teams": [ { "TeamId": "4cbc3b62-100e-4dec-90f9-ec245b6af256", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fed67a33-6095-4155-873c-5de7bed469f6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c262bb21-68ee-4a25-8d79-2d0824b75c4f", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fed67a33-6095-4155-873c-5de7bed469f6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c262bb21-68ee-4a25-8d79-2d0824b75c4f", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "f57a76a2-8730-4040-ab96-45fefec28e5b", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "4cbc3b62-100e-4dec-90f9-ec245b6af256", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fed67a33-6095-4155-873c-5de7bed469f6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c262bb21-68ee-4a25-8d79-2d0824b75c4f", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fed67a33-6095-4155-873c-5de7bed469f6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "MeasurementValueNeededDate": "2024-11-22T21:20:37.1207256-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c262bb21-68ee-4a25-8d79-2d0824b75c4f", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "f57a76a2-8730-4040-ab96-45fefec28e5b", "CreateDate": "2024-11-22T21:20:37.1207256-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:20:37.1207256-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }