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.

DisplayOrder

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.

CreateMachine

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

LastModifiedMachine

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetMeasurementTypeId": "4286271a-be73-4ed8-84dd-812db92f4277",
  "Asset": {
    "AssetId": "0751c51a-fe2c-43d7-9d88-667c6203cc90",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "2e2f7a63-75f1-4dc3-8211-2334679ce0bd",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "1d70233f-dc7b-478e-a60f-02b87a20055a",
      "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
      "CreateUser": "sample string 6",
      "CreateMachine": "sample string 7",
      "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
      "LastModifiedUser": "sample string 8",
      "LastModifiedMachine": "sample string 9"
    },
    "AssetGroup": {
      "AssetGroupId": "98c0820c-49cd-4563-b2ec-7fc3d97a0696",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "5a98a28f-989d-48fb-9bc7-9f422be5b939",
      "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    },
    "ParentAsset": null,
    "WellKnownText": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
    "MeasurementValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "1a9021dc-e827-4393-9351-fe5f26506b03",
    "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
    "CreateUser": "sample string 7",
    "CreateMachine": "sample string 8",
    "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
    "LastModifiedUser": "sample string 9",
    "LastModifiedMachine": "sample string 10"
  },
  "MeasurementType": {
    "MeasurementTypeId": "e7325c98-b6bb-4519-bdc5-4c413c711939",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "2e2f7a63-75f1-4dc3-8211-2334679ce0bd",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "1d70233f-dc7b-478e-a60f-02b87a20055a",
      "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
      "CreateUser": "sample string 6",
      "CreateMachine": "sample string 7",
      "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
      "LastModifiedUser": "sample string 8",
      "LastModifiedMachine": "sample string 9"
    },
    "DataType": {
      "DataTypeId": "002c636b-26e4-432d-9a80-3f46e4181922",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "04e5d15c-f774-4bff-9d37-eb3458ef7a4b",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "f94f8239-835a-41bc-b509-fd011a0c8d69",
      "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    },
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "HasValidValues": true,
    "ValidValues": [
      "sample string 1",
      "sample string 2"
    ],
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "79b125e7-a860-4062-9f92-e73dde1a1990",
    "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
    "CreateUser": "sample string 7",
    "CreateMachine": "sample string 8",
    "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
    "LastModifiedUser": "sample string 9",
    "LastModifiedMachine": "sample string 10"
  },
  "Label": "sample string 1",
  "MinValue": 1.0,
  "MaxValue": 1.0,
  "MinLength": 1,
  "MaxLength": 1,
  "DisplayOrder": 1,
  "FrequencyNeeded": 1,
  "ValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
  "LastValueDate": "2021-04-17T06:37:53.6821429-07:00",
  "SourceSystemId": "sample string 2",
  "CompanyId": "12400be0-a143-453c-9a10-fc05922d58de",
  "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
  "CreateUser": "sample string 4",
  "CreateMachine": "sample string 5",
  "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
  "LastModifiedUser": "sample string 6",
  "LastModifiedMachine": "sample string 7"
}

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": "4d04c1db-8cba-4393-8958-83782021d9c3",
    "Asset": {
      "AssetId": "77f63e1a-c5c2-4095-b66b-baf226a95e8f",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "2f89b8b4-600a-4a02-a879-9dde80f5f567",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "e7b96a0b-4fe7-4b6b-b919-68d1cc8c58d6",
        "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
        "CreateUser": "sample string 6",
        "CreateMachine": "sample string 7",
        "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
        "LastModifiedUser": "sample string 8",
        "LastModifiedMachine": "sample string 9"
      },
      "AssetGroup": {
        "AssetGroupId": "555a47d9-40f7-43c9-be94-e12a9812f34c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
        "MeasurementValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "483d917f-2505-4b92-b774-8e6490ef12e4",
        "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      "ParentAsset": null,
      "WellKnownText": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "9b8ef2d2-15e8-42aa-8c2c-b0bef53acac9",
      "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
      "CreateUser": "sample string 7",
      "CreateMachine": "sample string 8",
      "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
      "LastModifiedUser": "sample string 9",
      "LastModifiedMachine": "sample string 10"
    },
    "MeasurementType": {
      "MeasurementTypeId": "95dad19a-1703-40c3-886a-38edd9383e49",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AssetType": {
        "AssetTypeId": "2f89b8b4-600a-4a02-a879-9dde80f5f567",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "e7b96a0b-4fe7-4b6b-b919-68d1cc8c58d6",
        "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
        "CreateUser": "sample string 6",
        "CreateMachine": "sample string 7",
        "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
        "LastModifiedUser": "sample string 8",
        "LastModifiedMachine": "sample string 9"
      },
      "DataType": {
        "DataTypeId": "ecca3755-1f75-48ee-b63a-d4dba7143e7a",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "dbec9f69-9015-409d-ad79-c0b975dd7a2d",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "336a04a7-fc02-4f77-bcdd-0516aadb5d05",
        "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        "sample string 1",
        "sample string 2"
      ],
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
      "IsAccumulator": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "56f1f9db-f956-400c-8f5a-e874c98f825d",
      "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
      "CreateUser": "sample string 7",
      "CreateMachine": "sample string 8",
      "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
      "LastModifiedUser": "sample string 9",
      "LastModifiedMachine": "sample string 10"
    },
    "Label": "sample string 1",
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "DisplayOrder": 1,
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2021-04-17T06:37:53.6821429-07:00",
    "LastValueDate": "2021-04-17T06:37:53.6821429-07:00",
    "SourceSystemId": "sample string 2",
    "CompanyId": "7b5ebdc6-d750-4f7c-9516-267f0feac044",
    "CreateDate": "2021-04-17T06:37:53.6821429-07:00",
    "CreateUser": "sample string 4",
    "CreateMachine": "sample string 5",
    "LastModifiedDate": "2021-04-17T06:37:53.6821429-07:00",
    "LastModifiedUser": "sample string 6",
    "LastModifiedMachine": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}