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": "31aeb130-46ed-4610-b1b2-57843093dd7d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "eed94bc5-e105-4ff2-8a7c-f8c645de1fc0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f4e71857-a3fb-45d9-8098-93be0e1086c4",
"CreateDate": "2026-06-21T06:55:28.3123205-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-21T06:55:28.3123205-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "464462b6-e0ed-45fa-a05b-800705473a2f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cd55527c-8bef-4c95-a580-dcc2355744b1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f5af4a01-e0d3-4202-8fe1-a7082e3ef869",
"CreateDate": "2026-06-21T06:55:28.3123205-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-21T06:55:28.3123205-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d8dc54ac-a302-4c1f-8857-9def0952686d",
"FieldId": "3ba479e5-140c-405c-9bb9-a0fe6379193e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d8dc54ac-a302-4c1f-8857-9def0952686d",
"FieldId": "3ba479e5-140c-405c-9bb9-a0fe6379193e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-21T06:55:28.3123205-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a4e5ee3a-9d15-4186-96f6-1f600ac1980e",
"CreateDate": "2026-06-21T06:55:28.3123205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T06:55:28.3123205-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": "7910726c-c450-4cda-8630-e64ea46f16d5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "602833c9-4fc6-4251-a44f-b0ddbe04dc6e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8bc10949-f1fe-4aae-b3e0-a8069bd8662d",
"CreateDate": "2026-06-21T06:55:28.3123205-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-21T06:55:28.3123205-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "f3be1c5f-274f-475a-ae2f-6b711e8a6603",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b587bddc-4ef5-4e18-8edc-e09d1f1b1462",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "40e1feef-1e2e-49c6-916f-77a9be0cc542",
"CreateDate": "2026-06-21T06:55:28.3123205-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-21T06:55:28.3123205-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "05bc9f8e-3a8a-4256-9f4e-221c37ce81ce",
"FieldId": "475d1fcb-0e3b-40da-afd4-bccf510c0cb0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "05bc9f8e-3a8a-4256-9f4e-221c37ce81ce",
"FieldId": "475d1fcb-0e3b-40da-afd4-bccf510c0cb0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-21T06:55:28.3123205-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0d5a1de9-e6cf-4479-a24f-9a901f40b99b",
"CreateDate": "2026-06-21T06:55:28.3123205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T06:55:28.3123205-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}