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.

Teams

Collection of Team

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "23a801a1-647d-44e3-8674-4755b68aa312",
  "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": "5b9ca108-9a89-408d-ac73-de4db41de88c",
  "Teams": [
    {
      "TeamId": "5b5f8727-eea7-4507-820b-49a36671aaa3",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Users": [],
      "AssetGroups": [
        {
          "AssetGroupId": "5bf9dd47-69c3-4656-b225-77e43982f6c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d038aa9c-74b8-4879-8216-b184a590c2f9",
          "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
          "LastModifiedUser": "sample string 6"
        },
        {
          "AssetGroupId": "5bf9dd47-69c3-4656-b225-77e43982f6c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d038aa9c-74b8-4879-8216-b184a590c2f9",
          "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
          "LastModifiedUser": "sample string 6"
        }
      ],
      "SourceSystemId": "sample string 3",
      "CompanyId": "5965d060-ab55-4d39-8db3-f44303cd60e6",
      "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
      "LastModifiedUser": "sample string 6"
    },
    {
      "TeamId": "5b5f8727-eea7-4507-820b-49a36671aaa3",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Users": [],
      "AssetGroups": [
        {
          "AssetGroupId": "5bf9dd47-69c3-4656-b225-77e43982f6c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d038aa9c-74b8-4879-8216-b184a590c2f9",
          "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
          "LastModifiedUser": "sample string 6"
        },
        {
          "AssetGroupId": "5bf9dd47-69c3-4656-b225-77e43982f6c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d038aa9c-74b8-4879-8216-b184a590c2f9",
          "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
          "LastModifiedUser": "sample string 6"
        }
      ],
      "SourceSystemId": "sample string 3",
      "CompanyId": "5965d060-ab55-4d39-8db3-f44303cd60e6",
      "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
      "LastModifiedUser": "sample string 6"
    }
  ]
}

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": "23aa7d34-fc4f-4b72-bd9f-ac7b3ab92b65",
    "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": "4cf07f6b-6b89-4e1d-a086-0fab58da3fde",
    "Teams": [
      {
        "TeamId": "651af2e8-cd3f-492e-b45a-7016d45541da",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "8f6bf666-7d66-4703-9658-8c22e5553178",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "335eec54-662a-4163-b01f-de8e44fd4238",
            "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
            "LastModifiedUser": "sample string 6"
          },
          {
            "AssetGroupId": "8f6bf666-7d66-4703-9658-8c22e5553178",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "335eec54-662a-4163-b01f-de8e44fd4238",
            "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
            "LastModifiedUser": "sample string 6"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "fffcb6d4-c98b-4c5c-8cbd-762f4648a6a0",
        "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
        "LastModifiedUser": "sample string 6"
      },
      {
        "TeamId": "651af2e8-cd3f-492e-b45a-7016d45541da",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "Users": [],
        "AssetGroups": [
          {
            "AssetGroupId": "8f6bf666-7d66-4703-9658-8c22e5553178",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "335eec54-662a-4163-b01f-de8e44fd4238",
            "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
            "LastModifiedUser": "sample string 6"
          },
          {
            "AssetGroupId": "8f6bf666-7d66-4703-9658-8c22e5553178",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "ParentGroup": null,
            "DisplayOrder": 1,
            "FormValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "MeasurementValueNeededDate": "2024-10-10T15:24:30.0398335-07:00",
            "SourceSystemId": "sample string 3",
            "CompanyId": "335eec54-662a-4163-b01f-de8e44fd4238",
            "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
            "LastModifiedUser": "sample string 6"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "fffcb6d4-c98b-4c5c-8cbd-762f4648a6a0",
        "CreateDate": "2024-10-10T15:24:30.0398335-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-10-10T15:24:30.0398335-07:00",
        "LastModifiedUser": "sample string 6"
      }
    ]
  },
  "Total": 1,
  "Message": "sample string 1"
}