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": "a0ee685b-583a-4f09-bdbb-d4b48bc4eb5b", "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": "cc2d8a01-9f17-400d-b5dc-5fc20c5ef042", "Teams": [ { "TeamId": "2c71e3d6-e5cc-40fe-9adf-eecf649eb05e", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "67c591cc-828e-4bb4-91e0-1120e3179ff2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "MeasurementValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "SourceSystemId": "sample string 3", "CompanyId": "003cfa59-bb1e-4e57-95f1-527837347ddd", "CreateDate": "2024-12-21T19:11:16.5429355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:11:16.5429355-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "67c591cc-828e-4bb4-91e0-1120e3179ff2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "MeasurementValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "SourceSystemId": "sample string 3", "CompanyId": "003cfa59-bb1e-4e57-95f1-527837347ddd", "CreateDate": "2024-12-21T19:11:16.5429355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:11:16.5429355-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "de471fa1-f464-4f32-86b4-396bca04d02a", "CreateDate": "2024-12-21T19:11:16.5429355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:11:16.5429355-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "2c71e3d6-e5cc-40fe-9adf-eecf649eb05e", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "67c591cc-828e-4bb4-91e0-1120e3179ff2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "MeasurementValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "SourceSystemId": "sample string 3", "CompanyId": "003cfa59-bb1e-4e57-95f1-527837347ddd", "CreateDate": "2024-12-21T19:11:16.5429355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:11:16.5429355-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "67c591cc-828e-4bb4-91e0-1120e3179ff2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "MeasurementValueNeededDate": "2024-12-21T19:11:16.5429355-08:00", "SourceSystemId": "sample string 3", "CompanyId": "003cfa59-bb1e-4e57-95f1-527837347ddd", "CreateDate": "2024-12-21T19:11:16.5429355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:11:16.5429355-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "de471fa1-f464-4f32-86b4-396bca04d02a", "CreateDate": "2024-12-21T19:11:16.5429355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:11:16.5429355-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }