POST MeasurementTypes
Creates a new measurement type.
Request Information
URI Parameters
None.
Body Parameters
The measurement type to create. MeasurementTypeId should not be filled in.
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": "146d80f0-d379-4e2d-bdd4-20bd02ab363a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e29c9bb0-fcbe-4791-9317-f3184ee03436",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "860703ba-c0a2-45b5-b833-a0a5b930b0dc",
"CreateDate": "2026-05-14T01:05:09.5198159-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-14T01:05:09.5198159-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "471497ce-70b6-45a4-ac0f-1c45c05b98eb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fb62b3a5-ea34-4901-a306-3099526087be",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "88b57c8f-4abe-42cf-9c18-66adb5fa646a",
"CreateDate": "2026-05-14T01:05:09.5198159-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-14T01:05:09.5198159-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "189738f0-38cc-4f42-934a-2f23fa7cad94",
"FieldId": "979f5d8a-91af-48cb-b9ec-f6c4567fc485",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "189738f0-38cc-4f42-934a-2f23fa7cad94",
"FieldId": "979f5d8a-91af-48cb-b9ec-f6c4567fc485",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-14T01:05:09.5198159-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "022869d8-9baa-430c-be46-2737b3f8b636",
"CreateDate": "2026-05-14T01:05:09.5198159-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-14T01:05:09.5198159-07:00",
"LastModifiedUser": "sample string 8"
}
Response Information
Resource Description
On success, the created 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": "06535d09-2901-4762-a356-c3a1094758a0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "211fdbb0-de1a-472b-bfbe-9ad84a91e34f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3c5c183c-8c6f-47bc-97e5-1abd0dbbb233",
"CreateDate": "2026-05-14T01:05:09.5198159-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-14T01:05:09.5198159-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "daa88a4f-b0d5-4d26-97d8-5d5a0ce61a90",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d528e80d-6cf4-4992-8eef-f299b83c5b24",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84342cd4-1685-45a0-a87f-eaff90f35a70",
"CreateDate": "2026-05-14T01:05:09.5198159-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-14T01:05:09.5198159-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ce3db4d5-a3f7-4c5d-913f-de3a91e38d63",
"FieldId": "749f33f0-1f93-47ce-9568-9cf563417d7f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ce3db4d5-a3f7-4c5d-913f-de3a91e38d63",
"FieldId": "749f33f0-1f93-47ce-9568-9cf563417d7f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-14T01:05:09.5198159-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ee81d39c-739f-41ba-8eef-99e3738f42bd",
"CreateDate": "2026-05-14T01:05:09.5198159-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-14T01:05:09.5198159-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}