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": "004dd38b-b4c8-4257-9e7d-623ac37a8d92",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4691df6d-7611-44f0-b496-6e6c5e88c511",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "55cd6f84-07a7-44d4-bae2-b89166add580",
"CreateDate": "2026-05-03T19:48:58.2643061-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-03T19:48:58.2643061-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0b8a0dda-14c2-4eaf-978c-23bdafe69666",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "830a0a75-0f52-4ff3-981a-39f83550ebcc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "333fb434-7095-47c1-9ae9-9e9f5aaffaa9",
"CreateDate": "2026-05-03T19:48:58.2643061-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-03T19:48:58.2643061-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f1096f00-a447-481c-a968-4e4a1f989c4e",
"FieldId": "d08dbee2-55a0-475a-8f45-3a966921ec1b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f1096f00-a447-481c-a968-4e4a1f989c4e",
"FieldId": "d08dbee2-55a0-475a-8f45-3a966921ec1b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-03T19:48:58.2643061-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d3af938d-24f2-4a9f-973f-9a6203f755dd",
"CreateDate": "2026-05-03T19:48:58.2643061-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-03T19:48:58.2643061-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": "27e40cfa-e92a-48f0-a86e-e73a523e7e4f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1dc40d08-1137-4eee-ad64-ca302d48b914",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1ab6638f-e160-40ff-9d52-3786f5a55d4c",
"CreateDate": "2026-05-03T19:48:58.2643061-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-03T19:48:58.2643061-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "69b79847-5824-4887-996d-430bd2209823",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a45f0ce2-096c-4779-be4f-170feb19701e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4ed0f657-19e9-4264-bfcf-972deee1eca5",
"CreateDate": "2026-05-03T19:48:58.2643061-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-03T19:48:58.2643061-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "09d96fdd-0a9d-4b99-b437-796e8e80f9e7",
"FieldId": "6bed6108-1ab9-4fec-8022-f6803a8dcad0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "09d96fdd-0a9d-4b99-b437-796e8e80f9e7",
"FieldId": "6bed6108-1ab9-4fec-8022-f6803a8dcad0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-03T19:48:58.2643061-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7025dfef-94e2-434b-bd78-2da5bc932fae",
"CreateDate": "2026-05-03T19:48:58.2643061-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-03T19:48:58.2643061-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}