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": "d7844e9c-541e-4cbc-a6ae-2c367bde97d1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d6696844-1ffd-4bb2-9cf4-9f1b4d16675a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c5719eb6-b006-4680-b364-8278d8ccec3f",
"CreateDate": "2026-08-23T21:32:57.4878647-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-23T21:32:57.4878647-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "e2fa10f1-28bb-4e60-9600-e7f37af185db",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5c48517e-fee2-4f25-a40e-d2e85bb14461",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "520ddd77-0405-418a-bfe6-c8b1a9057afb",
"CreateDate": "2026-08-23T21:32:57.4878647-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-23T21:32:57.4878647-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5ee2a7ee-bb14-441a-b2e3-3311af50d7db",
"FieldId": "e383240f-6386-453a-8f40-058dda13bd69",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5ee2a7ee-bb14-441a-b2e3-3311af50d7db",
"FieldId": "e383240f-6386-453a-8f40-058dda13bd69",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-23T21:32:57.4878647-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "be69e6ac-a53b-4c1b-91e0-4a8f6e03e579",
"CreateDate": "2026-08-23T21:32:57.4878647-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-23T21:32:57.4878647-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": "342615d6-fc03-4274-b713-9b12bbde1000",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3fc6e0b8-4ed6-4bd8-b4ba-04cf71524780",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "479e224f-ce24-41ce-97bd-70551f0d7ac0",
"CreateDate": "2026-08-23T21:32:57.4878647-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-23T21:32:57.4878647-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "45b63fe7-e996-4754-bf16-3c6c68b7badf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a832b5a1-6268-4cb5-896b-c6872a81337d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "841e0be8-f008-40be-9b19-9bed86716ec5",
"CreateDate": "2026-08-23T21:32:57.4878647-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-23T21:32:57.4878647-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1fbad84a-5c30-475a-82a8-b6739e817578",
"FieldId": "89d1cace-135e-4e9b-80bf-72fc629ebcf3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1fbad84a-5c30-475a-82a8-b6739e817578",
"FieldId": "89d1cace-135e-4e9b-80bf-72fc629ebcf3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-23T21:32:57.4878647-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2ee076ef-495e-4d2a-a66f-d7636280a36d",
"CreateDate": "2026-08-23T21:32:57.4878647-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-23T21:32:57.4878647-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}