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": "b072130e-e884-42f2-8cfd-3da45e1f4330",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ba842030-76c1-4135-ac3f-b338d3955428",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "21815aff-3f70-407a-8b4c-a73e9a13945d",
"CreateDate": "2026-03-24T03:13:00.7674421-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T03:13:00.7674421-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "03dc5525-6d4b-484b-aa99-d955e385cfd3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "999d6803-1224-4674-ac49-89d724c3d7ee",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f89d4c96-24ea-4a9f-838e-91c75d2eb4bc",
"CreateDate": "2026-03-24T03:13:00.7674421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T03:13:00.7674421-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cbfa5c1a-dac9-4e88-b4d2-3a39eecbcd42",
"FieldId": "afa6a00d-7a84-4a2e-914c-98d0788a88de",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cbfa5c1a-dac9-4e88-b4d2-3a39eecbcd42",
"FieldId": "afa6a00d-7a84-4a2e-914c-98d0788a88de",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-24T03:13:00.7674421-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "779d1037-eaef-4cc6-a419-9b24ac260109",
"CreateDate": "2026-03-24T03:13:00.7674421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T03:13:00.7674421-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": "67391795-8b35-4c03-add6-9481ab38b5ee",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "eee4f613-ff07-41b9-a303-2b9cc1a4c585",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ee4a7d08-18b7-41d1-ab9c-5e9a337476ac",
"CreateDate": "2026-03-24T03:13:00.7674421-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T03:13:00.7674421-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "1b938da4-fe8e-4111-9fa5-61f0e1ccbd9b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eab627b9-a4e5-4d17-b257-c2439a462d30",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4efffda1-5f0f-423e-ac0c-7e5f27378925",
"CreateDate": "2026-03-24T03:13:00.7674421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T03:13:00.7674421-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "075ea43e-5cf8-4fbe-9838-fc27f8218031",
"FieldId": "ebdc5022-26dc-4b57-a711-da5938fa7526",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "075ea43e-5cf8-4fbe-9838-fc27f8218031",
"FieldId": "ebdc5022-26dc-4b57-a711-da5938fa7526",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-24T03:13:00.7674421-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9012060d-789e-4528-b21d-800190c6f6bf",
"CreateDate": "2026-03-24T03:13:00.7674421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T03:13:00.7674421-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}