GET Users?userId={userId}

Retrieves a user by their Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

Id of the user

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

On success, the user.

NameDescriptionTypeAdditional information
Data

User

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "UserId": "45909959-cfb9-4e0a-8281-724991edc94e",
    "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": "a039d32e-5942-4c99-9919-56c70a6020bd",
    "Teams": [
      {
        "TeamId": "08ccb453-63f9-4029-bcf5-5b3fe0e363d0",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "373cac78-d2d6-44c4-83fc-6731f7dfcf84",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "MeasurementValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "afeb920d-1352-4578-a3f7-50f267490120",
            "CreateDate": "2024-12-03T09:32:33.5900208-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-12-03T09:32:33.5900208-08:00",
            "LastModifiedUser": "sample string 6"
          },
          {
            "AssetGroupId": "373cac78-d2d6-44c4-83fc-6731f7dfcf84",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "MeasurementValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "afeb920d-1352-4578-a3f7-50f267490120",
            "CreateDate": "2024-12-03T09:32:33.5900208-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-12-03T09:32:33.5900208-08:00",
            "LastModifiedUser": "sample string 6"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "869d384b-0a31-4649-a83c-d6e50bc014d9",
        "CreateDate": "2024-12-03T09:32:33.5900208-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-03T09:32:33.5900208-08:00",
        "LastModifiedUser": "sample string 6"
      },
      {
        "TeamId": "08ccb453-63f9-4029-bcf5-5b3fe0e363d0",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "373cac78-d2d6-44c4-83fc-6731f7dfcf84",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "MeasurementValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "afeb920d-1352-4578-a3f7-50f267490120",
            "CreateDate": "2024-12-03T09:32:33.5900208-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-12-03T09:32:33.5900208-08:00",
            "LastModifiedUser": "sample string 6"
          },
          {
            "AssetGroupId": "373cac78-d2d6-44c4-83fc-6731f7dfcf84",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "MeasurementValueNeededDate": "2024-12-03T09:32:33.5900208-08:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "afeb920d-1352-4578-a3f7-50f267490120",
            "CreateDate": "2024-12-03T09:32:33.5900208-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-12-03T09:32:33.5900208-08:00",
            "LastModifiedUser": "sample string 6"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "869d384b-0a31-4649-a83c-d6e50bc014d9",
        "CreateDate": "2024-12-03T09:32:33.5900208-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-03T09:32:33.5900208-08:00",
        "LastModifiedUser": "sample string 6"
      }
    ]
  },
  "Total": 1,
  "Message": "sample string 1"
}