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": "c4e4be95-e82d-49df-9cc0-839122812da8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0c0fd2a5-b5bc-4836-bcc2-4fc80ea5640f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bc9afb5a-2bea-42d0-a830-99d1fda94f74",
"CreateDate": "2026-01-12T08:09:59.0959245-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-12T08:09:59.0959245-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "9405d194-4872-4372-a8f6-fff03d6bd2b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3b284121-1e85-4c6e-9422-7f68497ff25b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e7f23d27-7af0-4b08-adc1-ca0aacc333c3",
"CreateDate": "2026-01-12T08:09:59.0959245-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-12T08:09:59.0959245-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d50cb17a-6339-4172-8405-865b5d4cd88d",
"FieldId": "ae2a0b7c-d52e-4a03-bb2c-0863e21d7a24",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d50cb17a-6339-4172-8405-865b5d4cd88d",
"FieldId": "ae2a0b7c-d52e-4a03-bb2c-0863e21d7a24",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-12T08:09:59.0959245-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2d4f6bd8-81ec-44c1-acc6-110e2c1ce0d0",
"CreateDate": "2026-01-12T08:09:59.0959245-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T08:09:59.0959245-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": "9d82db91-4ec0-41d9-ae74-4409d0f18b59",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "99f3d284-4792-4d0a-bc70-e34ab1a167c7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3c75c469-60aa-45ea-89a9-7170ed400381",
"CreateDate": "2026-01-12T08:09:59.0959245-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-12T08:09:59.0959245-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a69263e7-d92d-46a9-9d5f-808a269ab66b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5fb75768-4bd7-407d-b5af-51a6cbfc60eb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "522305ff-84f8-4711-8379-63a7930e9f31",
"CreateDate": "2026-01-12T08:09:59.0959245-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-12T08:09:59.0959245-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "36871459-90e2-4222-a7f1-c4860d81e5cf",
"FieldId": "9bbd7e51-466a-4024-ab4d-7c34599d2489",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "36871459-90e2-4222-a7f1-c4860d81e5cf",
"FieldId": "9bbd7e51-466a-4024-ab4d-7c34599d2489",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-12T08:09:59.0959245-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5f9822bf-56b1-4ec5-8356-fb09f61cda04",
"CreateDate": "2026-01-12T08:09:59.0959245-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T08:09:59.0959245-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}