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": "399bef0b-ec5c-472c-a8c3-c41f662e6215",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "47ec2ea5-f201-4827-9d41-158725e48e99",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "39b52fce-5f42-4db0-b0f1-5db01202e98a",
"CreateDate": "2026-09-08T00:43:09.4152859-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-08T00:43:09.4152859-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0582e91c-5935-4877-8b79-fb5ffbdd9026",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "06f8cfd0-3338-4c08-8653-958410bfbaf2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "77ec9fdb-b354-4a51-a77b-ed7cc4cffe57",
"CreateDate": "2026-09-08T00:43:09.4152859-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-08T00:43:09.4152859-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bb2e3b95-9a77-428b-a1cd-f7dcb750698b",
"FieldId": "6ff6df82-173b-44cc-bf78-d9467f5ce7c3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bb2e3b95-9a77-428b-a1cd-f7dcb750698b",
"FieldId": "6ff6df82-173b-44cc-bf78-d9467f5ce7c3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-08T00:43:09.4152859-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "12010228-ffe7-4b1a-b76c-87858ba52187",
"CreateDate": "2026-09-08T00:43:09.4152859-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-08T00:43:09.4152859-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": "5286e332-81d1-4ec6-a043-c5e19bb7ff31",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dd173609-6efa-44c4-a1b4-7c80053ed2e8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2bae1a18-7711-47dc-98d8-63770015e594",
"CreateDate": "2026-09-08T00:43:09.4152859-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-08T00:43:09.4152859-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "700e1118-f244-4b27-a06c-dc128ad9756c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "43a1bcb2-8d84-4d7b-b1a3-9066b16978cc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a3600234-01db-4ed8-8be0-a4ef0a834cc4",
"CreateDate": "2026-09-08T00:43:09.4152859-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-08T00:43:09.4152859-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c708888c-0074-4088-afb2-43e7e67a3b4c",
"FieldId": "5226e20a-7a56-4043-8d3d-fb8851c27623",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c708888c-0074-4088-afb2-43e7e67a3b4c",
"FieldId": "5226e20a-7a56-4043-8d3d-fb8851c27623",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-08T00:43:09.4152859-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b881a630-e903-4223-9ae2-0408d285937f",
"CreateDate": "2026-09-08T00:43:09.4152859-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-08T00:43:09.4152859-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}