POST Measurements
Creates a new measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to create. MeasurementId should not be filled in.
Measurement| Name | Description | Type | Additional information |
|---|---|---|---|
| MeasurementId | globally unique identifier |
None. |
|
| Asset | Asset |
None. |
|
| ValueText | string |
None. |
|
| DisplayText | string |
None. |
|
| EffectiveDate | date |
None. |
|
| Location | string |
None. |
|
| MeasurementType | MeasurementType |
None. |
|
| IsValid | boolean |
None. |
|
| IsValidMessage | string |
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:
{
"MeasurementId": "87e70b12-fe2e-42c0-bd0f-655a62bed7b9",
"Asset": {
"AssetId": "4818e74c-66e0-4027-8d8a-eb6d8affb237",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "974906b1-6590-47a8-a82e-d46af51be479",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "323c2656-e755-4607-96d9-3cd3592e1b9c",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "951af3b5-86ed-4972-8b9b-37eb7f0baf9c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"MeasurementValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8df03f13-0220-47fc-ae69-8c29c1386f99",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"MeasurementValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d005d5ad-1df4-4a0f-a433-7e1803ff044d",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-01T02:08:52.0687125-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "0d867682-1013-4533-b8eb-8cdbd41bf0f1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "974906b1-6590-47a8-a82e-d46af51be479",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "323c2656-e755-4607-96d9-3cd3592e1b9c",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "00771d2e-3d03-4701-a5ea-4862a87b7dc3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9515a865-7bbe-473d-876e-96b019dd1a77",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "000c63be-e43a-489d-a7d3-3350caa08b3b",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "332e1491-be1f-4754-86e7-aabfd9d16b06",
"FieldId": "019074f6-ed68-43d9-a62e-ab2ba28ef5d4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "332e1491-be1f-4754-86e7-aabfd9d16b06",
"FieldId": "019074f6-ed68-43d9-a62e-ab2ba28ef5d4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b37ce2ad-ef74-47c1-9268-34ad877ce58c",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "f801d64f-80fc-4788-bb43-f83a465c5bfc",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 9"
}
Response Information
Resource Description
On success, the created measurement.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Measurement |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"MeasurementId": "b02d5be4-8cd0-4c19-a384-f57abcee3ae6",
"Asset": {
"AssetId": "a3cf6a66-2c19-4ff5-a055-31a3377c0f45",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9b46db9b-0843-4aeb-a21a-2455b062f6b3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "14b525d0-b1eb-474e-8b1c-b1690375cd27",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c35770b6-35e2-4608-ac75-72bcc8473b39",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"MeasurementValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "111967a0-761f-4656-8e55-764446f37cbb",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"MeasurementValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "eaffc93c-f393-4525-b730-441c615a3667",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-01T02:08:52.0687125-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "2770fd97-7935-416d-9f33-96bebcad9964",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9b46db9b-0843-4aeb-a21a-2455b062f6b3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "14b525d0-b1eb-474e-8b1c-b1690375cd27",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "07606527-f67c-4f12-8b2f-27fe9eadf01f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "beac4d2f-e282-4ef7-9577-ba19c8b41b14",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b449249e-a7af-4af4-af59-3f8a38c5331d",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ea01f0f-616f-44c7-b1c7-03f6780620ef",
"FieldId": "6f5b0fb8-5f45-4ea7-bc85-0bfdfd3c3f1c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ea01f0f-616f-44c7-b1c7-03f6780620ef",
"FieldId": "6f5b0fb8-5f45-4ea7-bc85-0bfdfd3c3f1c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-01T02:08:52.0687125-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f8ebb867-16ec-4cb9-847c-2f38c49d19bd",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "33876aa2-2f1b-438f-8aa2-d686aadf56a3",
"CreateDate": "2026-03-01T02:08:52.0687125-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-01T02:08:52.0687125-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}