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": "c9a03961-79dc-4efd-a7c6-532e78ae521f",
"Asset": {
"AssetId": "3989f853-9732-4586-9569-ed1b5e2832f7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ea7816dd-3c7d-4aea-ae82-bd0514ceff54",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "46f9e0ff-f8d7-4193-9efd-b30eb19e7a95",
"CreateDate": "2026-06-28T10:31:26.6454763-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T10:31:26.6454763-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "6ac6c7dc-3158-4a29-89f4-a8874447f7ce",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T10:31:26.6454763-07:00",
"MeasurementValueNeededDate": "2026-06-28T10:31:26.6454763-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f1fa6ae3-f10a-4df7-88ef-c7f6071989b4",
"CreateDate": "2026-06-28T10:31:26.6454763-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T10:31:26.6454763-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T10:31:26.6454763-07:00",
"MeasurementValueNeededDate": "2026-06-28T10:31:26.6454763-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3f794fdd-2699-4ce9-979a-bbf0630f3693",
"CreateDate": "2026-06-28T10:31:26.6454763-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T10:31:26.6454763-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-06-28T10:31:26.6454763-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "a7e25c37-3e13-474b-964e-217ab0309e4b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ea7816dd-3c7d-4aea-ae82-bd0514ceff54",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "46f9e0ff-f8d7-4193-9efd-b30eb19e7a95",
"CreateDate": "2026-06-28T10:31:26.6454763-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T10:31:26.6454763-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "d572be5f-be6d-4b22-922f-a0e9bf9a30ea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0bf425d6-39c7-4a29-b734-8a26dba21807",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0cdad01d-dc36-4db1-9c01-e69c10fab362",
"CreateDate": "2026-06-28T10:31:26.6454763-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T10:31:26.6454763-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-06-28T10:31:26.6454763-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cfb86495-83f5-46c4-86c6-1ea57f464dde",
"CreateDate": "2026-06-28T10:31:26.6454763-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T10:31:26.6454763-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ddbe95ba-7907-4d71-bed5-d9a02f62feaa",
"CreateDate": "2026-06-28T10:31:26.6454763-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T10:31:26.6454763-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": "154586c9-7b6d-4ff0-b657-446285dfd143",
"Asset": {
"AssetId": "20e67444-e22b-4120-8020-f603f2e7ece1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "16536bee-6469-4416-b84c-4e6182ca12e0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f5ede6cc-54f2-4e44-a084-8dd192f1dac9",
"CreateDate": "2026-06-28T10:31:26.6610818-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T10:31:26.6610818-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "10f3d8d0-77f4-407c-b221-2cc4a5104d01",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T10:31:26.6610818-07:00",
"MeasurementValueNeededDate": "2026-06-28T10:31:26.6610818-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e0251a4a-6a9c-4d3d-8d15-c4ed60868499",
"CreateDate": "2026-06-28T10:31:26.6610818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T10:31:26.6610818-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T10:31:26.6610818-07:00",
"MeasurementValueNeededDate": "2026-06-28T10:31:26.6610818-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4f175164-6b71-4151-a685-39b5b8969d5e",
"CreateDate": "2026-06-28T10:31:26.6610818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T10:31:26.6610818-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-06-28T10:31:26.6610818-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "5094be52-dfd5-4508-81e6-6fdc984e6036",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "16536bee-6469-4416-b84c-4e6182ca12e0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f5ede6cc-54f2-4e44-a084-8dd192f1dac9",
"CreateDate": "2026-06-28T10:31:26.6610818-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T10:31:26.6610818-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "c03caa44-7994-4951-a238-9d89ca0c710d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5019bf52-9ec2-4a3c-aba4-584c6009386d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3113e9a5-f924-4563-b7ba-b0fedebb6d63",
"CreateDate": "2026-06-28T10:31:26.6610818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T10:31:26.6610818-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-06-28T10:31:26.6610818-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7063b489-77cb-41c3-accc-ef61ef9784ba",
"CreateDate": "2026-06-28T10:31:26.6610818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T10:31:26.6610818-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3ccd7f24-d481-4a6f-a27c-63489aa57a4f",
"CreateDate": "2026-06-28T10:31:26.6610818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T10:31:26.6610818-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}