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": "393fa23d-20e0-4572-9a88-51cca5da110e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "92ce56d5-cf3f-4040-bb60-d37e22ec9e9d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ec1e837e-14ff-4fd1-bc9a-6c50990f224a",
"CreateDate": "2026-11-17T09:33:07.9113861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-17T09:33:07.9113861-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "39366fb5-a7d3-460b-af18-ce0a6c7545e9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f76dacf1-2552-47c1-97b0-c4a829209bb2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b5c5f4d-49ae-4fb7-8e8a-74916411211c",
"CreateDate": "2026-11-17T09:33:07.9113861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-17T09:33:07.9113861-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "13ebad35-d58d-4a59-bd34-a71756dc8aa6",
"FieldId": "831f6017-3d60-45a7-b6a1-1c4bc2ec35b3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "13ebad35-d58d-4a59-bd34-a71756dc8aa6",
"FieldId": "831f6017-3d60-45a7-b6a1-1c4bc2ec35b3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-17T09:33:07.9113861-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dd9e8a5b-28aa-4eab-ae7f-bb47d5fd9648",
"CreateDate": "2026-11-17T09:33:07.9113861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T09:33:07.9113861-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": "d733bd4a-44ac-433e-ab1e-bb6277f0b676",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a774da13-62aa-42c2-94a2-6d896a6e28bb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0f212a9b-7358-4169-ba95-c85c4017c0c7",
"CreateDate": "2026-11-17T09:33:07.9113861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-17T09:33:07.9113861-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "2fb86b52-5890-4e08-aa79-de19d78bc471",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9c8256b2-359f-4eb5-9336-cf8c01caa7e1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "af7f08f3-6a12-4c61-aa5d-6e86f9176e9b",
"CreateDate": "2026-11-17T09:33:07.9113861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-17T09:33:07.9113861-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6dadd642-c501-4833-a663-174132c98305",
"FieldId": "7e7d0ff1-3df9-49e4-90f7-46a037a4510b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6dadd642-c501-4833-a663-174132c98305",
"FieldId": "7e7d0ff1-3df9-49e4-90f7-46a037a4510b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-17T09:33:07.9113861-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c8742d1b-f923-4260-a784-84a5b6c4a13e",
"CreateDate": "2026-11-17T09:33:07.9113861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T09:33:07.9113861-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}