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": "48e1a458-704d-470a-b58d-3e1937174e3a",
    "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": "bf7a6794-a0bc-4767-a50a-3d0c4a91bea9",
    "Profiles": [
      {
        "ProfileId": "c0b981d6-b08b-40d8-ba7f-ba510945b1f3",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "3f00089f-dd35-4a16-b33a-d43cd9560aa7",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "34c812d9-b6ed-4d62-8b83-40086e314071",
            "CreateDate": "2021-04-17T08:02:18.244387-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:02:18.244387-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          },
          {
            "AssetGroupId": "3f00089f-dd35-4a16-b33a-d43cd9560aa7",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "34c812d9-b6ed-4d62-8b83-40086e314071",
            "CreateDate": "2021-04-17T08:02:18.244387-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:02:18.244387-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "6483cad1-8c9a-4c43-b12b-2e8f4b744df0",
        "CreateDate": "2021-04-17T08:02:18.244387-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T08:02:18.244387-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      {
        "ProfileId": "c0b981d6-b08b-40d8-ba7f-ba510945b1f3",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "3f00089f-dd35-4a16-b33a-d43cd9560aa7",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "34c812d9-b6ed-4d62-8b83-40086e314071",
            "CreateDate": "2021-04-17T08:02:18.244387-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:02:18.244387-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          },
          {
            "AssetGroupId": "3f00089f-dd35-4a16-b33a-d43cd9560aa7",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:02:18.244387-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "34c812d9-b6ed-4d62-8b83-40086e314071",
            "CreateDate": "2021-04-17T08:02:18.244387-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:02:18.244387-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "6483cad1-8c9a-4c43-b12b-2e8f4b744df0",
        "CreateDate": "2021-04-17T08:02:18.244387-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T08:02:18.244387-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      }
    ]
  },
  "Total": 1,
  "Message": "sample string 1"
}