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": "73944252-f8d9-41c3-bca4-78865fe30d9a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dcc5b056-c27b-4329-8947-e80d795f4736",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f292e62b-47e1-4914-8592-5a0a4653b7e9",
"CreateDate": "2026-10-24T02:00:22.9934058-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-24T02:00:22.9934058-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4cc116ff-8c8b-4a74-9b4d-abb37b3bdc2a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bb740fea-bd3e-48b5-94e8-55c045ef7c52",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0b350231-7d17-423c-a967-f009d790cb50",
"CreateDate": "2026-10-24T02:00:22.9934058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-24T02:00:22.9934058-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2e611f88-ac6c-4067-b001-e6f290da7c9d",
"FieldId": "6f091a4d-1799-4f4e-8395-5ea1a66e26ca",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2e611f88-ac6c-4067-b001-e6f290da7c9d",
"FieldId": "6f091a4d-1799-4f4e-8395-5ea1a66e26ca",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-24T02:00:22.9934058-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "18f45823-8c4d-4edc-91e6-5da2cb88ec74",
"CreateDate": "2026-10-24T02:00:22.9934058-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-24T02:00:22.9934058-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": "af70b265-f93e-4fbb-8a7d-5649d46b94d6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e51df457-bf60-4ead-a69a-ff1160bffed6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cccec232-9a78-4d3f-83c8-be3837141845",
"CreateDate": "2026-10-24T02:00:22.9934058-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-24T02:00:22.9934058-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "1d2b71db-27f9-44d8-b2aa-1a03f50d2a5d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e536733c-1bdc-4ad1-a7c5-40cb0a1401ba",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6681d6d7-9428-468a-9912-a92c25ed5338",
"CreateDate": "2026-10-24T02:00:22.9934058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-24T02:00:22.9934058-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "463dfc36-b43b-46ee-854a-54451110ee40",
"FieldId": "cc142f46-cb87-4429-b69a-92072d60f391",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "463dfc36-b43b-46ee-854a-54451110ee40",
"FieldId": "cc142f46-cb87-4429-b69a-92072d60f391",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-24T02:00:22.9934058-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "92e5b7fd-7335-4477-9992-dbce4a8f1e78",
"CreateDate": "2026-10-24T02:00:22.9934058-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-24T02:00:22.9934058-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}