PUT MeasurementTypes
Updates the given measurement type.
Request Information
URI Parameters
None.
Body Parameters
The measurement type to update
MeasurementType| Name | Description | Type | Additional information |
|---|---|---|---|
| MeasurementTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| DataType | DataType |
None. |
|
| Unit | Unit |
None. |
|
| MinValue | decimal number |
None. |
|
| MaxValue | decimal number |
None. |
|
| MinLength | integer |
None. |
|
| MaxLength | integer |
None. |
|
| HasValidValues | boolean |
None. |
|
| ValidValues | Collection of ValidValue |
None. |
|
| FrequencyNeeded | integer |
None. |
|
| ValueNeededDate | date |
None. |
|
| IsAccumulator | boolean |
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:
{
"MeasurementTypeId": "d26a7613-6e4d-48c5-9f5d-09551e1b2364",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "168b939f-0e1b-461d-80b9-05c753aeb766",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2fd919dc-299e-4d97-936a-96f53b11a78a",
"CreateDate": "2026-10-01T01:23:47.9617127-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-01T01:23:47.9617127-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4caba389-a7b9-4648-8f78-268ae3d679ec",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e543cbc4-2db0-4aea-a3e9-f4c642569cc8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "32871ce3-c81f-4789-a2ff-bd79f4ffcf78",
"CreateDate": "2026-10-01T01:23:47.9617127-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-01T01:23:47.9617127-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e158b507-1461-4164-a7e0-9a91955b450b",
"FieldId": "b4e420fc-1f82-4c57-b240-0a98e8d77669",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e158b507-1461-4164-a7e0-9a91955b450b",
"FieldId": "b4e420fc-1f82-4c57-b240-0a98e8d77669",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-01T01:23:47.9617127-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5f7a5d49-ed83-46f8-a850-af6552127148",
"CreateDate": "2026-10-01T01:23:47.9617127-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-01T01:23:47.9617127-07:00",
"LastModifiedUser": "sample string 8"
}
Response Information
Resource Description
On success, the updated measurement type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | MeasurementType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"MeasurementTypeId": "76b65610-db6f-4b48-a411-c58fc610c403",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e81e718f-1d25-4893-8a98-b0b796981655",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ebfff927-9292-4834-8ffa-01bb1b5a2939",
"CreateDate": "2026-10-01T01:23:47.9617127-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-01T01:23:47.9617127-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "cda937dd-1048-42b2-8793-9be3ec2e837c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "366d4387-4a33-4549-88f1-1b13c8ae8428",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "936366d2-dfc6-46ce-8ec8-0bea62220b0d",
"CreateDate": "2026-10-01T01:23:47.9617127-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-01T01:23:47.9617127-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ea5a76f0-43b1-4643-8a83-30a8d67a015b",
"FieldId": "7a340f29-6a46-487d-b909-752a6d02584e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ea5a76f0-43b1-4643-8a83-30a8d67a015b",
"FieldId": "7a340f29-6a46-487d-b909-752a6d02584e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-01T01:23:47.9617127-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "70fbac76-7cb8-4cdc-a7af-b840d12206e1",
"CreateDate": "2026-10-01T01:23:47.9617127-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-01T01:23:47.9617127-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}