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": "e237d101-800e-43fd-bf17-ff3739fc85de",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0717bfee-794b-47ea-af58-e3a2dc45ab92",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3bdd6213-b896-48e4-a2c9-e450777b99a9",
"CreateDate": "2026-09-23T14:06:02.9394242-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-23T14:06:02.9394242-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "210747af-d764-4043-a6f1-1bc7633b8bed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7a6bf9d3-ab59-442e-83fd-33131f5fd19b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c4eed341-b9f4-4267-af07-32df0de1c0d3",
"CreateDate": "2026-09-23T14:06:02.9394242-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-23T14:06:02.9394242-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "56f725ef-e893-4be8-a0cc-25f7c1b15176",
"FieldId": "2941fe9c-c9bc-446e-99d3-101c674fbb48",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "56f725ef-e893-4be8-a0cc-25f7c1b15176",
"FieldId": "2941fe9c-c9bc-446e-99d3-101c674fbb48",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-23T14:06:02.9394242-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fc1aa2c0-3ff2-45f0-aa28-7be76111d532",
"CreateDate": "2026-09-23T14:06:02.9394242-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-23T14:06:02.9394242-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": "6dc85504-b87e-4d0a-af0e-e2ff2f746170",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e6f9a580-e0aa-478c-8218-2727dbf031d0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d1b89966-5b58-442f-a3a2-e1dc89352854",
"CreateDate": "2026-09-23T14:06:02.9863444-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-23T14:06:02.9863444-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "315089a0-3caa-44da-94c2-758bc04cde81",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4357f8bd-277a-42c7-9eee-1b70d5854a6f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "99921f9c-f372-4e43-bf37-96a9dcaa745f",
"CreateDate": "2026-09-23T14:06:02.9863444-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-23T14:06:02.9863444-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "76c61896-0a8c-445d-bff8-b50f31ae6020",
"FieldId": "46120b9e-7133-4002-95c8-818bf9e3d3ab",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "76c61896-0a8c-445d-bff8-b50f31ae6020",
"FieldId": "46120b9e-7133-4002-95c8-818bf9e3d3ab",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-23T14:06:02.9863444-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "31d0d22f-973c-46fe-a10a-8f551053fd47",
"CreateDate": "2026-09-23T14:06:02.9863444-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-23T14:06:02.9863444-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}