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": "7c098254-9765-4422-8031-dfd47242f463",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4ab331f6-c90b-4dad-b45a-537747d42157",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8d4ae7c1-fc06-4f3e-ac9f-cd0ee0009f0e",
"CreateDate": "2026-07-12T11:45:56.5257161-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-12T11:45:56.5257161-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "2dc84ade-757e-4bfe-8629-efc5556001e3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cdaa7273-80e3-451b-b306-6bcd44cc4873",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "002fcadd-ebdf-45c6-94fa-64c1d0b71a0d",
"CreateDate": "2026-07-12T11:45:56.5257161-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-12T11:45:56.5257161-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "076c7cad-b028-4b4a-83bf-21480b73fbea",
"FieldId": "5255bec4-2538-4c75-b25a-4fd42ff72410",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "076c7cad-b028-4b4a-83bf-21480b73fbea",
"FieldId": "5255bec4-2538-4c75-b25a-4fd42ff72410",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-12T11:45:56.5257161-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ab5bdcf7-3086-4deb-abeb-5cd458d51d32",
"CreateDate": "2026-07-12T11:45:56.5257161-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-12T11:45:56.5257161-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": "a279fd23-52d2-4d1a-8bc2-94ce641f4601",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1547a88e-f423-4513-a83e-2419b7d51176",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e2e91c80-85be-4168-b519-d9e349ec7666",
"CreateDate": "2026-07-12T11:45:56.5257161-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-12T11:45:56.5257161-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "189891d4-99eb-480c-80d2-812cacbf2940",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "801f5017-ff05-496c-9c8d-b80fa9ce4994",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5aa8c560-d88d-41a7-8109-4165474d7d8d",
"CreateDate": "2026-07-12T11:45:56.5257161-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-12T11:45:56.5257161-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "afc46821-14e8-4df3-83dd-d80331de955e",
"FieldId": "a9173b0d-e2b1-4c3e-9fa6-3d2bf3539280",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "afc46821-14e8-4df3-83dd-d80331de955e",
"FieldId": "a9173b0d-e2b1-4c3e-9fa6-3d2bf3539280",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-12T11:45:56.5257161-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0767c2b5-7e20-46a5-b807-5d3657c3b815",
"CreateDate": "2026-07-12T11:45:56.5257161-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-12T11:45:56.5257161-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}