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": "260fef86-541d-4422-b9ad-20d9fd9e3d6c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "431c13cf-2d83-458d-a61b-a2f7d05b1cb0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9626dbec-028e-4818-ae53-6706bed5456c",
"CreateDate": "2026-06-02T15:56:30.0371093-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-02T15:56:30.0371093-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "df52fb48-fcff-42d4-91b1-af1f6d1f8e09",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "88aa8909-097c-4d7f-90c6-b2ef6da6489d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fedfc4c8-9e2d-49c5-b589-29bf57145bd4",
"CreateDate": "2026-06-02T15:56:30.0371093-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-02T15:56:30.0371093-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f184097f-908c-4426-9200-8c04140fda1f",
"FieldId": "de853ac7-127c-47f2-a545-fcc8a34bf038",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f184097f-908c-4426-9200-8c04140fda1f",
"FieldId": "de853ac7-127c-47f2-a545-fcc8a34bf038",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-02T15:56:30.0371093-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3f30461a-f12f-43bd-9e9d-58f7ceab8a1e",
"CreateDate": "2026-06-02T15:56:30.0371093-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-02T15:56:30.0371093-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": "eb824577-f15b-49bf-9846-c4790eeabbea",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "748ae11f-d11b-4b2a-8e27-29026806c142",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fd56a26e-fd76-4584-a85f-e715e694fef8",
"CreateDate": "2026-06-02T15:56:30.0371093-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-02T15:56:30.0371093-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0abec27a-2a30-4784-a5d2-014b57fbc345",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "188560e6-fdeb-4db7-bc7f-a9b7f9328954",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4769a794-435c-455b-9c12-4f0475053fc4",
"CreateDate": "2026-06-02T15:56:30.0371093-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-02T15:56:30.0371093-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "04a6445b-8454-4ab3-8832-04d9014bcbee",
"FieldId": "049b2c4a-a5a1-4cab-aa38-5530c036d9ff",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "04a6445b-8454-4ab3-8832-04d9014bcbee",
"FieldId": "049b2c4a-a5a1-4cab-aa38-5530c036d9ff",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-02T15:56:30.0371093-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "048ffd60-25a7-4d1e-8d7a-74ace5741532",
"CreateDate": "2026-06-02T15:56:30.0371093-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-02T15:56:30.0371093-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}