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": "4bb0f7bf-e7ca-496d-8c10-f2acb0cd4f00",
  "Asset": {
    "AssetId": "b03455cf-1bcf-4df5-a52d-697045abd94d",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "5edec0a4-5f55-436a-b858-b983028cbc15",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "badc3982-7371-49ca-87f5-d910bb958dc4",
      "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "9c2186de-8158-4728-80d0-d3fcfc22e4e2",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-04-19T09:45:59.0259419-07:00",
      "MeasurementValueNeededDate": "2024-04-19T09:45:59.0259419-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "a1d3cd38-4911-4881-92b1-a79750abf362",
      "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "a960ef96-a7f9-403c-8c41-3f8519bcfed5",
      "EffectiveDate": "2024-04-19T09:45:59.0259419-07:00",
      "StateType": {
        "StateTypeId": "51530bfc-cec8-4283-8056-e5a8b04b9522",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "5edec0a4-5f55-436a-b858-b983028cbc15",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "badc3982-7371-49ca-87f5-d910bb958dc4",
          "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "a808e0f9-b549-45a2-9eab-60af2cec10c2",
        "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "524fa844-295b-4013-ad05-7187619a1be0",
      "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "2f035371-70bf-43f9-83f9-d71fa86be11a",
      "EffectiveDate": "2024-04-19T09:45:59.0259419-07:00",
      "StatusType": {
        "StatusTypeId": "4e07bb34-f700-4d53-bd93-975091eb1059",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "5edec0a4-5f55-436a-b858-b983028cbc15",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "badc3982-7371-49ca-87f5-d910bb958dc4",
          "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "86146199-f821-40f4-b3b4-fdb3adc74aa3",
        "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "ce3de9a7-42f6-4690-9c74-0c9d564899c1",
      "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "cd188a48-e3c2-400a-8d73-57e0d8615220",
      "EffectiveDate": "2024-04-19T09:45:59.0259419-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "10209d90-f971-4bad-ae8f-7db7f8af2d0a",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "cb26dcc9-0889-4f17-ba5c-3ce77b4d858c",
        "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "edc9f441-7164-4707-9335-e0bb9ba0fe5d",
      "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2024-04-19T09:45:59.0259419-07:00",
    "MeasurementValueNeededDate": "2024-04-19T09:45:59.0259419-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "855ed146-b59f-4bc0-84bf-cf88e4d02926",
    "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "MeasurementType": {
    "MeasurementTypeId": "47b5d8d5-bbcd-432b-aa3b-98e04044430a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "5edec0a4-5f55-436a-b858-b983028cbc15",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "badc3982-7371-49ca-87f5-d910bb958dc4",
      "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "DataType": {
      "DataTypeId": "5d4c4456-9a51-42ed-8321-f6679cdafb66",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "0495802f-275b-49aa-b43a-581ce9717357",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "f68d695f-aa60-4e3d-ab03-0286874e7309",
      "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "HasValidValues": true,
    "ValidValues": [
      "sample string 1",
      "sample string 2"
    ],
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-04-19T09:45:59.0259419-07:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "b1aa279f-48d2-4c77-9da5-a0ab1dd563cf",
    "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-04-19T09:45:59.0259419-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Label": "sample string 1",
  "MinValue": 1.0,
  "MaxValue": 1.0,
  "MinLength": 1,
  "MaxLength": 1,
  "FrequencyNeeded": 1,
  "ValueNeededDate": "2024-04-19T09:45:59.0259419-07:00",
  "LastValueDate": "2024-04-19T09:45:59.0259419-07:00",
  "SourceSystemId": "sample string 2",
  "CompanyId": "a0b5d76e-c680-418f-851e-00d94fc48a40",
  "CreateDate": "2024-04-19T09:45:59.0259419-07:00",
  "CreateUser": "sample string 4",
  "LastModifiedDate": "2024-04-19T09:45:59.0259419-07: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": "6d7ad52c-0efd-4d1c-8a58-64fcbcf4ed2f",
    "Asset": {
      "AssetId": "4e88a6f7-0ad9-4250-8e20-bc73591837dd",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "a7cd0f22-090b-4035-b063-489a687b7674",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "4be88a80-0909-48c8-92f1-15f4bfeda390",
        "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "AssetGroup": {
        "AssetGroupId": "91cab9ab-3ac9-4951-8cb4-40ae9a3482e0",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-04-19T09:45:59.1041666-07:00",
        "MeasurementValueNeededDate": "2024-04-19T09:45:59.1041666-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "92ce2409-f28a-4201-8414-5c6a3aacc4d6",
        "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "State": {
        "StateId": "249df1a7-0fa1-43cf-89d6-d61d75cbfa73",
        "EffectiveDate": "2024-04-19T09:45:59.1041666-07:00",
        "StateType": {
          "StateTypeId": "811a116b-c7f1-4d94-a91a-40b1befc669d",
          "Name": "sample string 1",
          "IsOperational": true,
          "AssetType": {
            "AssetTypeId": "a7cd0f22-090b-4035-b063-489a687b7674",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "4be88a80-0909-48c8-92f1-15f4bfeda390",
            "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 3",
          "CompanyId": "aa9162d7-ff08-4473-a383-df6dc4f9c097",
          "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "8707d2cf-d373-4150-8be1-fc63c2509fe1",
        "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
        "LastModifiedUser": "sample string 4"
      },
      "Status": {
        "StatusId": "c1523be9-c21a-4468-ba6c-fa116399ddb1",
        "EffectiveDate": "2024-04-19T09:45:59.1041666-07:00",
        "StatusType": {
          "StatusTypeId": "7bb861c8-16e8-4da6-a57f-a6df00c6f2d0",
          "Name": "sample string 1",
          "IsProducing": true,
          "IsInjecting": true,
          "AssetType": {
            "AssetTypeId": "a7cd0f22-090b-4035-b063-489a687b7674",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "4be88a80-0909-48c8-92f1-15f4bfeda390",
            "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 4",
          "CompanyId": "c6407bd7-1e81-4919-ab8f-fe7efb9f1606",
          "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "0a00b981-0552-408c-b1a3-95718efd9050",
        "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
        "LastModifiedUser": "sample string 4"
      },
      "WellPurpose": {
        "WellPurposeId": "500af673-3dad-44a8-8c70-61b97a4bc550",
        "EffectiveDate": "2024-04-19T09:45:59.1041666-07:00",
        "WellPurposeType": {
          "WellPurposeTypeId": "f44a72ba-1049-45e2-8983-d4e15971df7f",
          "IsProducer": true,
          "IsInjector": true,
          "Name": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "07dac29f-0e21-452b-96b6-6efee88f6b68",
          "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "ad24a8a1-af4a-4b15-8fc7-ec634851d1af",
        "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
        "LastModifiedUser": "sample string 4"
      },
      "FormValueNeededDate": "2024-04-19T09:45:59.1041666-07:00",
      "MeasurementValueNeededDate": "2024-04-19T09:45:59.1041666-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "4387045a-704c-4ee5-9395-4b238844338a",
      "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "MeasurementType": {
      "MeasurementTypeId": "0a1167fe-f715-4149-b4b0-288e51720a83",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AssetType": {
        "AssetTypeId": "a7cd0f22-090b-4035-b063-489a687b7674",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "4be88a80-0909-48c8-92f1-15f4bfeda390",
        "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "DataType": {
        "DataTypeId": "78772261-4812-4dbc-bcbb-82204fd6635e",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "d2e73635-75eb-4131-aafc-ec94cf1baf5f",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "c3a88e44-206f-4ce0-8183-8a5b4b61a7ba",
        "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        "sample string 1",
        "sample string 2"
      ],
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-04-19T09:45:59.1041666-07:00",
      "IsAccumulator": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "4651a2cf-86f2-4238-bee8-3ec8dc9dba79",
      "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "Label": "sample string 1",
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-04-19T09:45:59.1041666-07:00",
    "LastValueDate": "2024-04-19T09:45:59.1041666-07:00",
    "SourceSystemId": "sample string 2",
    "CompanyId": "62ac51d1-35f9-42fc-bf11-be115a67ffad",
    "CreateDate": "2024-04-19T09:45:59.1041666-07:00",
    "CreateUser": "sample string 4",
    "LastModifiedDate": "2024-04-19T09:45:59.1041666-07:00",
    "LastModifiedUser": "sample string 5"
  },
  "Total": 1,
  "Message": "sample string 1"
}