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": "9174a56b-834e-41a2-ae45-1adfbf02636a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "43b19aa8-7a21-490f-ab9c-bf3f69d69d87",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a7822559-8d91-40ca-a016-db934fefb605",
"CreateDate": "2026-07-03T11:07:33.5800819-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-03T11:07:33.5800819-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "9a999059-54a2-485c-bba5-b034110992be",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "30c77ab6-9df0-4d87-ba75-3d40e701a59c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cd548b7c-ed87-4a88-85be-14126cb625dc",
"CreateDate": "2026-07-03T11:07:33.5800819-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-03T11:07:33.5800819-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "14e53285-374e-4617-aa30-5baeca94eeaf",
"FieldId": "5dc60f18-2daa-4ec0-9781-1ae68fada68c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "14e53285-374e-4617-aa30-5baeca94eeaf",
"FieldId": "5dc60f18-2daa-4ec0-9781-1ae68fada68c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-03T11:07:33.5800819-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7aa73f25-ab5f-4214-bde5-1c1984c85bb7",
"CreateDate": "2026-07-03T11:07:33.5800819-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-03T11:07:33.5800819-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": "9a7e176d-b882-4460-81d7-be9e35363c89",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1dc6ae8c-0ba6-4aa6-a801-5f5dd851f1e4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "884a52bd-0f90-47ee-91a8-e08b9552054e",
"CreateDate": "2026-07-03T11:07:33.5800819-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-03T11:07:33.5800819-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4494752e-1df3-4c28-81dd-c3d64ca93c0b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ff9dec16-1f44-4b6b-a0da-e626254f16b6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "095efbf0-81da-46c9-92ca-a657a826346a",
"CreateDate": "2026-07-03T11:07:33.5800819-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-03T11:07:33.5800819-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9489aafc-28a2-4f0f-8825-fca3e5f4f7be",
"FieldId": "2cfe6109-4cc8-4914-8a5f-66d8d7421d81",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9489aafc-28a2-4f0f-8825-fca3e5f4f7be",
"FieldId": "2cfe6109-4cc8-4914-8a5f-66d8d7421d81",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-03T11:07:33.5800819-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d3067b7a-3568-458d-9643-6bb6c6398aa9",
"CreateDate": "2026-07-03T11:07:33.5800819-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-03T11:07:33.5800819-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}