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": "8d507ebb-229b-454d-99b1-4fb0046cdbfa",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a0f98122-b6cf-4765-9066-64ae24f22a56",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "638426ec-c9eb-4026-a3e9-cd9f5ca2c24b",
"CreateDate": "2026-04-27T20:23:58.4231962-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:23:58.4231962-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "84733583-cb49-4130-975e-1105c6487f30",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "63a9d77d-d2f0-4c00-8e22-ab65e891e1c5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "31eee83f-0b75-42c1-aeb8-d71f1d589673",
"CreateDate": "2026-04-27T20:23:58.4231962-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:23:58.4231962-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "350c29e7-c89d-4d99-a0f3-5341102ed85e",
"FieldId": "102c3b2b-ce5e-4fd0-8183-bc0895a12259",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "350c29e7-c89d-4d99-a0f3-5341102ed85e",
"FieldId": "102c3b2b-ce5e-4fd0-8183-bc0895a12259",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-27T20:23:58.4231962-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8dfafc9a-e8c0-4250-a4f5-2ffd5e6ff58a",
"CreateDate": "2026-04-27T20:23:58.4231962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-27T20:23:58.4231962-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": "bdf282ad-9257-4f8a-bf2d-bb659770cbbc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ab7038a5-88cf-44d4-855b-f7ea76a38448",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "47305d5a-2c54-4d98-9733-db8f968868f1",
"CreateDate": "2026-04-27T20:23:58.4231962-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:23:58.4231962-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "fc24b229-4994-49c8-bfd0-dd2efa98ef4d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "40da104b-38d7-453a-9def-18d373f36a32",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "87f96fa8-e150-41db-abd7-051f4ee31ded",
"CreateDate": "2026-04-27T20:23:58.4231962-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:23:58.4231962-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f54499d2-d460-46c5-bf29-c0acc7d374ca",
"FieldId": "8d08ec0d-ac79-405e-8e10-ca651b08333a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f54499d2-d460-46c5-bf29-c0acc7d374ca",
"FieldId": "8d08ec0d-ac79-405e-8e10-ca651b08333a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-27T20:23:58.4231962-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3f746d17-e247-4adb-863a-24566213ecda",
"CreateDate": "2026-04-27T20:23:58.4231962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-27T20:23:58.4231962-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}