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": "1007c076-8016-4f07-9828-21d5662058de", "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": "30b8080b-93ad-46b9-875a-6fabfebe1d39", "Teams": [ { "TeamId": "6127d4cf-63cc-4824-a305-da84ecb4e9ca", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "191fb9d6-5996-4028-bbd9-555310a781a2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4920521f-0f54-4579-9b0e-d129743c50c6", "CreateDate": "2024-10-10T15:24:26.039804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:26.039804-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "191fb9d6-5996-4028-bbd9-555310a781a2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4920521f-0f54-4579-9b0e-d129743c50c6", "CreateDate": "2024-10-10T15:24:26.039804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:26.039804-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "36cfb32e-56b2-4ffb-9c4a-c3c4e225bd98", "CreateDate": "2024-10-10T15:24:26.039804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:26.039804-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "6127d4cf-63cc-4824-a305-da84ecb4e9ca", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "191fb9d6-5996-4028-bbd9-555310a781a2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4920521f-0f54-4579-9b0e-d129743c50c6", "CreateDate": "2024-10-10T15:24:26.039804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:26.039804-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "191fb9d6-5996-4028-bbd9-555310a781a2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:26.039804-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4920521f-0f54-4579-9b0e-d129743c50c6", "CreateDate": "2024-10-10T15:24:26.039804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:26.039804-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "36cfb32e-56b2-4ffb-9c4a-c3c4e225bd98", "CreateDate": "2024-10-10T15:24:26.039804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:26.039804-07:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }