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": "3c0b4ab3-8f5c-4480-9667-b3630472421c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c7f45371-cc14-4099-9fc6-4baca40656c3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e6d17618-99fc-49c6-abff-f22bdcb6da54",
"CreateDate": "2026-12-05T15:54:08.4359474-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-05T15:54:08.4359474-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "61f715af-9d15-49c1-8f70-0c7ac572e756",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "95e48b16-5523-4c2f-aa8e-7a1e1f0b9016",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b2de59a-3f2c-41ab-bc8b-c9bb12555dac",
"CreateDate": "2026-12-05T15:54:08.4359474-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-05T15:54:08.4359474-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "30f8bf04-7c08-4d89-8ff6-238afd2e00c4",
"FieldId": "6e1b586e-8d5f-47a3-b173-26b80952764d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "30f8bf04-7c08-4d89-8ff6-238afd2e00c4",
"FieldId": "6e1b586e-8d5f-47a3-b173-26b80952764d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-12-05T15:54:08.4359474-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fa51058e-4d65-4729-b314-cca1d4ceebb5",
"CreateDate": "2026-12-05T15:54:08.4359474-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-05T15:54:08.4359474-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": "67981ebb-5bef-4756-94d4-62de64e01480",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "191b3319-9e08-411a-a90f-fab12fea8a60",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "921fd706-24f9-47f5-b712-7773d2a12bf6",
"CreateDate": "2026-12-05T15:54:08.4515681-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-05T15:54:08.4515681-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "bc41c43d-4929-4450-9913-b1e7b2689d77",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "315d43fb-482a-4784-b1f3-03cc85b1e84c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cc15636a-75dc-4c88-9a9f-168d808f7aad",
"CreateDate": "2026-12-05T15:54:08.4515681-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-05T15:54:08.4515681-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b8df4a9e-872b-482a-8b63-528867fc5960",
"FieldId": "f2da442e-6135-49e9-8e3a-6896434a48ec",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b8df4a9e-872b-482a-8b63-528867fc5960",
"FieldId": "f2da442e-6135-49e9-8e3a-6896434a48ec",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-12-05T15:54:08.4515681-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "69e2917c-0d95-4418-b20b-ff3b4787f7f1",
"CreateDate": "2026-12-05T15:54:08.4515681-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-05T15:54:08.4515681-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}