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": "893214ae-93fd-445e-95cd-56327b83cdb2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "982190c2-e66c-483d-b551-f46b8eaa22cb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "05f34079-e3c4-440f-93d2-89008fcd3fb7",
"CreateDate": "2026-09-17T10:27:25.7877668-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-17T10:27:25.7877668-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "aa275357-499c-4053-b57c-ccf87047ea21",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "606a99ea-b91f-406d-a14f-36f9d74fac53",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "560b3d4d-c470-4a3e-a57b-82e82ac3dc2c",
"CreateDate": "2026-09-17T10:27:25.7877668-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-17T10:27:25.7877668-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "13ba612d-881f-4bb1-8c18-8071c1ca64a9",
"FieldId": "6bd8c977-ad86-4e18-81a3-e7f9eade4b32",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "13ba612d-881f-4bb1-8c18-8071c1ca64a9",
"FieldId": "6bd8c977-ad86-4e18-81a3-e7f9eade4b32",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-17T10:27:25.7877668-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e55d4574-51b4-473d-bccd-609097df781b",
"CreateDate": "2026-09-17T10:27:25.7877668-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-17T10:27:25.7877668-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": "36481b55-f6cd-4eb9-ba34-0e53feb8e9c4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "916badf2-807d-4f18-a197-040c8dc753b7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d11e17d9-3c5f-4c29-8e49-756d93eaef79",
"CreateDate": "2026-09-17T10:27:25.7877668-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-17T10:27:25.7877668-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "742483f7-f017-4b9f-b5c8-e426c8aaa1cd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "273498d2-560d-4a39-a009-31c3d30e3b56",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "174ddafb-49a2-44fa-b846-9e8b2a7a639a",
"CreateDate": "2026-09-17T10:27:25.7877668-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-17T10:27:25.7877668-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9bef3ecd-d108-4620-97b2-3e228a22fe37",
"FieldId": "afe79958-bf80-476d-b93a-4b626cc95e0a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9bef3ecd-d108-4620-97b2-3e228a22fe37",
"FieldId": "afe79958-bf80-476d-b93a-4b626cc95e0a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-17T10:27:25.7877668-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6dcc39bd-1e8c-4a09-a23f-d36c4a6e1575",
"CreateDate": "2026-09-17T10:27:25.7877668-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-17T10:27:25.7877668-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}