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": "bd245589-bc92-494a-91ae-f49f7ecbf53b", "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": "67c3e5ee-6e83-4c17-b54e-21f7e8589e8b", "Teams": [ { "TeamId": "0a14ccf1-c8ee-4d45-abdf-9f5da7f7fac3", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "285e2554-32f1-4c80-bc04-02d4df9309ae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "MeasurementValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "SourceSystemId": "sample string 3", "CompanyId": "79432d7b-7b39-4685-b739-c6daea13a299", "CreateDate": "2024-12-08T22:47:31.154047-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T22:47:31.154047-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "285e2554-32f1-4c80-bc04-02d4df9309ae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "MeasurementValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "SourceSystemId": "sample string 3", "CompanyId": "79432d7b-7b39-4685-b739-c6daea13a299", "CreateDate": "2024-12-08T22:47:31.154047-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T22:47:31.154047-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "89335e7f-c682-493f-9010-8863f49a8c0a", "CreateDate": "2024-12-08T22:47:31.154047-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T22:47:31.154047-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "0a14ccf1-c8ee-4d45-abdf-9f5da7f7fac3", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "285e2554-32f1-4c80-bc04-02d4df9309ae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "MeasurementValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "SourceSystemId": "sample string 3", "CompanyId": "79432d7b-7b39-4685-b739-c6daea13a299", "CreateDate": "2024-12-08T22:47:31.154047-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T22:47:31.154047-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "285e2554-32f1-4c80-bc04-02d4df9309ae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "MeasurementValueNeededDate": "2024-12-08T22:47:31.154047-08:00", "SourceSystemId": "sample string 3", "CompanyId": "79432d7b-7b39-4685-b739-c6daea13a299", "CreateDate": "2024-12-08T22:47:31.154047-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T22:47:31.154047-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "89335e7f-c682-493f-9010-8863f49a8c0a", "CreateDate": "2024-12-08T22:47:31.154047-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T22:47:31.154047-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }