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": "199b77d1-5532-482e-b872-9f90a5cc5119",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3394431d-1ecd-4faf-8165-8a4568b42c2a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9d3a92ac-1fcf-400d-96fc-dc31c7e38b1e",
"CreateDate": "2026-10-17T21:47:50.0814576-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-17T21:47:50.0814576-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4e2f645c-dac6-43a8-9d6b-a4f560e3bc44",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "aa7a0f06-4839-406c-bcd3-70be5374833a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cfc48809-5ba8-4f8f-acdc-202291dcbe14",
"CreateDate": "2026-10-17T21:47:50.0814576-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-17T21:47:50.0814576-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ba202432-9bf9-45d2-937e-a8d62cd73b72",
"FieldId": "0ffeb22e-1da5-441b-adbd-720561805ee0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ba202432-9bf9-45d2-937e-a8d62cd73b72",
"FieldId": "0ffeb22e-1da5-441b-adbd-720561805ee0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-17T21:47:50.0814576-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "68e650a8-786b-4e18-a2e2-877178980a47",
"CreateDate": "2026-10-17T21:47:50.0814576-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-17T21:47:50.0814576-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": "2e9705f3-816d-4b08-a081-b4ef5a88fb46",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "25b7ccb2-79b2-4ad7-b4e5-21292d7d14e6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cf208cf8-37e6-4a94-be46-9d9a71ada654",
"CreateDate": "2026-10-17T21:47:50.0971319-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-17T21:47:50.0971319-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "cfc902ca-5db2-44a1-ab19-981c975a09c5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2f06b9f4-9946-4883-83d7-eb2d4689fd18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dd8825c0-8f83-4c26-aa1e-53771f600115",
"CreateDate": "2026-10-17T21:47:50.0971319-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-17T21:47:50.0971319-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ac47027-506c-43e6-88ec-0d106b2dd8af",
"FieldId": "8e09104a-3282-41f5-a3c3-655c00022655",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ac47027-506c-43e6-88ec-0d106b2dd8af",
"FieldId": "8e09104a-3282-41f5-a3c3-655c00022655",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-17T21:47:50.0971319-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e1e1a5ea-28c0-44a4-a8de-6329bb8f5e54",
"CreateDate": "2026-10-17T21:47:50.0971319-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-17T21:47:50.0971319-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}