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": "34302d20-7879-4507-a0ff-9b9481c876e6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "49f0779c-1029-4010-9f89-81a6d783de39",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7b228e3a-f25e-4a9d-9e0e-b817cc3bb3db",
"CreateDate": "2026-04-10T14:47:03.0463377-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T14:47:03.0463377-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "2f51a768-0802-4056-98a5-8f10b28ba40d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9ee8dbdc-d76f-45e6-a2d5-576ee6762fff",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bf823f7d-7247-4fd1-807d-f28f7b10cc46",
"CreateDate": "2026-04-10T14:47:03.0463377-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T14:47:03.0463377-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "77d2fe15-c5aa-489b-beee-a733fd9074d3",
"FieldId": "dbcf8b23-fcdc-446c-99e6-99b17c2ca5e5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "77d2fe15-c5aa-489b-beee-a733fd9074d3",
"FieldId": "dbcf8b23-fcdc-446c-99e6-99b17c2ca5e5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T14:47:03.0463377-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5a29b22a-2d85-4495-97cd-72f7aaa6e7ab",
"CreateDate": "2026-04-10T14:47:03.0463377-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T14:47:03.0463377-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": "eb0026fb-0f19-45db-a298-f785cdc46f08",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b829d447-e79b-42f1-8943-a1d748684715",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a02ad3fd-e96f-46d8-917e-6a2fb9195fa3",
"CreateDate": "2026-04-10T14:47:03.0463377-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T14:47:03.0463377-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4a4b8a9e-da3d-4516-a972-3c6ae9c50a6f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "972cbc39-0e16-49b3-be9d-1212d0221dcb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d26b00f4-70cc-448e-b446-17e8a37bc6da",
"CreateDate": "2026-04-10T14:47:03.0463377-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T14:47:03.0463377-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c95e1d12-aae9-4a06-b051-f64ccd0d1bc2",
"FieldId": "7f0953ee-f409-4ddc-9e5e-7eca5d4c95dd",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c95e1d12-aae9-4a06-b051-f64ccd0d1bc2",
"FieldId": "7f0953ee-f409-4ddc-9e5e-7eca5d4c95dd",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T14:47:03.0463377-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3addd9ff-5ba2-4a67-8ba7-c4788844ef7c",
"CreateDate": "2026-04-10T14:47:03.0463377-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T14:47:03.0463377-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}