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": "39732f2f-0fa0-4971-9b59-6d05d84d67a8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "08fa7c68-a64b-44e3-a517-d897562893c1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4dda33bf-147c-44cb-aa94-e886fa18eb63",
"CreateDate": "2026-11-11T07:13:51.4101607-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-11T07:13:51.4101607-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "3d0aff18-acd6-478e-b016-9a65f54ecd2f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "77f86ecf-c8e8-4384-b28b-fa720dc4e290",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e25d3a63-1bd4-4fc8-b676-40e10429543f",
"CreateDate": "2026-11-11T07:13:51.4101607-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-11T07:13:51.4101607-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "68f52185-b45c-44f2-a90f-57d56690765f",
"FieldId": "8ae66743-1cff-4f92-8086-de6155a95773",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "68f52185-b45c-44f2-a90f-57d56690765f",
"FieldId": "8ae66743-1cff-4f92-8086-de6155a95773",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-11T07:13:51.4101607-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3d0378f0-233a-49c4-903e-53459d1fa97d",
"CreateDate": "2026-11-11T07:13:51.4101607-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-11T07:13:51.4101607-08: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": "853c09ee-7aa7-4cc1-9175-31e8391116ca",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "59fbf59f-beb1-4d86-a380-1d62c071e7b2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "39086c1d-cd7f-4355-be29-d99e27a39e95",
"CreateDate": "2026-11-11T07:13:51.4101607-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-11T07:13:51.4101607-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "928328a8-6845-4fce-8937-afa4ccc43eb5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0d256af3-cfdb-4429-bb36-145ba5ad1d58",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c7c57fe3-0858-438c-9f5b-d0d845b06d5b",
"CreateDate": "2026-11-11T07:13:51.4101607-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-11T07:13:51.4101607-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e982176a-2606-422d-88da-4295e615baca",
"FieldId": "6b14e535-d80d-4586-87f0-86e0d04d8b52",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e982176a-2606-422d-88da-4295e615baca",
"FieldId": "6b14e535-d80d-4586-87f0-86e0d04d8b52",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-11T07:13:51.4101607-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "55a70134-5778-45b0-a5fd-bf40b7c0f433",
"CreateDate": "2026-11-11T07:13:51.4101607-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-11T07:13:51.4101607-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}