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": "86f94017-3e47-47e9-afb0-b1e8b592e992",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d2a4649d-ac19-4ea6-87cf-090d16650b42",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3b4a1281-01ae-43f8-8c6d-e23a2bafc593",
"CreateDate": "2026-07-06T00:20:41.1876725-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-06T00:20:41.1876725-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ddd5701e-0ab2-4798-b292-a0676161e9e5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8f5100f0-c024-40ad-8e59-41e66bb0a97e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6ed5d03b-75f8-4c6b-81e1-306bb7994a64",
"CreateDate": "2026-07-06T00:20:41.1876725-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-06T00:20:41.1876725-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "58fecbcd-7827-4706-bcf1-616747345089",
"FieldId": "10dd7b29-094f-450c-9c48-49ee96e0ad54",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "58fecbcd-7827-4706-bcf1-616747345089",
"FieldId": "10dd7b29-094f-450c-9c48-49ee96e0ad54",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-06T00:20:41.1876725-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "11be8849-97e2-4bfa-a073-aaf1eaaed14a",
"CreateDate": "2026-07-06T00:20:41.1876725-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-06T00:20:41.1876725-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": "cd72b419-ebf9-4f7b-8416-1fccd99f6893",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d47f5396-e6a6-4324-90bd-2af8831c1be1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2ad5b9d8-72c0-41e2-bbd6-2bf596998c53",
"CreateDate": "2026-07-06T00:20:41.1876725-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-06T00:20:41.1876725-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "bb9a4682-e804-427a-b6b7-31a169ef100d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "94bbece5-5be0-49d5-abbe-9a18882ec907",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4f44dc8a-4040-4c54-8d20-2868ac629eca",
"CreateDate": "2026-07-06T00:20:41.1876725-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-06T00:20:41.1876725-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b34a9d0-e38a-4d98-9da0-729b7e70c465",
"FieldId": "1f02507d-d89f-4382-9e64-9f6cd8f97f79",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b34a9d0-e38a-4d98-9da0-729b7e70c465",
"FieldId": "1f02507d-d89f-4382-9e64-9f6cd8f97f79",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-06T00:20:41.1876725-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3f6fb442-a8ba-432f-8feb-59dc6207e5e0",
"CreateDate": "2026-07-06T00:20:41.1876725-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-06T00:20:41.1876725-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}