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": "b7b11b71-2f94-49cf-93fc-d9c3ccf33a71", "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": "c318d512-caf1-4867-bd12-538370c7956c", "Teams": [ { "TeamId": "20c7b8dd-39cd-4f68-8289-f51c7efd3ff4", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fac76401-6a55-4e39-8736-c918ee34cc50", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d7096b4c-ce07-4ad3-a455-b48092f86369", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fac76401-6a55-4e39-8736-c918ee34cc50", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d7096b4c-ce07-4ad3-a455-b48092f86369", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "b82d3ed2-0254-4ac7-8eeb-e87bd4d1b9a8", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "20c7b8dd-39cd-4f68-8289-f51c7efd3ff4", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fac76401-6a55-4e39-8736-c918ee34cc50", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d7096b4c-ce07-4ad3-a455-b48092f86369", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fac76401-6a55-4e39-8736-c918ee34cc50", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d7096b4c-ce07-4ad3-a455-b48092f86369", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "b82d3ed2-0254-4ac7-8eeb-e87bd4d1b9a8", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-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": "a66c2f35-56a2-4585-bff9-3dfd3ca7c08b", "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": "dd92d9c4-0b92-49a7-aa2a-8df52328aa36", "Teams": [ { "TeamId": "93a297b0-5848-440e-a539-c6dbc956c171", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "ae63b079-57dd-41f3-bcb5-788e7ebd8657", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "653312e8-d077-465c-8350-8f41dc499e33", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "ae63b079-57dd-41f3-bcb5-788e7ebd8657", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "653312e8-d077-465c-8350-8f41dc499e33", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "8d5d2bba-a3de-484e-b570-60774a6bb336", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "93a297b0-5848-440e-a539-c6dbc956c171", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "ae63b079-57dd-41f3-bcb5-788e7ebd8657", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "653312e8-d077-465c-8350-8f41dc499e33", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "ae63b079-57dd-41f3-bcb5-788e7ebd8657", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "MeasurementValueNeededDate": "2024-12-26T03:36:04.7098418-08:00", "SourceSystemId": "sample string 3", "CompanyId": "653312e8-d077-465c-8350-8f41dc499e33", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "8d5d2bba-a3de-484e-b570-60774a6bb336", "CreateDate": "2024-12-26T03:36:04.7098418-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:36:04.7098418-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }