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": "5ee11ce1-c26e-463d-b04f-a055b964709a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "92cc1378-a543-4b3b-b3ff-304059f99f91",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "00c0bdbb-90f3-4102-9fbd-622616996391",
"CreateDate": "2026-05-20T20:50:47.1842767-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T20:50:47.1842767-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "72d76914-a3dd-4762-9dc2-68530f379afa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "20d7deb4-d717-4419-82cc-06148893fde2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "16202937-4c4b-49ba-b1c6-8d7891784c71",
"CreateDate": "2026-05-20T20:50:47.1842767-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T20:50:47.1842767-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d1a2d4da-e4d8-4b02-8027-c0b7ba32e177",
"FieldId": "5634fa12-db44-49d0-bcdb-92636bbbe3b4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d1a2d4da-e4d8-4b02-8027-c0b7ba32e177",
"FieldId": "5634fa12-db44-49d0-bcdb-92636bbbe3b4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-20T20:50:47.1842767-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b8c636da-4366-433d-b93a-4930c71b25fa",
"CreateDate": "2026-05-20T20:50:47.1842767-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T20:50:47.1842767-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": "6398d777-bcd1-4929-8690-f066f381be65",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6446caf3-08c5-4e08-87db-137e4186cff6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "46f5f41f-5d35-4cd4-b238-e7187d3f2b9f",
"CreateDate": "2026-05-20T20:50:47.1842767-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T20:50:47.1842767-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "9e1d220d-a142-48a9-9c61-34bc643d0cbd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fc70d2e7-a514-4f38-8bf6-3e3cd8741b2b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6d71c430-6160-4fb3-a5f6-2acc3cf78772",
"CreateDate": "2026-05-20T20:50:47.1842767-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T20:50:47.1842767-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f08fb019-2690-4781-91bb-70b6d72adce8",
"FieldId": "86b1344a-9ff3-4bf8-883d-ba628a85d36d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f08fb019-2690-4781-91bb-70b6d72adce8",
"FieldId": "86b1344a-9ff3-4bf8-883d-ba628a85d36d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-20T20:50:47.1842767-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "47a9238e-99b3-4eff-a69a-509db40c7526",
"CreateDate": "2026-05-20T20:50:47.1842767-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T20:50:47.1842767-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}