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": "731d5f1d-838b-40c6-bbcd-636651030ffc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6ca020ba-2aff-4c3f-b55f-59fc038f2952",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cea59ab7-d69b-4af5-aa2f-2d81703c066a",
"CreateDate": "2026-05-27T14:13:57.4803924-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-27T14:13:57.4803924-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "e74485e7-ae12-40c9-9de6-7d05aa582239",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "903bdec2-f42b-4ea0-9113-b46fbb83fa32",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d361558c-51f6-41ba-9b5f-23f29b6db7b1",
"CreateDate": "2026-05-27T14:13:57.4803924-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-27T14:13:57.4803924-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "72103558-0c7c-4639-a755-763a0199852c",
"FieldId": "52b30e27-1f46-44d0-ae54-a4d92de57c96",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "72103558-0c7c-4639-a755-763a0199852c",
"FieldId": "52b30e27-1f46-44d0-ae54-a4d92de57c96",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-27T14:13:57.4803924-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "62d0240e-ada7-4086-a790-01ee1712fc84",
"CreateDate": "2026-05-27T14:13:57.4803924-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-27T14:13:57.4803924-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": "31904a8f-4a04-435a-9d57-936cb3ecdde2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "69072308-46f1-463b-85d0-e6e2ab76d852",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d767c465-9fec-4012-9f51-81d040055809",
"CreateDate": "2026-05-27T14:13:57.4803924-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-27T14:13:57.4803924-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ac508680-9d65-41c4-8ac9-44fa64d9afe9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "96fb1db4-7cf1-42e1-bcde-a208ce9dbf00",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7596e273-6675-43f9-86ed-8588ac6269b5",
"CreateDate": "2026-05-27T14:13:57.4803924-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-27T14:13:57.4803924-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7b96c325-61e2-46c6-8409-40c09be077d7",
"FieldId": "2df62d09-869e-4c1a-b1ad-47d32ea0363a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7b96c325-61e2-46c6-8409-40c09be077d7",
"FieldId": "2df62d09-869e-4c1a-b1ad-47d32ea0363a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-27T14:13:57.4803924-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e3eff0ba-45d7-4fa2-b142-f0fff1ea6e9e",
"CreateDate": "2026-05-27T14:13:57.4803924-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-27T14:13:57.4803924-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}