PUT AssetMeasurementTypes
Updates an asset measurement type.
Request Information
URI Parameters
None.
Body Parameters
AssetMeasurementTypeName | Description | Type | Additional 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": "0f69c342-ce03-4ecb-9265-3a4ee5d111f3", "Asset": { "AssetId": "6f34f162-6c37-4074-b9d7-0d6e702cfa25", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8bccf091-8b33-48ed-821d-a8ac5aea7bfa", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "895583a5-3f92-44d0-9e86-0d1285221010", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "122b4848-a84f-4bdf-b89b-f766107da72b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "SourceSystemId": "sample string 3", "CompanyId": "9e8afb8b-93a0-43f0-86ea-5f10c7e1b9a7", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "f61c7731-4b69-42c8-9bad-7a76c814e5c0", "EffectiveDate": "2024-11-21T05:29:00.7604732-08:00", "StateType": { "StateTypeId": "20dfb906-2c92-4001-be9a-cef625ddfa11", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8bccf091-8b33-48ed-821d-a8ac5aea7bfa", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "895583a5-3f92-44d0-9e86-0d1285221010", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "41c610db-f244-4d80-a89f-f741c4fdca91", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "360864de-0d82-41f3-9239-3b0df2a8023f", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "334ae6bf-8880-4757-95b8-91164f029428", "EffectiveDate": "2024-11-21T05:29:00.7604732-08:00", "StatusType": { "StatusTypeId": "f90bb723-6aa9-4f3a-9046-d58e3fc8e873", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "8bccf091-8b33-48ed-821d-a8ac5aea7bfa", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "895583a5-3f92-44d0-9e86-0d1285221010", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ef88560e-7b5a-4069-9afa-1860d6dcf953", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b11f1071-e2bd-4b79-9924-5f93ae20824d", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "1a2db84a-1181-44a8-9b13-fee85a7ef169", "EffectiveDate": "2024-11-21T05:29:00.7604732-08:00", "WellPurposeType": { "WellPurposeTypeId": "af8a288f-8cfc-4c55-a75e-e47a1468fb2d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4a873651-53ee-4234-a944-12527b64c4aa", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ca698c03-0107-4166-bd64-225fcfd2eae7", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0fd0dba1-7ae4-4aa0-b7ac-4a01167daedc", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6493e8f7-e12e-411f-b1b8-d2286b11bedd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8bccf091-8b33-48ed-821d-a8ac5aea7bfa", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "895583a5-3f92-44d0-9e86-0d1285221010", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "41241df4-1d62-4ba3-96c0-c3ed782c5f99", "Name": "sample string 1" }, "Unit": { "UnitId": "ef9b10f3-bc96-4f53-bfc5-715851edd712", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "856b6ada-4458-4cbf-899f-0c0780cce636", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "da7cd874-a1ce-416c-8059-e97e5b837fa1", "FieldId": "bc0651d3-35db-4c3f-b4a1-b6ea7252e2de", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "da7cd874-a1ce-416c-8059-e97e5b837fa1", "FieldId": "bc0651d3-35db-4c3f-b4a1-b6ea7252e2de", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "15eb3df5-1d46-4fbe-8650-4a1672e02d6a", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "LastValueDate": "2024-11-21T05:29:00.7604732-08:00", "SourceSystemId": "sample string 2", "CompanyId": "a9fec7c4-60bc-4613-b142-c93d27b90f3b", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 5" }
Response Information
Resource Description
On success, the updated asset measurement type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | AssetMeasurementType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetMeasurementTypeId": "4772891c-67f4-4d67-8496-037c6ebe4229", "Asset": { "AssetId": "b09323d4-1c47-4acb-b7b2-0ba6484458f1", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f809badb-1a59-405e-97fe-9f99d0e4c48b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bcb29ee7-f80c-42f3-8d03-1f896dec29c2", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "719b8ad1-5729-4920-8b46-d30926a66181", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5ed15b96-937c-4737-88a6-dbccaf029154", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "1bcf27a6-8138-4cdf-b049-aaa5ae3afbc5", "EffectiveDate": "2024-11-21T05:29:00.7604732-08:00", "StateType": { "StateTypeId": "395f6238-0556-4d63-80e2-428028f91b61", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f809badb-1a59-405e-97fe-9f99d0e4c48b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bcb29ee7-f80c-42f3-8d03-1f896dec29c2", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "fd98ba5d-37b2-4088-813a-e7c222ec34b5", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e5ee1a6d-0dae-4be3-b664-f46cf04a9abb", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "c7ea1222-d917-43ab-af4c-03da9e0059ee", "EffectiveDate": "2024-11-21T05:29:00.7604732-08:00", "StatusType": { "StatusTypeId": "180326bb-021a-4bd2-ae00-35ff8d1f865d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f809badb-1a59-405e-97fe-9f99d0e4c48b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bcb29ee7-f80c-42f3-8d03-1f896dec29c2", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3c16e4f9-8100-4f89-bdc4-7c7ff2702c09", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "085b3f94-608b-4ab5-8fa6-54a5c26c7bd2", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9b42cf81-e2f8-4450-86c9-ac5bc3e310c4", "EffectiveDate": "2024-11-21T05:29:00.7604732-08:00", "WellPurposeType": { "WellPurposeTypeId": "b66ec3aa-0761-401e-863a-43c93dac0d50", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7b1f7da8-6ca2-40e1-9346-62ba94d1bc32", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "18e0a1f9-70b7-4015-8c4e-1fcca7758a82", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a0c19886-9564-4c6d-8e9b-ede80a1c831d", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6e0a07c0-110b-4c17-9e16-8d9c85aefd39", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f809badb-1a59-405e-97fe-9f99d0e4c48b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bcb29ee7-f80c-42f3-8d03-1f896dec29c2", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "0d26b516-9209-49fc-a7cd-d9ffcbe4cc65", "Name": "sample string 1" }, "Unit": { "UnitId": "a227d247-791e-400e-8f47-cf114dba6c62", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8bca2cca-b6ae-428c-8750-73ce5d0ccb50", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1a5a6b3b-3939-43c4-a34b-53cb55ee2c41", "FieldId": "32037913-a690-4f5f-9f49-ad7233ab387a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1a5a6b3b-3939-43c4-a34b-53cb55ee2c41", "FieldId": "32037913-a690-4f5f-9f49-ad7233ab387a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "55cafbfd-415e-4256-b3d1-d801202771bf", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:29:00.7604732-08:00", "LastValueDate": "2024-11-21T05:29:00.7604732-08:00", "SourceSystemId": "sample string 2", "CompanyId": "55250a39-5ab9-4d9a-a898-a934e501de31", "CreateDate": "2024-11-21T05:29:00.7604732-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T05:29:00.7604732-08:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }