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": "6ad291c1-fd09-4cc3-bd34-2b87ce7e1cc7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "198ffe6b-d37b-4915-b4da-208fb46bce30",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "53c4917a-7e57-433d-93fc-3fdb8dee3aa8",
"CreateDate": "2026-08-14T18:47:47.1216195-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-14T18:47:47.1216195-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6baf3175-1c1b-4d44-9535-eea449257e73",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4b293c64-f8ce-4a5b-b1d4-3d2abc191c4c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0afa0da0-2d7a-4433-a1a1-f93bf00b10e1",
"CreateDate": "2026-08-14T18:47:47.1216195-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-14T18:47:47.1216195-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3eb85a7d-a0cd-41ce-8e78-c2cc93daaf3a",
"FieldId": "89e6dc8f-28f7-41dd-ab6c-1ea441fef809",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3eb85a7d-a0cd-41ce-8e78-c2cc93daaf3a",
"FieldId": "89e6dc8f-28f7-41dd-ab6c-1ea441fef809",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-14T18:47:47.1216195-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "27b5eebf-1549-47ad-844f-fcd5b56532a6",
"CreateDate": "2026-08-14T18:47:47.1216195-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-14T18:47:47.1216195-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": "8ada6350-424a-4179-a8df-ab9583c543a0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4ab827e7-a1f4-46ac-8a70-754aec8aee4b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "031ad845-cd97-4b5b-b134-ff86a5725510",
"CreateDate": "2026-08-14T18:47:47.1216195-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-14T18:47:47.1216195-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "21883c5d-2859-47f2-b029-f8208eff88a0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "29bcc74d-08db-47b0-8694-3fb4fbb373c1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "af5b1b37-2b2f-4d87-b047-00dd40131f20",
"CreateDate": "2026-08-14T18:47:47.1216195-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-14T18:47:47.1216195-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a7e1978a-4392-468a-b8b0-f18f48dc2d98",
"FieldId": "b679305d-5581-45f5-932d-695556e46c8f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a7e1978a-4392-468a-b8b0-f18f48dc2d98",
"FieldId": "b679305d-5581-45f5-932d-695556e46c8f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-14T18:47:47.1216195-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5db8453f-5fdc-405f-b6ba-007bb8c4e6cd",
"CreateDate": "2026-08-14T18:47:47.1216195-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-14T18:47:47.1216195-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}