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": "c52a999e-879e-4cd2-a686-76c40e8e41c2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "13004799-2d87-49ea-aab3-6c32bf02f1ab",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c3984f17-703f-46a5-ad95-f5794eddb8d0",
"CreateDate": "2026-09-01T23:13:24.5988274-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-01T23:13:24.5988274-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "3ee0e248-930c-4bc3-aaa7-d776bc752304",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f3ab2f94-fd65-4914-ad64-9e50f6e79f0f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c03be5d9-8f2c-48ed-a33b-3a79fcd9e078",
"CreateDate": "2026-09-01T23:13:24.5988274-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-01T23:13:24.5988274-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "949ca35f-8a91-4682-918c-c98133141577",
"FieldId": "6995f8bf-b17e-4dcf-bc0d-9959ac6a8a99",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "949ca35f-8a91-4682-918c-c98133141577",
"FieldId": "6995f8bf-b17e-4dcf-bc0d-9959ac6a8a99",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-01T23:13:24.5988274-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "07c9aa02-881b-4728-988e-0568ccd99196",
"CreateDate": "2026-09-01T23:13:24.5988274-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-01T23:13:24.5988274-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": "d59d6e8b-3dc2-49e1-a06a-6ff963137f69",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "080ea04b-1d08-437f-aea5-61bcd6980346",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6f24c59b-0a36-4f63-8a74-18baa5734ca3",
"CreateDate": "2026-09-01T23:13:24.6144007-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-01T23:13:24.6144007-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ddcd0a5c-f88a-4524-80ef-fb9c4ecd8c8d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c3f475c6-b9d3-4ecb-8cdb-6f53e15c1477",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b2e80f6b-4d6b-4b01-800b-2ab533c94181",
"CreateDate": "2026-09-01T23:13:24.6144007-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-01T23:13:24.6144007-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "29b07325-0d02-48c5-abc3-4213464566ae",
"FieldId": "91008108-d1f3-4983-b635-30f9782228d8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "29b07325-0d02-48c5-abc3-4213464566ae",
"FieldId": "91008108-d1f3-4983-b635-30f9782228d8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-01T23:13:24.6144007-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5d6b8206-6617-4be7-9cff-b38a80ac04f4",
"CreateDate": "2026-09-01T23:13:24.6144007-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-01T23:13:24.6144007-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}