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": "d7547066-9820-46cf-ae49-ffbc144905bf",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d48a0d02-0447-421c-b454-fdea47d26820",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "77c2b878-e47a-4f6f-a82c-e76728710e6a",
"CreateDate": "2026-08-08T17:48:15.5031194-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-08T17:48:15.5031194-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "54d96ee8-3007-4c60-ab27-80e1ed080089",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b3a8a70d-0bd4-447e-8141-cb2c9997b082",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "080d3f62-5716-4db1-88fa-ad4c7832c306",
"CreateDate": "2026-08-08T17:48:15.5031194-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-08T17:48:15.5031194-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3e9e6d8f-2b9a-4da8-94d2-9a85e578b6dc",
"FieldId": "9248af32-96ca-4bb5-9bda-f5448b916222",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3e9e6d8f-2b9a-4da8-94d2-9a85e578b6dc",
"FieldId": "9248af32-96ca-4bb5-9bda-f5448b916222",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-08T17:48:15.5031194-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9b02ebc7-ba7d-4ed9-9539-0d83b5e35461",
"CreateDate": "2026-08-08T17:48:15.5031194-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-08T17:48:15.5031194-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": "7e0a14a9-ad92-4dc4-bf42-11c7411ced9d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9e8c0c16-bfb3-47bb-bbb4-611a114396d2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7d83588d-2f16-4c99-a6a9-cebe5524a300",
"CreateDate": "2026-08-08T17:48:15.5031194-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-08T17:48:15.5031194-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "bae03cd2-213e-46da-811f-4af33824dea7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "857912dd-fcbc-45bf-ba46-9a37d7c60d9d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e915328b-fc51-4dcd-980a-e9734c4b2d37",
"CreateDate": "2026-08-08T17:48:15.5031194-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-08T17:48:15.5031194-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5ca10e51-ac73-4b35-8080-85834ca9aca0",
"FieldId": "0e6780de-2927-451e-8847-8ce365d51178",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5ca10e51-ac73-4b35-8080-85834ca9aca0",
"FieldId": "0e6780de-2927-451e-8847-8ce365d51178",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-08T17:48:15.5031194-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bbd4e81c-0049-470b-a0ed-a079c3cb35d7",
"CreateDate": "2026-08-08T17:48:15.5031194-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-08T17:48:15.5031194-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}