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": "7b878d15-4167-474c-ba40-fdc6a34901df", "Asset": { "AssetId": "878cd0f1-abe7-4374-9d8b-49311f09b828", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f76d2db6-66b5-4930-80fb-2c4f3bb4fdda", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ee24c26f-d92f-40c4-8206-73bc97c6896e", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "8e10dafb-ee72-46fe-ac14-4bcf5660471f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T05:17:48.3735986-08:00", "MeasurementValueNeededDate": "2024-12-21T05:17:48.3735986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a3931cf2-87d7-4e62-9405-f21b658f10a8", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a3509127-806b-4867-97f4-5979f1ff22f5", "EffectiveDate": "2024-12-21T05:17:48.3735986-08:00", "StateType": { "StateTypeId": "6cb8c423-3f7e-4389-bb5c-c68299f6d173", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f76d2db6-66b5-4930-80fb-2c4f3bb4fdda", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ee24c26f-d92f-40c4-8206-73bc97c6896e", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "83f420cf-300b-4711-97ce-a940ed675de0", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9374435f-297d-4439-989f-ae459d28706c", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0a49650e-29d7-409d-b221-d285232b1a25", "EffectiveDate": "2024-12-21T05:17:48.3735986-08:00", "StatusType": { "StatusTypeId": "2efc0501-908f-4c14-9451-fb454b0f43fa", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f76d2db6-66b5-4930-80fb-2c4f3bb4fdda", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ee24c26f-d92f-40c4-8206-73bc97c6896e", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "437ac80b-49d1-4bde-9623-05c3b2811fca", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c289813e-ea68-4fd4-ad2e-e523c809eee6", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c406a9ee-9153-4867-9fed-74fb923230a2", "EffectiveDate": "2024-12-21T05:17:48.3735986-08:00", "WellPurposeType": { "WellPurposeTypeId": "db8daee3-d11f-4ec7-bd42-2ec298a28692", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6ca3f789-6f14-4915-8e6d-f05969aca2b7", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f2963739-462a-47bc-8a41-f1166166a96e", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T05:17:48.3735986-08:00", "MeasurementValueNeededDate": "2024-12-21T05:17:48.3735986-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "60434cef-7074-4289-b0c6-8ad29a97309f", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "f5209fcc-764f-43b5-96dc-cd9010e00da5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f76d2db6-66b5-4930-80fb-2c4f3bb4fdda", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ee24c26f-d92f-40c4-8206-73bc97c6896e", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "97547054-1ed2-4d24-bae1-b22f2c611f21", "Name": "sample string 1" }, "Unit": { "UnitId": "2742d42f-7e1e-4139-9410-7665ba3f2c2c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "584a6d40-4bd5-43fb-97c3-9382f6fd40cc", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d8a3de7e-753b-407e-804f-6e357cae0cd1", "FieldId": "92e40d16-f688-4943-8a84-40d912d6c284", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d8a3de7e-753b-407e-804f-6e357cae0cd1", "FieldId": "92e40d16-f688-4943-8a84-40d912d6c284", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T05:17:48.3735986-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d18d964a-30d3-494d-983e-68ebf7b09876", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3735986-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T05:17:48.3735986-08:00", "LastValueDate": "2024-12-21T05:17:48.3735986-08:00", "SourceSystemId": "sample string 2", "CompanyId": "2bdb6709-4c79-4687-9062-397278388a96", "CreateDate": "2024-12-21T05:17:48.3735986-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T05:17:48.3735986-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": "d5c7b70e-d608-4aaf-b9af-eeebeed24738", "Asset": { "AssetId": "7a0d2ff6-ff79-4094-8639-0e1d5a931ad3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f1016400-357c-4afb-967a-906a70664c4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "493dae95-81c5-4358-857a-b5d0c0697028", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "1cd53d24-9b5d-4e34-8672-62607b43dd4a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T05:17:48.3891748-08:00", "MeasurementValueNeededDate": "2024-12-21T05:17:48.3891748-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e74c9912-7f8a-4f58-a59a-8cf2a2a9fa5e", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "743949f6-b465-4670-aab5-d6f5bc3c9142", "EffectiveDate": "2024-12-21T05:17:48.3891748-08:00", "StateType": { "StateTypeId": "db3c689a-351b-4f77-927b-9a9a838de03f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f1016400-357c-4afb-967a-906a70664c4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "493dae95-81c5-4358-857a-b5d0c0697028", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4ec8cc66-7400-4c72-85e3-3aa0bceece6d", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "8b15f41c-56cd-444d-a152-068116728d37", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2967e7db-9c91-4162-a61c-5cca7e8adbd9", "EffectiveDate": "2024-12-21T05:17:48.3891748-08:00", "StatusType": { "StatusTypeId": "b1fdb1d9-aed8-4b79-a085-e6f13cc5477a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f1016400-357c-4afb-967a-906a70664c4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "493dae95-81c5-4358-857a-b5d0c0697028", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "520de5a5-1897-4b46-ae4e-dddb4991eb5b", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "131047df-619c-4d93-830f-b67d8c567710", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "556cc2aa-c093-4ede-8d24-dd06ed07298a", "EffectiveDate": "2024-12-21T05:17:48.3891748-08:00", "WellPurposeType": { "WellPurposeTypeId": "e8e91a16-c396-48d3-a604-d89fe2c4697f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e47a1fef-4617-4752-893c-596146f7bc3c", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3872d546-2e4c-43b4-944e-d1da78d9add6", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T05:17:48.3891748-08:00", "MeasurementValueNeededDate": "2024-12-21T05:17:48.3891748-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4423cbc9-8da3-438f-a913-e767c15c7fb8", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6e74b5d3-3b5b-4e39-93db-f94d99c538ea", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f1016400-357c-4afb-967a-906a70664c4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "493dae95-81c5-4358-857a-b5d0c0697028", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "653408ed-1ee6-4d09-b2b2-40fcbc35fb43", "Name": "sample string 1" }, "Unit": { "UnitId": "082a0152-50b4-4fd8-a85b-9c80afe207af", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "080b3084-54b9-4e4e-bba9-992c7bbec78c", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "37cb5167-81f9-4dfa-94cb-2f96d65b6424", "FieldId": "cad150e2-8235-40fb-8e04-96e3d0102cee", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "37cb5167-81f9-4dfa-94cb-2f96d65b6424", "FieldId": "cad150e2-8235-40fb-8e04-96e3d0102cee", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T05:17:48.3891748-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ea7d64c7-ed1c-460f-abb6-583480f430b2", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T05:17:48.3891748-08:00", "LastValueDate": "2024-12-21T05:17:48.3891748-08:00", "SourceSystemId": "sample string 2", "CompanyId": "475cb0d6-2077-4b6d-b748-adab2f518f7a", "CreateDate": "2024-12-21T05:17:48.3891748-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T05:17:48.3891748-08:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }