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": "d3d4a048-f820-47dc-aa94-9261e413082a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4c0fb99e-ddc9-48ec-b054-7ce347698181",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "08b3f15c-59f8-427a-a6ae-809027a9aa57",
"CreateDate": "2026-03-13T15:59:57.4792-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T15:59:57.4792-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a7cf59ac-6eb8-426a-b090-07c22fa6fe37",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f63a79e3-a4d6-4d2b-a2f8-ce488455bc8b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5ba926dc-cd90-40b8-90e1-534be3895305",
"CreateDate": "2026-03-13T15:59:57.4792-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T15:59:57.4792-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d28ac14b-bfda-4a1a-83db-03b410c2e94a",
"FieldId": "5b4000fa-33a0-4611-81ed-a6d2133cafaa",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d28ac14b-bfda-4a1a-83db-03b410c2e94a",
"FieldId": "5b4000fa-33a0-4611-81ed-a6d2133cafaa",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-13T15:59:57.4792-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a465795c-cf88-4630-9a3e-3d56e536d1a3",
"CreateDate": "2026-03-13T15:59:57.4792-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T15:59:57.4792-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": "878df75b-e263-4232-956b-ab59113894ae",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6ec5249d-1d33-4ef2-9a22-ff05326f197a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8cb18533-11df-4e8d-ba85-10f5caead7f6",
"CreateDate": "2026-03-13T15:59:57.4792-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T15:59:57.4792-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "33b3aada-0180-4b16-8de1-cacaafb9542a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1b52e871-3a51-4225-b2c2-b6a00bcd51e5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f3bec74b-fba4-492e-b46b-038d836daff8",
"CreateDate": "2026-03-13T15:59:57.4792-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T15:59:57.4792-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9d0df9ca-c259-419a-be5f-e8d638a6377a",
"FieldId": "8877415a-4696-40e7-ae07-a4014f38e1c0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9d0df9ca-c259-419a-be5f-e8d638a6377a",
"FieldId": "8877415a-4696-40e7-ae07-a4014f38e1c0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-13T15:59:57.4792-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4362469f-f01d-420c-82dc-574f2b7ee107",
"CreateDate": "2026-03-13T15:59:57.4792-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T15:59:57.4792-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}