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": "00830b50-11fe-4ca0-a0a9-50df3d0a905d", "Asset": { "AssetId": "06f60cb3-764e-4a0e-a086-f74f838c28fb", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "553541ff-6fa9-435a-98bf-c21daa8f0e7b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5ed42835-4700-4bd9-8f39-e58f36d2f5aa", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "8f69dae5-63f3-49c0-bc7b-e7635cc925c9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-12T12:40:04.2970731-07:00", "MeasurementValueNeededDate": "2025-07-12T12:40:04.2970731-07:00", "SourceSystemId": "sample string 3", "CompanyId": "50dda9c4-e934-47c1-b1c9-a1da28e85bb7", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "c6179e62-08fb-4f07-8d6b-ee3bab01c07d", "EffectiveDate": "2025-07-12T12:40:04.2970731-07:00", "StateType": { "StateTypeId": "4baf5b59-43d8-42ce-bddd-0199fa3fb19d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "553541ff-6fa9-435a-98bf-c21daa8f0e7b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5ed42835-4700-4bd9-8f39-e58f36d2f5aa", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "729d9769-1d09-4955-9935-1a712979a97e", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "6c6774cb-02c4-4c03-88de-4090026e0196", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "d3c568c9-e5eb-40ff-adf0-80e67ed5fb92", "EffectiveDate": "2025-07-12T12:40:04.2970731-07:00", "StatusType": { "StatusTypeId": "19752f57-d317-49ba-88c7-9ace720b7220", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "553541ff-6fa9-435a-98bf-c21daa8f0e7b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5ed42835-4700-4bd9-8f39-e58f36d2f5aa", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c63a77e8-531d-4e4e-9d82-ca3eee900166", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "da295dc8-a485-4900-842b-0e0ecd62e2ea", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "aadbd654-70f8-4d88-86d9-c113c5c70d88", "EffectiveDate": "2025-07-12T12:40:04.2970731-07:00", "WellPurposeType": { "WellPurposeTypeId": "5601e980-3c43-4751-9fe6-93554a9efb0f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "485ede26-d7e9-4780-884b-49459e28c07f", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "228a36d9-8379-4fb2-a2e8-cf3114d93ff4", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-12T12:40:04.2970731-07:00", "MeasurementValueNeededDate": "2025-07-12T12:40:04.2970731-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "edc2aac6-7c5c-4556-9dfa-dbba3b8df5c9", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6df7eb61-37c1-4647-b9c2-b8831e447d06", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "553541ff-6fa9-435a-98bf-c21daa8f0e7b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5ed42835-4700-4bd9-8f39-e58f36d2f5aa", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "dffa25ff-fc1b-4572-85ba-ca68f83e5d27", "Name": "sample string 1" }, "Unit": { "UnitId": "91f3e588-52d1-47c5-8885-eef75c057327", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2dbfe4d4-d32f-4d8a-9e68-d494d36062a8", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7360d693-2d7f-4171-8e97-0928a8ff956e", "FieldId": "c4a15c96-953c-4169-a45b-81d36e60165f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7360d693-2d7f-4171-8e97-0928a8ff956e", "FieldId": "c4a15c96-953c-4169-a45b-81d36e60165f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-12T12:40:04.2970731-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "1f9dfd69-b3fd-4557-89d0-cc2bd949e7c3", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.2970731-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-12T12:40:04.2970731-07:00", "LastValueDate": "2025-07-12T12:40:04.2970731-07:00", "SourceSystemId": "sample string 2", "CompanyId": "91428a24-7ff8-45dc-a64e-669a9e8b3bcb", "CreateDate": "2025-07-12T12:40:04.2970731-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-12T12:40:04.2970731-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": "f363a646-f4e8-41ed-bb05-849bafef215e", "Asset": { "AssetId": "d53e2dc6-6ebc-4d79-a884-7992b278f483", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4d9ee936-8f48-4426-a936-5576426dd975", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ea746bf3-e941-4d71-9b10-dc6f408c9e53", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e131a717-c995-4bf7-af2e-c8ffd008b002", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-12T12:40:04.3126378-07:00", "MeasurementValueNeededDate": "2025-07-12T12:40:04.3126378-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b2d5bc8a-ffe6-4b91-846e-230eb053ffda", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "b511c6aa-20eb-44de-b094-79921f4327f3", "EffectiveDate": "2025-07-12T12:40:04.3126378-07:00", "StateType": { "StateTypeId": "52740093-78e9-4108-9d9c-33714584e373", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "4d9ee936-8f48-4426-a936-5576426dd975", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ea746bf3-e941-4d71-9b10-dc6f408c9e53", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "e4d32713-221a-4051-9eca-1616faa8346e", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "5e9978f4-259f-408b-ba89-aebae4e4ef21", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "1612ed8b-e706-4e85-b45b-49b115cc4043", "EffectiveDate": "2025-07-12T12:40:04.3126378-07:00", "StatusType": { "StatusTypeId": "2fe24b0d-9f1e-483b-9221-0ba83d46b7e8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "4d9ee936-8f48-4426-a936-5576426dd975", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ea746bf3-e941-4d71-9b10-dc6f408c9e53", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3a3f234e-67bd-4525-aa88-f470abbb0adc", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ccef6786-8399-41ca-a7ec-3d1276f57be7", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "037e8793-509c-4d99-b2f1-a1bca61cfd84", "EffectiveDate": "2025-07-12T12:40:04.3126378-07:00", "WellPurposeType": { "WellPurposeTypeId": "c90c1513-398a-488a-bc9f-cdc9ffe8721f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "63b8b781-6ac4-478e-9308-d927ce1625b2", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "773c370f-c9a3-4433-af8b-eef4ab518636", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-12T12:40:04.3126378-07:00", "MeasurementValueNeededDate": "2025-07-12T12:40:04.3126378-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6308dcdc-6dde-40ab-86ed-383becc37787", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "78f926d8-e362-480a-997c-675094e486e0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4d9ee936-8f48-4426-a936-5576426dd975", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ea746bf3-e941-4d71-9b10-dc6f408c9e53", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "d4cf0aa7-3c8d-48f1-9c0b-c7c1f6a90076", "Name": "sample string 1" }, "Unit": { "UnitId": "64546e38-4166-4458-931b-3309da794a02", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f2722529-5101-48a0-93a6-72cf7136f8c1", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6bdc4a98-60b2-4ac2-81e9-f23d09b64b51", "FieldId": "f54f1898-3853-40b0-9f10-78d6eb19db8c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6bdc4a98-60b2-4ac2-81e9-f23d09b64b51", "FieldId": "f54f1898-3853-40b0-9f10-78d6eb19db8c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-12T12:40:04.3126378-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d1669793-d971-4c62-b060-a426eeb49075", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-12T12:40:04.3126378-07:00", "LastValueDate": "2025-07-12T12:40:04.3126378-07:00", "SourceSystemId": "sample string 2", "CompanyId": "36cbf57c-2bdf-44f0-92d2-6ecdb1e507f3", "CreateDate": "2025-07-12T12:40:04.3126378-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-12T12:40:04.3126378-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }