PUT Users

Updates the given user.

Request Information

URI Parameters

None.

Body Parameters

User to be updated

User
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

UserName

string

None.

FullName

string

None.

PhoneNumber

string

None.

Email

string

None.

IsLockedOut

boolean

None.

IsApproved

boolean

None.

Role

Role

None.

CompanyId

globally unique identifier

None.

Profiles

Collection of Profile

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "da0293f3-4ff6-4e9a-a16f-c08fb33d9e89",
  "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": "ef1f6ad2-0cca-4af0-a50d-0f6c3ec7a82c",
  "Profiles": [
    {
      "ProfileId": "59669f80-a4c7-4000-ba94-733a6d5687d2",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Users": [],
      "AssetGroups": [
        {
          "AssetGroupId": "da12a83e-f9d1-4e6c-9b65-88f596a9cab0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "311dbf9c-ca4d-4e24-9da5-65c0b9f74db7",
          "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
          "CreateUser": "sample string 5",
          "CreateMachine": "sample string 6",
          "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
          "LastModifiedUser": "sample string 7",
          "LastModifiedMachine": "sample string 8"
        },
        {
          "AssetGroupId": "da12a83e-f9d1-4e6c-9b65-88f596a9cab0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "311dbf9c-ca4d-4e24-9da5-65c0b9f74db7",
          "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
          "CreateUser": "sample string 5",
          "CreateMachine": "sample string 6",
          "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
          "LastModifiedUser": "sample string 7",
          "LastModifiedMachine": "sample string 8"
        }
      ],
      "SourceSystemId": "sample string 3",
      "CompanyId": "a714ce84-1952-40c6-b7ef-f0d82bcb5a19",
      "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    },
    {
      "ProfileId": "59669f80-a4c7-4000-ba94-733a6d5687d2",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Users": [],
      "AssetGroups": [
        {
          "AssetGroupId": "da12a83e-f9d1-4e6c-9b65-88f596a9cab0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "311dbf9c-ca4d-4e24-9da5-65c0b9f74db7",
          "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
          "CreateUser": "sample string 5",
          "CreateMachine": "sample string 6",
          "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
          "LastModifiedUser": "sample string 7",
          "LastModifiedMachine": "sample string 8"
        },
        {
          "AssetGroupId": "da12a83e-f9d1-4e6c-9b65-88f596a9cab0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "311dbf9c-ca4d-4e24-9da5-65c0b9f74db7",
          "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
          "CreateUser": "sample string 5",
          "CreateMachine": "sample string 6",
          "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
          "LastModifiedUser": "sample string 7",
          "LastModifiedMachine": "sample string 8"
        }
      ],
      "SourceSystemId": "sample string 3",
      "CompanyId": "a714ce84-1952-40c6-b7ef-f0d82bcb5a19",
      "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    }
  ]
}

Response Information

Resource Description

On success, the updated user.

NameDescriptionTypeAdditional information
Data

User

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "UserId": "1026d17c-755e-4e67-962a-fcaa4c56063b",
    "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": "7426b848-0692-4376-b7d8-6da56c729922",
    "Profiles": [
      {
        "ProfileId": "90425188-338a-461a-bd6c-e29feaa32786",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "b3274f01-a1b5-4902-a60e-f407c55414db",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f36766f2-9815-46d6-a648-b4186ef2c763",
            "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          },
          {
            "AssetGroupId": "b3274f01-a1b5-4902-a60e-f407c55414db",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f36766f2-9815-46d6-a648-b4186ef2c763",
            "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "6c35107d-eabf-4c82-86b7-9ea9e50e6b10",
        "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      {
        "ProfileId": "90425188-338a-461a-bd6c-e29feaa32786",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "b3274f01-a1b5-4902-a60e-f407c55414db",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f36766f2-9815-46d6-a648-b4186ef2c763",
            "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          },
          {
            "AssetGroupId": "b3274f01-a1b5-4902-a60e-f407c55414db",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "MeasurementValueNeededDate": "2021-04-17T08:31:49.1598691-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f36766f2-9815-46d6-a648-b4186ef2c763",
            "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
            "CreateUser": "sample string 5",
            "CreateMachine": "sample string 6",
            "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
            "LastModifiedUser": "sample string 7",
            "LastModifiedMachine": "sample string 8"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "6c35107d-eabf-4c82-86b7-9ea9e50e6b10",
        "CreateDate": "2021-04-17T08:31:49.1598691-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T08:31:49.1598691-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      }
    ]
  },
  "Total": 1,
  "Message": "sample string 1"
}