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": "876e6b0f-ecc0-4a42-8e52-371d5af98db9", "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": "c102e627-8a22-49d4-a5a0-63d8be5cc528", "Teams": [ { "TeamId": "0c1671af-9c46-41aa-8660-8c6b0eecfcdb", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "9c91396b-655d-46ce-9c45-1cb0445ea767", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "MeasurementValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b4425423-abf0-4a54-abad-9a9514f97ee4", "CreateDate": "2024-11-21T05:26:14.0786304-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:26:14.0786304-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "9c91396b-655d-46ce-9c45-1cb0445ea767", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "MeasurementValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b4425423-abf0-4a54-abad-9a9514f97ee4", "CreateDate": "2024-11-21T05:26:14.0786304-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:26:14.0786304-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "2823a579-61d9-4b23-bdbc-e78d7111a8e8", "CreateDate": "2024-11-21T05:26:14.0786304-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:26:14.0786304-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "0c1671af-9c46-41aa-8660-8c6b0eecfcdb", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "9c91396b-655d-46ce-9c45-1cb0445ea767", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "MeasurementValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b4425423-abf0-4a54-abad-9a9514f97ee4", "CreateDate": "2024-11-21T05:26:14.0786304-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:26:14.0786304-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "9c91396b-655d-46ce-9c45-1cb0445ea767", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "MeasurementValueNeededDate": "2024-11-21T05:26:14.0786304-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b4425423-abf0-4a54-abad-9a9514f97ee4", "CreateDate": "2024-11-21T05:26:14.0786304-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:26:14.0786304-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "2823a579-61d9-4b23-bdbc-e78d7111a8e8", "CreateDate": "2024-11-21T05:26:14.0786304-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:26:14.0786304-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }