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": "4d676b2a-fcd1-4f4e-9255-d05a0e1a689e", "Asset": { "AssetId": "9f57deb6-6a9e-4992-8fcf-4fd5fc096012", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e29ed0e3-cd50-41a3-9269-86fecd831ca6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "75c97bad-ea44-4f8f-98aa-d4778076b799", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "99497e72-bcb5-459d-a914-f6c68c0a8bf7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T13:15:06.2419345-07:00", "MeasurementValueNeededDate": "2025-05-08T13:15:06.2419345-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ab6c786f-7866-4819-90e2-e41abcb39211", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "634d0137-ff3a-453e-b6f4-e88f68493ec0", "EffectiveDate": "2025-05-08T13:15:06.2419345-07:00", "StateType": { "StateTypeId": "05aa2087-bfac-4945-bd0c-a2473905e1eb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e29ed0e3-cd50-41a3-9269-86fecd831ca6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "75c97bad-ea44-4f8f-98aa-d4778076b799", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "44326a80-5325-4ed8-ab16-e57f1d7e34ce", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "fa65fb64-28b9-450c-9abf-670da1534e5a", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "d7e5a343-f5b6-4916-bbcf-f744beafae0b", "EffectiveDate": "2025-05-08T13:15:06.2419345-07:00", "StatusType": { "StatusTypeId": "23ba5e9a-2d67-4ee8-9d75-3d79b93acef7", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e29ed0e3-cd50-41a3-9269-86fecd831ca6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "75c97bad-ea44-4f8f-98aa-d4778076b799", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "333b07e3-e1cf-4e77-9701-9a6af4f2aaec", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ffab8983-2575-4a10-815c-5b64be8ed724", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2ea1bbaf-ae78-4a30-b962-ad5bad92adb3", "EffectiveDate": "2025-05-08T13:15:06.2419345-07:00", "WellPurposeType": { "WellPurposeTypeId": "a6089a58-0ba3-40b2-864f-484064efab89", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f52d487e-0ca7-4aae-a7f4-851fb2e57757", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c3304328-76ba-4bce-8295-73e7c6186a8b", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T13:15:06.2419345-07:00", "MeasurementValueNeededDate": "2025-05-08T13:15:06.2419345-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9fafda3d-2223-48ba-b9d1-2fbf09153f0b", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "7070dfa3-ba77-4ac3-a2bd-c2ee67b34d25", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e29ed0e3-cd50-41a3-9269-86fecd831ca6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "75c97bad-ea44-4f8f-98aa-d4778076b799", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "574acb09-a436-4ddd-82c7-1c877a9a5dc1", "Name": "sample string 1" }, "Unit": { "UnitId": "51f46d36-e8cb-4107-9ca0-c1f22298d361", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "43274e09-e17c-4783-87e1-85f9eb96ab5d", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ea63323c-9eb8-485c-9581-8536451a6052", "FieldId": "a58681d7-7e82-4f40-b2f0-b4e75e26e8a6", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ea63323c-9eb8-485c-9581-8536451a6052", "FieldId": "a58681d7-7e82-4f40-b2f0-b4e75e26e8a6", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-08T13:15:06.2419345-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "afc0ae05-fc28-427a-b75c-23e78ca5b426", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-08T13:15:06.2419345-07:00", "LastValueDate": "2025-05-08T13:15:06.2419345-07:00", "SourceSystemId": "sample string 2", "CompanyId": "8e04b2ac-bc62-460b-b8cd-7e667fdf9e43", "CreateDate": "2025-05-08T13:15:06.2419345-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-08T13:15:06.2419345-07: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": "20535008-5c1d-4e13-970d-c44174ec9b5f", "Asset": { "AssetId": "d4bbaf48-1b03-4f30-aae4-733b21d838bc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5d5dd5e6-386c-492b-9787-d7d6e9b24a51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "16818832-7f38-480d-8fa6-ad9ccbdad801", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "3277660f-6a18-4a0c-96a0-b6b134645005", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T13:15:06.2575032-07:00", "MeasurementValueNeededDate": "2025-05-08T13:15:06.2575032-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6104141b-c8a9-415d-82dc-b520491cb701", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "7355a436-dcbd-4c8e-bc37-c8f7c187a131", "EffectiveDate": "2025-05-08T13:15:06.2575032-07:00", "StateType": { "StateTypeId": "bfa4483f-4eb1-40a9-a17b-71fdcbb0549d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5d5dd5e6-386c-492b-9787-d7d6e9b24a51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "16818832-7f38-480d-8fa6-ad9ccbdad801", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b7b4c3aa-219a-414c-a545-381e38a990a8", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "7da8afd0-cf80-4a22-b3c8-b4493a527e0f", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e1e108af-b07c-403e-9775-e572a0225365", "EffectiveDate": "2025-05-08T13:15:06.2575032-07:00", "StatusType": { "StatusTypeId": "1e7bb5cf-4443-4d78-9e39-7d25b7d52b72", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "5d5dd5e6-386c-492b-9787-d7d6e9b24a51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "16818832-7f38-480d-8fa6-ad9ccbdad801", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3d068d53-eef7-43b3-8ffd-ca196a86ae32", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "044048d1-c6f3-4895-8163-69a5c9327092", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b68860c8-5377-46bf-ae63-8a0548061280", "EffectiveDate": "2025-05-08T13:15:06.2575032-07:00", "WellPurposeType": { "WellPurposeTypeId": "a645be9b-45d6-4bbe-aa5a-cf31bb069038", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7628979-15fd-4372-ae44-d7898e7af5c9", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "48d5f067-870e-4dee-acef-68e337efd6e0", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T13:15:06.2575032-07:00", "MeasurementValueNeededDate": "2025-05-08T13:15:06.2575032-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b7f66314-1e8b-4f07-9352-6615a1d64eec", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "734058de-fc0c-4865-aa81-89e831f88ba8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5d5dd5e6-386c-492b-9787-d7d6e9b24a51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "16818832-7f38-480d-8fa6-ad9ccbdad801", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "7608b26c-cdd1-46eb-adf0-4db84e4a6aad", "Name": "sample string 1" }, "Unit": { "UnitId": "fba89626-99c6-4a29-83d2-7e494a734993", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "affbe848-0382-4932-ae5e-dec4e1222907", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "14628d86-1ada-4f84-8711-9c6ac6d57a5d", "FieldId": "26c1ec61-78df-465e-bf8d-bb47df93a693", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "14628d86-1ada-4f84-8711-9c6ac6d57a5d", "FieldId": "26c1ec61-78df-465e-bf8d-bb47df93a693", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-08T13:15:06.2575032-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ded10308-a2e0-4f94-8679-bc8d645d4e4f", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-08T13:15:06.2575032-07:00", "LastValueDate": "2025-05-08T13:15:06.2575032-07:00", "SourceSystemId": "sample string 2", "CompanyId": "7ec03831-144c-49e3-9b54-7ff573de5a98", "CreateDate": "2025-05-08T13:15:06.2575032-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-08T13:15:06.2575032-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }