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": "59659825-15e7-4269-998a-26e70bdaf668",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e49a6745-e69d-42b0-a3b0-3ed831f8a44a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0efafda4-3501-4449-929c-d47fa0069060",
"CreateDate": "2026-02-16T12:05:30.5971335-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-16T12:05:30.5971335-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "9010b3c2-8389-40cb-ab13-d886b93ad121",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5cd603cd-56de-48c6-99f8-d018809c739d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4c9cf233-6e77-4e75-afe7-0f2330acc4b4",
"CreateDate": "2026-02-16T12:05:30.5971335-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-16T12:05:30.5971335-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e1afa45e-c052-41c3-8f81-088a7113d962",
"FieldId": "233c9618-2812-426d-9429-8d50518fa80b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e1afa45e-c052-41c3-8f81-088a7113d962",
"FieldId": "233c9618-2812-426d-9429-8d50518fa80b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-16T12:05:30.5971335-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "78b271d9-4d61-472d-b5dd-616f58ff528f",
"CreateDate": "2026-02-16T12:05:30.5971335-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-16T12:05:30.5971335-08: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": "51072686-cbd1-4da3-8e24-319307e56c09",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "04419a56-f36b-41c1-9a99-1cf559078715",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "be0eef89-911f-4e15-8398-d881de66efc5",
"CreateDate": "2026-02-16T12:05:30.5971335-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-16T12:05:30.5971335-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "9aaf6b0f-cc2e-4864-9e56-1a52c882098b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ed2fbea4-86f2-4f32-90c2-0a4521ab92cb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "88da12dd-3c1b-4046-ab59-b44d34395a9e",
"CreateDate": "2026-02-16T12:05:30.5971335-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-16T12:05:30.5971335-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4f928600-2f5a-4377-b959-3c4453e99f04",
"FieldId": "b700775b-7535-4f0d-becd-e772322c19c5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4f928600-2f5a-4377-b959-3c4453e99f04",
"FieldId": "b700775b-7535-4f0d-becd-e772322c19c5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-16T12:05:30.5971335-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b09cf0e8-9fa9-4a39-9032-420f56b1146a",
"CreateDate": "2026-02-16T12:05:30.5971335-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-16T12:05:30.5971335-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}