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": "ebd10174-a0b7-434b-8180-e90c460f7fb6", "Asset": { "AssetId": "bac4448a-55c8-4cc6-8ef6-f45ab82fa21b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0fd9cce0-de38-4664-92e3-4b8ba36ed68f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc5640ff-5988-4de1-b5ca-26c0cb65c5d0", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f3f7169e-fb34-4495-b0cb-4695f149e886", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "MeasurementValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "SourceSystemId": "sample string 3", "CompanyId": "a3914194-e664-49a8-8136-6e22aadacd52", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "b07d0c71-3738-4d0d-8c2e-980072413547", "EffectiveDate": "2025-04-17T04:19:57.2188305-07:00", "StateType": { "StateTypeId": "b1d75c35-a84e-4ede-9ca8-7ac6312289b1", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0fd9cce0-de38-4664-92e3-4b8ba36ed68f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc5640ff-5988-4de1-b5ca-26c0cb65c5d0", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7937ba36-b6a2-4117-a28e-60a609ecaea9", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "aef14761-955b-40a1-8260-11d4bf435f3b", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7a4bfb31-62e6-449c-b6e6-c565cc4bf1bb", "EffectiveDate": "2025-04-17T04:19:57.2188305-07:00", "StatusType": { "StatusTypeId": "af03e3b2-eaa7-4d41-8822-89a7d73398c3", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "0fd9cce0-de38-4664-92e3-4b8ba36ed68f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc5640ff-5988-4de1-b5ca-26c0cb65c5d0", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "925815c6-5787-4877-9df3-161b323a35c3", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7f45f45b-5358-4bc7-8843-9de08ed3442f", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "86fadbf5-3683-4232-8b58-f7b6e3d6e2c3", "EffectiveDate": "2025-04-17T04:19:57.2188305-07:00", "WellPurposeType": { "WellPurposeTypeId": "4d9860e6-9432-468d-9f72-0f9bfad74f6b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7292bee6-14ee-4b79-a49f-1a53411bc233", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "99cfa131-34f7-4bb2-9a81-fff2927d5f7b", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "MeasurementValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7f218938-6086-4e59-a41a-061101bfcb4e", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "efa40ddd-3cf5-4a8b-aea7-b96dce70a934", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0fd9cce0-de38-4664-92e3-4b8ba36ed68f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc5640ff-5988-4de1-b5ca-26c0cb65c5d0", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "2833f229-eac6-467a-ad2d-138131166666", "Name": "sample string 1" }, "Unit": { "UnitId": "61a0f469-0f22-4873-98a3-6c90d5d28c70", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c508ff05-615c-4981-b685-a6d78717aab0", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d8ede121-5e89-4a61-a707-0a254175847b", "FieldId": "23abbf3f-880c-40d2-8ff7-81654f590607", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d8ede121-5e89-4a61-a707-0a254175847b", "FieldId": "23abbf3f-880c-40d2-8ff7-81654f590607", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ef626108-c35a-4aa0-a3ae-8e0b8a9df749", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "LastValueDate": "2025-04-17T04:19:57.2188305-07:00", "SourceSystemId": "sample string 2", "CompanyId": "c2fc6884-ece3-4136-ab67-f29b547cf0c2", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-17T04:19:57.2188305-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": "985869a7-8b82-4df0-a065-c2f4f4c59a7d", "Asset": { "AssetId": "af1cf417-05fa-426d-a68c-a943931c2a6a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f5cb14e4-3b1f-4ee6-9823-eb388ab45dc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "58f1dd18-f38d-4887-9aa5-3afbb9c37f60", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "30fa3848-bcfb-40c8-b06f-caa1a180226b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "MeasurementValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "SourceSystemId": "sample string 3", "CompanyId": "808ac65b-4bf1-4a1a-8028-a11ffac815b9", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "677114fe-7ac4-4d7e-90ba-930f9fcda956", "EffectiveDate": "2025-04-17T04:19:57.2188305-07:00", "StateType": { "StateTypeId": "c3a9cba5-bd9e-4ebd-9e56-62180e3a8dc5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f5cb14e4-3b1f-4ee6-9823-eb388ab45dc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "58f1dd18-f38d-4887-9aa5-3afbb9c37f60", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "36aa7e95-c4cb-42b5-8dbd-2e6387e59c46", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f339a7db-e54c-48d8-9625-e733c54ac9f6", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7aac39b7-e7f8-4418-bf22-2965a29f32f8", "EffectiveDate": "2025-04-17T04:19:57.2188305-07:00", "StatusType": { "StatusTypeId": "3b441bbd-17c1-4adb-a069-f7fff7b0c612", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f5cb14e4-3b1f-4ee6-9823-eb388ab45dc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "58f1dd18-f38d-4887-9aa5-3afbb9c37f60", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "963f34f3-5e09-4e67-95fb-fd39c5c65912", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c1853fcb-0116-4be7-95fb-b1b344d05dcc", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a9fe959c-f2fb-4f3c-ba5c-43a1c4c66f0f", "EffectiveDate": "2025-04-17T04:19:57.2188305-07:00", "WellPurposeType": { "WellPurposeTypeId": "645f4957-c23e-4d5c-8ca0-bc3f2ad72770", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "95119162-1566-4b37-896e-6f0d2f993946", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "997e08be-7cc1-47f1-a6c6-ad6c1468b39f", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "MeasurementValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9b191cf0-7ab7-48cc-8619-10bd6b2c8bdc", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "3455f8cf-57dd-415b-9e68-348a0f51441a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f5cb14e4-3b1f-4ee6-9823-eb388ab45dc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "58f1dd18-f38d-4887-9aa5-3afbb9c37f60", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "bf83db9d-770a-4400-b15f-4b7d39c7d92c", "Name": "sample string 1" }, "Unit": { "UnitId": "9c4a87d7-bc50-4eda-b4fd-422656f8542c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ec38aef1-6b2d-4eec-9fe2-3dabc0d63e69", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5492eabc-9a4f-4a4e-ad0e-d2ec1bc3eeb7", "FieldId": "d6d20d5d-eae3-4eef-9347-4eb9fc786552", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5492eabc-9a4f-4a4e-ad0e-d2ec1bc3eeb7", "FieldId": "d6d20d5d-eae3-4eef-9347-4eb9fc786552", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "248f1334-65db-47e0-8f11-5d5d825b8c63", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-17T04:19:57.2188305-07:00", "LastValueDate": "2025-04-17T04:19:57.2188305-07:00", "SourceSystemId": "sample string 2", "CompanyId": "2a7a7cf0-f2b9-4425-a093-e4fbadaa4cd8", "CreateDate": "2025-04-17T04:19:57.2188305-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-17T04:19:57.2188305-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }