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": "d80ba900-3f16-4c7b-b10d-6c07d079a1ae", "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": "224b7c13-e2f9-4922-a49a-b6659eee57e7", "Teams": [ { "TeamId": "41fa6343-da1d-4ac2-9425-254cd0c11021", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "c10a24a2-7e26-4f78-8696-8d4f99038647", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "MeasurementValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6fec739d-40f1-45e5-9355-58501d765dc2", "CreateDate": "2025-01-30T16:42:35.772849-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:35.772849-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "c10a24a2-7e26-4f78-8696-8d4f99038647", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "MeasurementValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6fec739d-40f1-45e5-9355-58501d765dc2", "CreateDate": "2025-01-30T16:42:35.772849-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:35.772849-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "102adf16-aba4-4b07-9b35-b560b3144989", "CreateDate": "2025-01-30T16:42:35.772849-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:35.772849-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "41fa6343-da1d-4ac2-9425-254cd0c11021", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "c10a24a2-7e26-4f78-8696-8d4f99038647", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "MeasurementValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6fec739d-40f1-45e5-9355-58501d765dc2", "CreateDate": "2025-01-30T16:42:35.772849-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:35.772849-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "c10a24a2-7e26-4f78-8696-8d4f99038647", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "MeasurementValueNeededDate": "2025-01-30T16:42:35.772849-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6fec739d-40f1-45e5-9355-58501d765dc2", "CreateDate": "2025-01-30T16:42:35.772849-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:35.772849-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "102adf16-aba4-4b07-9b35-b560b3144989", "CreateDate": "2025-01-30T16:42:35.772849-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:35.772849-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }