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": "08cec248-3f80-4c83-96d7-ee8fc3706e92",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "291054af-5dfc-434c-8107-8e326d3b7427",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "afe5e851-8451-4f1f-8ef4-268173b988de",
"CreateDate": "2026-10-30T04:07:20.4404877-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-30T04:07:20.4404877-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ffd833cb-fd75-48c8-9cce-ad9fcf8401ee",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4f77e77-466f-441d-9c79-c2d25bae32b2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "03cfd5d3-3d07-47d7-bb36-4bd51c999ba0",
"CreateDate": "2026-10-30T04:07:20.4404877-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-30T04:07:20.4404877-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6255fb27-c2ab-4cc2-87d1-b172ae0d90c0",
"FieldId": "2cb01001-4c1d-4181-9d70-f278c07c5bfc",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6255fb27-c2ab-4cc2-87d1-b172ae0d90c0",
"FieldId": "2cb01001-4c1d-4181-9d70-f278c07c5bfc",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-30T04:07:20.4404877-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7b14a3c5-2b12-4905-a1f9-52816c9280fd",
"CreateDate": "2026-10-30T04:07:20.4404877-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-30T04:07:20.4404877-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": "b3a9162f-d1e8-429a-8039-d5bfd47162bd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c1aa4ce3-e595-43eb-a8cf-18bbd608c7c2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "45655a82-22cc-480c-a247-1df8299d0849",
"CreateDate": "2026-10-30T04:07:20.4404877-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-30T04:07:20.4404877-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "8f6383fa-25c3-48f7-9b4b-9c53a1b0b848",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cb77a4ce-3312-4ea9-82b7-be49bf4acc8a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "efdbc7a8-5ef8-4c04-86a9-b467259a148d",
"CreateDate": "2026-10-30T04:07:20.4404877-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-30T04:07:20.4404877-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "474b19eb-8438-4e30-9654-bafb65b970d5",
"FieldId": "50b63646-1701-42cc-9020-6edaae46e9d3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "474b19eb-8438-4e30-9654-bafb65b970d5",
"FieldId": "50b63646-1701-42cc-9020-6edaae46e9d3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-30T04:07:20.4404877-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "67d585e3-2c2f-4b57-acbd-5b59af4d79ac",
"CreateDate": "2026-10-30T04:07:20.4404877-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-30T04:07:20.4404877-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}