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": "849dc51e-d18b-425b-9caf-3bb751029c97", "Asset": { "AssetId": "2e5f0f84-559c-4c13-8bf4-dd01720449e8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7849b10c-01cc-4358-9f49-167e13c2466c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b3f37470-44fc-4498-9637-433ec4b1c1ea", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a5a4e1aa-ec09-43ce-b6d8-f66851763e04", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-06-04T03:27:50.7473877-07:00", "MeasurementValueNeededDate": "2023-06-04T03:27:50.7473877-07:00", "SourceSystemId": "sample string 3", "CompanyId": "509b504f-bcc0-4018-993f-6f883709229f", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4f0a51f1-54f1-4258-abce-c46a25328b6b", "EffectiveDate": "2023-06-04T03:27:50.7473877-07:00", "StateType": { "StateTypeId": "fd725f44-3c01-4c4a-a4ba-4175eaae62f9", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7849b10c-01cc-4358-9f49-167e13c2466c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b3f37470-44fc-4498-9637-433ec4b1c1ea", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "5bbbaa39-2a78-42f4-a558-8fcaaf52a485", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d4e57d42-a524-4837-bd62-e3824cf26f78", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "6c244d28-575c-4b16-b564-f7eb69de3f5a", "EffectiveDate": "2023-06-04T03:27:50.7473877-07:00", "StatusType": { "StatusTypeId": "d2d0fc47-a59a-411b-b880-232afa8b5802", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7849b10c-01cc-4358-9f49-167e13c2466c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b3f37470-44fc-4498-9637-433ec4b1c1ea", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b38057be-0691-462f-bf91-53f03e282629", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "089f222a-cb4f-4341-aa5c-1418710a0398", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a733998e-75fa-4dd0-a838-cd4d205c7c9e", "EffectiveDate": "2023-06-04T03:27:50.7473877-07:00", "WellPurposeType": { "WellPurposeTypeId": "625e08b3-ae26-46cb-99bf-154c398e3ad0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0605629a-beb0-4919-8d64-907d034fb109", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4a0b2243-52ef-4bd0-9320-5ce17c939963", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2023-06-04T03:27:50.7473877-07:00", "MeasurementValueNeededDate": "2023-06-04T03:27:50.7473877-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9ea62636-633d-4049-aff7-a1b77e9425ca", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "c2740a96-62f9-4cd1-a8e5-c1f043711df2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7849b10c-01cc-4358-9f49-167e13c2466c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b3f37470-44fc-4498-9637-433ec4b1c1ea", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "0a83e350-9dc8-4da3-8348-bcdcf63dbc7d", "Name": "sample string 1" }, "Unit": { "UnitId": "3e9dd4c2-93f3-46c6-ba23-8ccb09f87dce", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b4c89139-87e5-4c38-ad80-b449497fbd9f", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2023-06-04T03:27:50.7473877-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "afced6b0-a40b-490a-b11a-323b49407147", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7473877-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2023-06-04T03:27:50.7473877-07:00", "LastValueDate": "2023-06-04T03:27:50.7473877-07:00", "SourceSystemId": "sample string 2", "CompanyId": "3cc3d886-683c-4fa7-817e-2a662c72f181", "CreateDate": "2023-06-04T03:27:50.7473877-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-06-04T03:27:50.7473877-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": "b5d042d3-1aca-4d28-8b8c-4114f25f78b5", "Asset": { "AssetId": "1306357c-f8bc-4fcc-9be4-d8319b12fa78", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "385f41b4-ee21-4ca6-9330-ddd1d1c60afb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "71a56639-90a7-4105-a171-e5a08e3872f9", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "13d92038-c7d0-40f9-980b-cc4d8cc7b3ab", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-06-04T03:27:50.7629566-07:00", "MeasurementValueNeededDate": "2023-06-04T03:27:50.7629566-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6853a0a4-a7e7-4aad-b237-62bfd0130eac", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "7f09acf3-2c8c-4ec8-b34e-1d1e4f51cafe", "EffectiveDate": "2023-06-04T03:27:50.7629566-07:00", "StateType": { "StateTypeId": "fd97be74-89a6-4416-93b3-7d7892c32cf5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "385f41b4-ee21-4ca6-9330-ddd1d1c60afb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "71a56639-90a7-4105-a171-e5a08e3872f9", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "dcfcb81d-40f7-451a-99a4-9da2dcdd36a7", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "002fd6b0-5952-48d0-8018-e0fda107f680", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e65d7db7-5efc-4c3f-b75a-6cc8c170a184", "EffectiveDate": "2023-06-04T03:27:50.7629566-07:00", "StatusType": { "StatusTypeId": "bc3cc44c-096d-413d-8998-74f569943732", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "385f41b4-ee21-4ca6-9330-ddd1d1c60afb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "71a56639-90a7-4105-a171-e5a08e3872f9", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "03275eda-faa0-4a65-915b-d9707ed20c4c", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6f680563-7365-4fcc-8d3c-1a3bfe1bba91", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4f18d17c-bbdc-4617-83dc-e709f9e3b2b0", "EffectiveDate": "2023-06-04T03:27:50.7629566-07:00", "WellPurposeType": { "WellPurposeTypeId": "8731a307-5a0f-40ca-80ea-0264456a807a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a7026d42-f629-4508-958f-30c3b77c80b0", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1bcf0731-177e-410a-9aae-26001de519e2", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2023-06-04T03:27:50.7629566-07:00", "MeasurementValueNeededDate": "2023-06-04T03:27:50.7629566-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9f78d60a-6b9c-44c2-a2c6-df05fc53b113", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "71b388ba-85f0-4b0c-bac1-2cea081ab05a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "385f41b4-ee21-4ca6-9330-ddd1d1c60afb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "71a56639-90a7-4105-a171-e5a08e3872f9", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "67a4419d-7b89-47af-9bb4-4964fd958b47", "Name": "sample string 1" }, "Unit": { "UnitId": "a48da10b-2a00-47a9-b529-3539aeaf98bf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5b8b6876-e79d-430d-b336-d1500f911253", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2023-06-04T03:27:50.7629566-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "07897eff-426c-4c2e-a0ae-3309b3fa5d62", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2023-06-04T03:27:50.7629566-07:00", "LastValueDate": "2023-06-04T03:27:50.7629566-07:00", "SourceSystemId": "sample string 2", "CompanyId": "24d3e67b-ca03-4fa5-8a40-a1d8a53a1345", "CreateDate": "2023-06-04T03:27:50.7629566-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-06-04T03:27:50.7629566-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }