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": "33784792-b846-4c55-966a-003f31f50391",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4ab7155d-d920-45ab-91b6-dbbbcfb90188",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59de508b-43a4-4873-a101-81794165a369",
"CreateDate": "2026-08-11T22:23:46.1078063-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:46.1078063-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "470a3dff-9d17-4e10-a3b0-365ca4b6b5ea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "79e5aa68-d99c-4bc9-b499-15a0463d83f5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "183bdd03-c782-48f8-89bc-184828d9109d",
"CreateDate": "2026-08-11T22:23:46.1078063-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:46.1078063-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "099672b8-033e-4d8b-888f-b8ff73b1a1a8",
"FieldId": "2a2a0a18-f167-4b2a-bb0c-471c87e5bff6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "099672b8-033e-4d8b-888f-b8ff73b1a1a8",
"FieldId": "2a2a0a18-f167-4b2a-bb0c-471c87e5bff6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-11T22:23:46.1078063-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f1b6340c-28bb-40b4-9533-ca23c70dc1a2",
"CreateDate": "2026-08-11T22:23:46.1078063-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:46.1078063-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": "6e5f3e9a-2620-43f1-8c99-6a4895d79f33",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d89c8a59-0a1a-49e2-9371-3e03598d2405",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aac2accc-c7a1-441c-8fca-47a80068dcc4",
"CreateDate": "2026-08-11T22:23:46.1078063-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:46.1078063-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "83290253-d397-45c2-9339-80dffaabfdb7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5b71007e-59bd-40ce-b1c8-a31eca9964a8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "abf58ea1-e403-4608-98f1-ee987da31280",
"CreateDate": "2026-08-11T22:23:46.1078063-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:46.1078063-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1958871b-56dd-43d5-980d-e7db7c791af7",
"FieldId": "5aefcb41-bed5-44ca-b293-2b17b4d6fe4e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1958871b-56dd-43d5-980d-e7db7c791af7",
"FieldId": "5aefcb41-bed5-44ca-b293-2b17b4d6fe4e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-11T22:23:46.1078063-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "944e40e2-896b-4ade-bc7d-0a5d44bce9fb",
"CreateDate": "2026-08-11T22:23:46.1078063-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:46.1078063-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}