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. |
|
| 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": "3171c703-a580-4e74-9718-5488895b27c5",
"Asset": {
"AssetId": "057934e4-a866-42a6-9e2c-6268b53523b0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f402dbd9-4bf4-4ec0-845a-70f6f19ece1a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d2027673-eb67-4fcf-a17b-c43531994454",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c55ed74a-ade8-4ec3-8d64-f3ba7e4ad51c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"MeasurementValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b8afebfe-4a98-48dd-af87-9ca356ca3aeb",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"MeasurementValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9631e165-f6e8-4aaf-9854-96f0994bd3c8",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-08-16T07:35:47.3840737-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "080086e2-5f33-4b97-a051-a936b26e4e89",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f402dbd9-4bf4-4ec0-845a-70f6f19ece1a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d2027673-eb67-4fcf-a17b-c43531994454",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4f60bdc1-05c6-40b7-8302-45e86b94dfbb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2aeab79d-1b5d-4193-9225-0b10391ae1b3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1932e487-2009-407f-8a1d-3c8cb0ca43c8",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "161dff18-c169-486b-9ab0-8fa12eddbd22",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fb43cbfa-e1f1-4558-ad41-b1d34e26bf93",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 8"
}
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": "1aeaeb17-3e57-49cc-b4d4-8ab731332e96",
"Asset": {
"AssetId": "fb16dbcf-cb50-4eb8-8f66-c154fa05bcc4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "68d3d6ee-a4ab-4dc9-884d-8f9aac8a6b7d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d1c925f0-b6df-43c5-be6a-24b200a708dd",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ffb009c9-5057-4e56-a537-73284a659d1f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"MeasurementValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37fb95c3-60ef-47f8-8b07-543ab3c2e7ce",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"MeasurementValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ad271adc-ad4c-42dc-bb9a-97bde8779c8b",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-08-16T07:35:47.3840737-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "b2085464-6a85-4e3c-b5c6-292fb79e3eed",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "68d3d6ee-a4ab-4dc9-884d-8f9aac8a6b7d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d1c925f0-b6df-43c5-be6a-24b200a708dd",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "2ac7e348-fbf3-4a1a-aeb4-d3b9888f30ce",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bfefe80c-4d48-4072-9418-2596083ea2af",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1d20c9a9-e69b-4916-8470-c2158b806dd1",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-16T07:35:47.3840737-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c0734321-457b-4dfd-a69b-db790698cec1",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c4277198-7970-4152-a421-97b3a73b9537",
"CreateDate": "2026-08-16T07:35:47.3840737-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-16T07:35:47.3840737-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}