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": "25cd5f3e-1bce-4532-af57-0ec4adcd7f1b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8fbbc4e8-32f7-40a8-b420-ecb3678de90f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "408fe242-3915-4c70-bc03-2713f79fd8d4",
"CreateDate": "2026-10-27T02:49:41.3889296-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T02:49:41.3889296-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0fb0de36-35e2-4392-827c-a5f0f144ef54",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0ebc6007-98f3-4ab0-b297-c7d74f415987",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9e533695-5898-4435-a345-e92954f18773",
"CreateDate": "2026-10-27T02:49:41.3889296-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T02:49:41.3889296-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ca8c05df-3036-468f-9331-961e44909369",
"FieldId": "adbe649f-4caf-40ae-bc0c-34dc98798728",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ca8c05df-3036-468f-9331-961e44909369",
"FieldId": "adbe649f-4caf-40ae-bc0c-34dc98798728",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-27T02:49:41.3889296-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "732c84a9-c44d-42d3-97f0-24deeb8cebd6",
"CreateDate": "2026-10-27T02:49:41.3889296-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-27T02:49:41.3889296-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": "df0ef7a6-b23b-464a-b8d7-e0728039199e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0417db54-4d72-4417-b154-89678ebcdab9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f696d264-7297-4c9c-adb9-4a035a9c1e0d",
"CreateDate": "2026-10-27T02:49:41.4201789-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T02:49:41.4201789-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a23ace43-5595-45d5-ad2a-17dddc2aacd7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5782f010-607e-4590-afd4-2f3f0d25d36a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0d2c1381-f3df-415a-9f9a-ce5041574599",
"CreateDate": "2026-10-27T02:49:41.4201789-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T02:49:41.4201789-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c6be3be6-e165-462a-b0f2-9ac85c70bb5d",
"FieldId": "ef85d69d-0baf-4be5-b9f4-3f91c2de1853",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c6be3be6-e165-462a-b0f2-9ac85c70bb5d",
"FieldId": "ef85d69d-0baf-4be5-b9f4-3f91c2de1853",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-27T02:49:41.4201789-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f8580e91-0d9e-4caf-94a0-7c6307672556",
"CreateDate": "2026-10-27T02:49:41.4201789-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-27T02:49:41.4201789-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}