GET Users?userId={userId}
Retrieves a user by their Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
Id of the user |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the user.
Name | Description | Type | Additional information |
---|---|---|---|
Data | User |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "UserId": "74c160fc-4dec-41e1-9e5b-7604bc5bdefc", "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": "7461bbc2-68ea-447d-aa6a-41989a1565d0", "Teams": [ { "TeamId": "2ff43180-573c-485d-998a-729d496070ac", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "bdc5c91e-2b05-4d54-868c-157a6cc0cc4d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "MeasurementValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fbf900bc-9e86-4be0-b963-403404eda40d", "CreateDate": "2024-12-22T03:03:38.6652128-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T03:03:38.6652128-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "bdc5c91e-2b05-4d54-868c-157a6cc0cc4d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "MeasurementValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fbf900bc-9e86-4be0-b963-403404eda40d", "CreateDate": "2024-12-22T03:03:38.6652128-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T03:03:38.6652128-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a0a73b65-20c4-46c0-a7e3-b9b95895c99f", "CreateDate": "2024-12-22T03:03:38.6652128-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T03:03:38.6652128-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "2ff43180-573c-485d-998a-729d496070ac", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "bdc5c91e-2b05-4d54-868c-157a6cc0cc4d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "MeasurementValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fbf900bc-9e86-4be0-b963-403404eda40d", "CreateDate": "2024-12-22T03:03:38.6652128-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T03:03:38.6652128-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "bdc5c91e-2b05-4d54-868c-157a6cc0cc4d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "MeasurementValueNeededDate": "2024-12-22T03:03:38.6652128-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fbf900bc-9e86-4be0-b963-403404eda40d", "CreateDate": "2024-12-22T03:03:38.6652128-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T03:03:38.6652128-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a0a73b65-20c4-46c0-a7e3-b9b95895c99f", "CreateDate": "2024-12-22T03:03:38.6652128-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T03:03:38.6652128-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }