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": "e921dada-6e82-4284-be01-d17e09a9ed22",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6d41334b-6cad-42bc-952d-83e428d66831",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "51ce06e0-12b4-4984-986c-97648242fdd4",
"CreateDate": "2026-10-21T00:20:35.6118261-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-21T00:20:35.6118261-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "5cace305-0472-49f4-99e4-518b89463f6f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "94034b45-2c24-49ed-b024-124b6d82e535",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2d7fd682-4388-481a-85eb-b28bedf6302c",
"CreateDate": "2026-10-21T00:20:35.6118261-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-21T00:20:35.6118261-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b271951f-7306-493a-bafb-d127246c99af",
"FieldId": "bb685b8e-2fb5-4bb2-a113-90b4a37f06b9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b271951f-7306-493a-bafb-d127246c99af",
"FieldId": "bb685b8e-2fb5-4bb2-a113-90b4a37f06b9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-21T00:20:35.6118261-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cc312644-6587-489c-907e-46a513478c13",
"CreateDate": "2026-10-21T00:20:35.6118261-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-21T00:20:35.6118261-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": "f22d487d-9380-4361-8db4-fb6a45355207",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6951b7f6-7672-4267-b5e0-043b2c4ab347",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f43254da-b80e-4e35-985b-0568261feb64",
"CreateDate": "2026-10-21T00:20:35.6430603-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-21T00:20:35.6430603-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "8bda34c0-8cd1-47d3-bec9-172f6c2fabca",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dc892596-c334-45d3-80f1-036bd7fa1a4e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "22da0adf-89bb-4a91-90ad-91baa52d06fb",
"CreateDate": "2026-10-21T00:20:35.6430603-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-21T00:20:35.6430603-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5203cb26-9352-4133-bbdd-3804b5749d75",
"FieldId": "619d62db-10a6-4ab9-8bf7-4083d5e05023",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5203cb26-9352-4133-bbdd-3804b5749d75",
"FieldId": "619d62db-10a6-4ab9-8bf7-4083d5e05023",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-21T00:20:35.6430603-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7be797ce-c2e3-4467-a3fd-7ca54b481cf0",
"CreateDate": "2026-10-21T00:20:35.6430603-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-21T00:20:35.6430603-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}