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": "5e172641-3c7b-4ea1-8db6-fb32fc059412",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1ad8aae0-644e-4605-b445-27fee30645f7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1f3c82ee-c740-486a-bffe-f99517553686",
"CreateDate": "2026-09-14T07:44:41.9581126-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-14T07:44:41.9581126-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "5dfcecbc-d518-4597-9a54-2edc90d65dd7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "738bcfd6-b05d-480d-ace9-418ed7258c80",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "73db06e7-6bb7-4806-bc11-bab79c12a6d1",
"CreateDate": "2026-09-14T07:44:41.9581126-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-14T07:44:41.9581126-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "843b3ab3-2368-4ece-a2af-1736d331bd92",
"FieldId": "8c7e4285-2b3b-4006-9c24-913a0bd583ed",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "843b3ab3-2368-4ece-a2af-1736d331bd92",
"FieldId": "8c7e4285-2b3b-4006-9c24-913a0bd583ed",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-14T07:44:41.9581126-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "03addd7e-245c-49f8-9c88-1b99648ee44d",
"CreateDate": "2026-09-14T07:44:41.9581126-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-14T07:44:41.9581126-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": "56d525ff-6271-45bb-b5d1-beea741bd14c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e4851f2d-f63c-4808-9342-0b59bafd55f2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e7321874-000b-4f09-b0cc-bbeec64d0c87",
"CreateDate": "2026-09-14T07:44:41.9581126-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-14T07:44:41.9581126-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "635afa09-006c-40b4-9f65-68c7ea0655db",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "926ec8b5-6876-4f3d-a426-43bb7372e40e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1c446957-3974-4943-8f90-85a83654576a",
"CreateDate": "2026-09-14T07:44:41.9581126-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-14T07:44:41.9581126-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da6a4eb0-2c1a-46b1-94d4-9c3ce15d083e",
"FieldId": "0d8198eb-2a4a-41d6-8fe0-629b2ce99885",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da6a4eb0-2c1a-46b1-94d4-9c3ce15d083e",
"FieldId": "0d8198eb-2a4a-41d6-8fe0-629b2ce99885",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-14T07:44:41.9581126-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "24ce0244-ba48-4449-abf9-3b2e0738db31",
"CreateDate": "2026-09-14T07:44:41.9581126-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-14T07:44:41.9581126-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}