PUT AssetMeasurementTypes

Updates an asset measurement type.

Request Information

URI Parameters

None.

Body Parameters

AssetMeasurementType
NameDescriptionTypeAdditional information
AssetMeasurementTypeId

globally unique identifier

None.

Asset

Asset

None.

MeasurementType

MeasurementType

None.

Label

string

None.

MinValue

decimal number

None.

MaxValue

decimal number

None.

MinLength

integer

None.

MaxLength

integer

None.

FrequencyNeeded

integer

None.

ValueNeededDate

date

None.

LastValueDate

date

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetMeasurementTypeId": "da8394c1-2ec8-4548-b749-e95e5dca09ab",
  "Asset": {
    "AssetId": "ffebb368-fc2f-486e-aba9-b96e9afa24c1",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "f67f3b76-2578-40b3-b623-fb5c40987e6d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "30bb5b3e-8112-402c-a2ec-2f20003ce04c",
      "CreateDate": "2024-12-08T15:59:43.933987-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "c621d456-91c2-4a93-9617-34a6e899b294",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
      "MeasurementValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "8725a0ef-de04-4917-9b21-49794bb79f9b",
      "CreateDate": "2024-12-08T15:59:43.933987-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
    "MeasurementValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "e83420b7-17fd-41e7-a1be-76d6f7851566",
    "CreateDate": "2024-12-08T15:59:43.933987-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "MeasurementType": {
    "MeasurementTypeId": "77c213f9-5358-42d6-8b2d-515d39165679",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "f67f3b76-2578-40b3-b623-fb5c40987e6d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "30bb5b3e-8112-402c-a2ec-2f20003ce04c",
      "CreateDate": "2024-12-08T15:59:43.933987-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "DataType": {
      "DataTypeId": "b8366baa-c194-410e-accf-48f8d6066eff",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "3f676868-70d7-485f-a569-6dcecd0306f3",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "01f2c68d-5313-4fc0-a728-46e125f87b4f",
      "CreateDate": "2024-12-08T15:59:43.933987-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "HasValidValues": true,
    "ValidValues": [
      {
        "ValidValueId": "3feea6d0-3a56-4bcc-a3c7-978d18a9ffc7",
        "FieldId": "6d91b495-9a88-48fd-a7b6-6fb4901039b4",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      },
      {
        "ValidValueId": "3feea6d0-3a56-4bcc-a3c7-978d18a9ffc7",
        "FieldId": "6d91b495-9a88-48fd-a7b6-6fb4901039b4",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      }
    ],
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "f67af159-6ce5-41c2-ad8a-3cba241b7dd2",
    "CreateDate": "2024-12-08T15:59:43.933987-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Label": "sample string 1",
  "MinValue": 1.0,
  "MaxValue": 1.0,
  "MinLength": 1,
  "MaxLength": 1,
  "FrequencyNeeded": 1,
  "ValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
  "LastValueDate": "2024-12-08T15:59:43.933987-08:00",
  "SourceSystemId": "sample string 2",
  "CompanyId": "332879cb-85f6-40a6-8453-765df4c88b27",
  "CreateDate": "2024-12-08T15:59:43.933987-08:00",
  "CreateUser": "sample string 4",
  "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
  "LastModifiedUser": "sample string 5"
}

Response Information

Resource Description

On success, the updated asset measurement type.

NameDescriptionTypeAdditional information
Data

AssetMeasurementType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AssetMeasurementTypeId": "7e96c616-dc41-4803-820c-95b872644e93",
    "Asset": {
      "AssetId": "5213e803-252c-4711-93e0-20dd4ad88277",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "ff9d6476-efc7-4963-bbae-7801e420c173",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "6c2073fe-65d6-4228-a31e-c6309dc3cc05",
        "CreateDate": "2024-12-08T15:59:43.933987-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "AssetGroup": {
        "AssetGroupId": "fc3442d3-dc4a-424d-8871-2bb2d87b9ca5",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
        "MeasurementValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "b5b80acb-8e80-4918-aa33-da99960f9a3a",
        "CreateDate": "2024-12-08T15:59:43.933987-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
      "MeasurementValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "fe519962-e8ab-4c01-83ff-7a00e8e4ed68",
      "CreateDate": "2024-12-08T15:59:43.933987-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "MeasurementType": {
      "MeasurementTypeId": "2098610e-09cb-4ca7-ac54-83ec5af3ee3d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AssetType": {
        "AssetTypeId": "ff9d6476-efc7-4963-bbae-7801e420c173",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "6c2073fe-65d6-4228-a31e-c6309dc3cc05",
        "CreateDate": "2024-12-08T15:59:43.933987-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "DataType": {
        "DataTypeId": "50608525-a715-4796-9272-7831702aabe6",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "1599d71b-b8d1-4b7c-be7c-9eda15d49073",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "6a22268a-69e8-4f5f-9b63-de8fe0841ffa",
        "CreateDate": "2024-12-08T15:59:43.933987-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        {
          "ValidValueId": "4fd6796e-c7f4-4ee0-80dc-a4d6f852957e",
          "FieldId": "b8f9f244-1bc8-46b4-8bde-59025461eb14",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        },
        {
          "ValidValueId": "4fd6796e-c7f4-4ee0-80dc-a4d6f852957e",
          "FieldId": "b8f9f244-1bc8-46b4-8bde-59025461eb14",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        }
      ],
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
      "IsAccumulator": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "8efccab5-436e-4772-a2f0-98d3694017ab",
      "CreateDate": "2024-12-08T15:59:43.933987-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "Label": "sample string 1",
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-12-08T15:59:43.933987-08:00",
    "LastValueDate": "2024-12-08T15:59:43.933987-08:00",
    "SourceSystemId": "sample string 2",
    "CompanyId": "e14b8655-b097-4094-ae0f-3ac16309f9ba",
    "CreateDate": "2024-12-08T15:59:43.933987-08:00",
    "CreateUser": "sample string 4",
    "LastModifiedDate": "2024-12-08T15:59:43.933987-08:00",
    "LastModifiedUser": "sample string 5"
  },
  "Total": 1,
  "Message": "sample string 1"
}