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": "f09c1519-12ea-4c11-bc67-94ef7c27546d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "47efc5d4-5e7f-4388-bb98-cc4ff55c68c1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b8325011-a009-476c-b4eb-6e209a7e0a63",
"CreateDate": "2026-10-14T15:40:16.5761757-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-14T15:40:16.5761757-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "64eb99e8-16f4-4e9c-8f19-ba9ce9391a7f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c5da3f21-c386-41a2-85f9-222f3e05a2e0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4276d7b9-d703-44ef-983a-3ebed0274275",
"CreateDate": "2026-10-14T15:40:16.5761757-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-14T15:40:16.5761757-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "976f15c4-55d7-4938-9423-e3413b7da3ed",
"FieldId": "b0253723-a96c-44ca-ad51-32f048862fb1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "976f15c4-55d7-4938-9423-e3413b7da3ed",
"FieldId": "b0253723-a96c-44ca-ad51-32f048862fb1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-14T15:40:16.5761757-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e71185a0-8ffb-444d-ad22-0d817e33b738",
"CreateDate": "2026-10-14T15:40:16.5761757-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-14T15:40:16.5761757-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": "3dd9025e-e593-49f0-b9e2-fe958ab7c488",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e6e2fee8-2f74-4e6c-b71e-db83fed10f2a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "29079413-fc67-4cdc-991c-071df5d64189",
"CreateDate": "2026-10-14T15:40:16.5761757-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-14T15:40:16.5761757-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "82de31c5-e504-437d-8ac9-9a5282943985",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "518293a7-915e-4038-9815-76d351887f7f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c7a4d5ff-9ae2-45a3-a51d-e3e46dba927b",
"CreateDate": "2026-10-14T15:40:16.5761757-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-14T15:40:16.5761757-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c97be8c9-6ae6-4c65-a7c5-a5fc83f35edf",
"FieldId": "ca0b8e3d-76fd-4eaa-bfe0-2d0d8b4a4075",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c97be8c9-6ae6-4c65-a7c5-a5fc83f35edf",
"FieldId": "ca0b8e3d-76fd-4eaa-bfe0-2d0d8b4a4075",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-14T15:40:16.5761757-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bd83c4ef-3183-46e7-a1d9-aa67ec5dc92f",
"CreateDate": "2026-10-14T15:40:16.5761757-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-14T15:40:16.5761757-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}