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": "a70bb5af-7659-43c6-b248-ce752fb77c94", "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": "4fe02c59-0f52-432c-96ae-03b41ca19963", "Teams": [ { "TeamId": "2ee003ee-42ec-4715-85a8-66e1d67c6eff", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "7244c93d-d3b3-40a7-bbfd-7245bf69e48a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3e5d6ca4-c428-4706-8f41-76713b631567", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "7244c93d-d3b3-40a7-bbfd-7245bf69e48a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3e5d6ca4-c428-4706-8f41-76713b631567", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "545b22e9-1db1-4f14-bdb0-a5426454b40c", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "2ee003ee-42ec-4715-85a8-66e1d67c6eff", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "7244c93d-d3b3-40a7-bbfd-7245bf69e48a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3e5d6ca4-c428-4706-8f41-76713b631567", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "7244c93d-d3b3-40a7-bbfd-7245bf69e48a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3e5d6ca4-c428-4706-8f41-76713b631567", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "545b22e9-1db1-4f14-bdb0-a5426454b40c", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-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": "2468f762-ab6b-4f07-afe5-30c030f541da", "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": "f6c36adf-de83-4c5f-877d-f1eafc6f0600", "Teams": [ { "TeamId": "c2a3dfdc-8df3-4718-a223-a3ee8018b911", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "f25975a3-6dce-4ee5-926e-263718f2c54d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cfecbbda-c9d6-4d40-a27b-ebe32a68fca8", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "f25975a3-6dce-4ee5-926e-263718f2c54d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cfecbbda-c9d6-4d40-a27b-ebe32a68fca8", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "69401fc0-fb58-4837-8dfa-9653fcfe1641", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "c2a3dfdc-8df3-4718-a223-a3ee8018b911", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "f25975a3-6dce-4ee5-926e-263718f2c54d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cfecbbda-c9d6-4d40-a27b-ebe32a68fca8", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "f25975a3-6dce-4ee5-926e-263718f2c54d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "MeasurementValueNeededDate": "2024-11-22T15:12:46.7810385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cfecbbda-c9d6-4d40-a27b-ebe32a68fca8", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "69401fc0-fb58-4837-8dfa-9653fcfe1641", "CreateDate": "2024-11-22T15:12:46.7810385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:12:46.7810385-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }