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": "16f0fe1e-d703-4fcb-ae85-5753a7fe49c4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ac1cb3a9-3a2c-4220-90ec-9c9fa265ac5a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "037464d1-6d8a-4e6b-a438-826acdc7b1c5",
"CreateDate": "2026-09-20T13:57:25.6530187-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-20T13:57:25.6530187-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "3ad805c8-ee7e-4bd8-a067-56196f1770e2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a94f023e-19c2-4bbe-8d6f-0d10d6618bed",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f28c0e0d-6be0-4dc3-a109-fde900b99731",
"CreateDate": "2026-09-20T13:57:25.6530187-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-20T13:57:25.6530187-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e38d92b8-170b-442b-a994-d25b37ac7777",
"FieldId": "e9186518-0cc4-49a6-9fab-d47db0751700",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e38d92b8-170b-442b-a994-d25b37ac7777",
"FieldId": "e9186518-0cc4-49a6-9fab-d47db0751700",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-20T13:57:25.6530187-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6d96659d-eb33-40f7-8057-b418a9fa4c1d",
"CreateDate": "2026-09-20T13:57:25.6530187-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-20T13:57:25.6530187-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": "bd812d4d-bd5b-4ed8-a328-dc6ccea45988",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "faabc710-cde6-4989-bfa6-410a6795be30",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8eec66cc-7e83-444b-8f4d-1b2c63e8d71b",
"CreateDate": "2026-09-20T13:57:25.6530187-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-20T13:57:25.6530187-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "11616684-7efb-4dd5-8803-e39b35b7200a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2d364320-d4a9-4ccf-9ebf-73f93aeb2714",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bae81add-2f7f-458a-acfe-e198578867cc",
"CreateDate": "2026-09-20T13:57:25.6530187-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-20T13:57:25.6530187-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "033d8d68-309b-4954-8109-d0bc1108486a",
"FieldId": "91fa2ffa-6c99-42d3-8d34-cde52c970a47",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "033d8d68-309b-4954-8109-d0bc1108486a",
"FieldId": "91fa2ffa-6c99-42d3-8d34-cde52c970a47",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-20T13:57:25.6530187-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fc5311a2-5dcb-4796-b134-11aab56827a4",
"CreateDate": "2026-09-20T13:57:25.6530187-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-20T13:57:25.6530187-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}