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": "dea4f25c-5bfa-4efd-8da0-5e4a8bfb95ec",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5262b6ba-ce69-4ca8-be14-be50278fc7d2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "23dac259-7889-4afd-8405-6012e23a5d53",
"CreateDate": "2026-08-02T17:43:02.6923434-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-02T17:43:02.6923434-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "b7d2261f-c8df-47a7-82f9-f8f4d1bc6846",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "821a0c51-478d-46e5-8167-ff610e60294c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "07c8d35a-3eb0-4b61-82ed-3138a6077d8f",
"CreateDate": "2026-08-02T17:43:02.6923434-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-02T17:43:02.6923434-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "64a775e8-3f08-410d-b022-e2e8aed6aada",
"FieldId": "b2ab1890-da85-4dfa-bb0c-4e660d52177f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "64a775e8-3f08-410d-b022-e2e8aed6aada",
"FieldId": "b2ab1890-da85-4dfa-bb0c-4e660d52177f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-02T17:43:02.6923434-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5a6f8d7b-f57e-4b8a-99ea-0b70e396004a",
"CreateDate": "2026-08-02T17:43:02.6923434-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-02T17:43:02.6923434-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": "e5f65d0d-e0a5-43e0-bfee-8e69ba8f1cb4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d9803168-a1f5-47ba-a79d-dc8dca5bf243",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6622b74f-859e-469f-847a-e3fdb360b772",
"CreateDate": "2026-08-02T17:43:02.6923434-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-02T17:43:02.6923434-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4203525b-fafe-4e36-9966-15571d65c338",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "36be338b-52b7-49d1-8638-6caeebd98161",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2419d39e-5b28-4640-88a4-1047a6c45b9d",
"CreateDate": "2026-08-02T17:43:02.6923434-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-02T17:43:02.6923434-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5c990ad5-71b1-4f93-98ee-33b7c44f850f",
"FieldId": "fe48cc88-ae5d-4aea-99e5-b7b45f314799",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5c990ad5-71b1-4f93-98ee-33b7c44f850f",
"FieldId": "fe48cc88-ae5d-4aea-99e5-b7b45f314799",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-02T17:43:02.6923434-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "955a0496-0589-42a8-9a88-d5a573ab2d4d",
"CreateDate": "2026-08-02T17:43:02.6923434-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-02T17:43:02.6923434-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}