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": "9d8424f8-589a-4c93-8578-f78f1a0ab98f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b0e19f27-96d9-4ee5-bd84-ff18192eafc4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1a790692-acc7-4d54-b9dc-b6815f464744",
"CreateDate": "2026-06-27T08:15:49.2242532-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-27T08:15:49.2242532-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6aa54198-5576-4226-af34-466e542da4cf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c2ba4d24-f306-45f8-81d9-bc724ab93a09",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "634a8091-4d07-4b8a-84e7-8fe667978fc5",
"CreateDate": "2026-06-27T08:15:49.2242532-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-27T08:15:49.2242532-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "87e1a762-3321-4192-929f-28da0e4a5f2b",
"FieldId": "e8da40bf-257f-4089-bd39-179e80792fea",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "87e1a762-3321-4192-929f-28da0e4a5f2b",
"FieldId": "e8da40bf-257f-4089-bd39-179e80792fea",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-27T08:15:49.2242532-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8758bda7-255f-4192-a36a-9a15b25f1419",
"CreateDate": "2026-06-27T08:15:49.2242532-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-27T08:15:49.2242532-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": "908b43a5-1a32-43ce-85cb-08f031de981a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bea0c8db-eaef-4633-8881-3b329fac3fb1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7a1299c9-d6f3-46bd-b21c-9e586c9271df",
"CreateDate": "2026-06-27T08:15:49.2242532-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-27T08:15:49.2242532-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "c9203bf2-c65b-40fa-85bf-f382415738ec",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bb33827f-f46d-4c89-b316-4b3c3cd9e112",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cd1d00a6-8c21-43b6-9b00-c04bc9ba8fc8",
"CreateDate": "2026-06-27T08:15:49.2242532-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-27T08:15:49.2242532-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "39ed81df-9506-40ff-a504-0c2ae51e579a",
"FieldId": "f2be4ed8-ab69-4408-acb6-14a5a36d511c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "39ed81df-9506-40ff-a504-0c2ae51e579a",
"FieldId": "f2be4ed8-ab69-4408-acb6-14a5a36d511c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-27T08:15:49.2242532-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4f5a81d8-be5a-4ab0-b362-5ab59d80fca2",
"CreateDate": "2026-06-27T08:15:49.2242532-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-27T08:15:49.2242532-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}