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": "eb6aa9be-5db5-418d-803c-fb3c0a0faff4", "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": "c7bc18f4-7321-47b7-9ed7-7a822a6d6896", "Teams": [ { "TeamId": "a7851ba0-20f9-4847-afca-2be205b29743", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "617ed17c-dd33-46f2-803f-6c1717d33b8b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f8c420c9-b0f6-4cde-8db9-513685e1da46", "CreateDate": "2025-04-03T15:20:50.3506799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:20:50.3506799-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "617ed17c-dd33-46f2-803f-6c1717d33b8b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f8c420c9-b0f6-4cde-8db9-513685e1da46", "CreateDate": "2025-04-03T15:20:50.3506799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:20:50.3506799-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "0bfe7601-bd67-4745-a3c8-800688fad215", "CreateDate": "2025-04-03T15:20:50.3506799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:20:50.3506799-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "a7851ba0-20f9-4847-afca-2be205b29743", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "617ed17c-dd33-46f2-803f-6c1717d33b8b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f8c420c9-b0f6-4cde-8db9-513685e1da46", "CreateDate": "2025-04-03T15:20:50.3506799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:20:50.3506799-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "617ed17c-dd33-46f2-803f-6c1717d33b8b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:20:50.3506799-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f8c420c9-b0f6-4cde-8db9-513685e1da46", "CreateDate": "2025-04-03T15:20:50.3506799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:20:50.3506799-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "0bfe7601-bd67-4745-a3c8-800688fad215", "CreateDate": "2025-04-03T15:20:50.3506799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:20:50.3506799-07:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }