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": "4bc19eda-c223-4a5f-bd7d-9ce51ae21593",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ffa56723-f442-436b-a609-8a8b95c27731",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "82d75428-c72d-400b-86f0-4e5b0fe6869a",
"CreateDate": "2026-08-29T22:41:07.5136572-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T22:41:07.5136572-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "2ff6ec4b-bc5f-4f07-883c-c43314d194dd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cab0d2dd-5e41-47fa-98a4-29b83422ae41",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6e467b18-3aa4-447d-937d-cb85a56944f5",
"CreateDate": "2026-08-29T22:41:07.5136572-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T22:41:07.5136572-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6353bf37-0076-441c-8a93-2433faec928a",
"FieldId": "c64986db-8ed4-4d94-a66e-73e06fcd944d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6353bf37-0076-441c-8a93-2433faec928a",
"FieldId": "c64986db-8ed4-4d94-a66e-73e06fcd944d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-29T22:41:07.5136572-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d5146f30-c25d-4df7-b540-9d1ccf25179f",
"CreateDate": "2026-08-29T22:41:07.5136572-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-29T22:41:07.5136572-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": "dbbb6574-9134-49ee-a2ae-83b68611df0d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "96adbe08-20c0-4a03-a9b5-b0ac00730df2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "df167a41-6628-4615-b8d2-c14f7954084f",
"CreateDate": "2026-08-29T22:41:07.5136572-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T22:41:07.5136572-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "d925d79e-8e48-4330-b0ef-8a4f4819ac1b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "61e7fe82-ddfd-489f-afba-947161419e5c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6c0cc47e-8370-4867-bafe-ab8abcbdffee",
"CreateDate": "2026-08-29T22:41:07.5136572-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T22:41:07.5136572-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2829305b-5a20-4320-bd3e-55a00df3f87d",
"FieldId": "c8b68161-c390-46ef-a519-c6e15c2d2f20",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2829305b-5a20-4320-bd3e-55a00df3f87d",
"FieldId": "c8b68161-c390-46ef-a519-c6e15c2d2f20",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-29T22:41:07.5136572-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "63723209-fd4b-447e-a043-0320063d003e",
"CreateDate": "2026-08-29T22:41:07.5136572-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-29T22:41:07.5136572-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}