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": "38632148-d8c2-4353-b283-2cb8d63878f3",
"Asset": {
"AssetId": "2b7233a1-5cc1-4519-92c4-ec67e906ed2c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f80bc55b-e255-4b2b-a11b-b145cf29d5c9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3cec0344-6b08-4fbe-b17e-b33e65fa4446",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "a1bcf0a5-8ec7-4101-aeff-7aa8e6827369",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9182a7e3-ef15-4e92-9b6c-6cc0596f3ca2",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "92398232-576b-40df-8da4-2be3834dc903",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-04-14T09:14:48.214409-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "718bce6f-e4b9-4411-bb93-ba70b82e339a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f80bc55b-e255-4b2b-a11b-b145cf29d5c9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3cec0344-6b08-4fbe-b17e-b33e65fa4446",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "fd37b56c-cc4e-451e-ab4f-4ee312c4ede2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f843196e-0964-41bf-b1a2-2679e116237e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4ff56bcc-cc4f-425d-960c-a6453fff8790",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-14T09:14:48.214409-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-04-14T09:14:48.214409-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fc947ba3-1321-430a-ada0-2e1624e2e95a",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0cf9bda4-3930-4714-a8b8-78cdb1eef967",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:14:48.214409-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": "fce87e5e-c4fe-4d98-b1f9-6e433d1fc614",
"Asset": {
"AssetId": "e5fdd7a1-1660-4bb0-a2e3-edd06b7eb8b3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "abbb5e13-5bca-48b3-9797-fa293613cebc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ed5cfb34-ba9a-4573-af98-be8d7eed2764",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "762a1d35-77ae-4520-853e-163cb399da81",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8eba9180-e0ba-4b26-a33f-1d88f11c6b04",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:14:48.214409-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "41468954-be23-455e-aa14-e162919c52ee",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-04-14T09:14:48.214409-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "fcb0b9a8-0cde-4366-9da3-341be5e8a60d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "abbb5e13-5bca-48b3-9797-fa293613cebc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ed5cfb34-ba9a-4573-af98-be8d7eed2764",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "313315a6-8cdd-45c7-af2d-397ae9113419",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e104a467-d748-4011-9de5-fb6b30bc62af",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "764a06f8-6c79-4251-8def-9e59dc0e845f",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-14T09:14:48.214409-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-04-14T09:14:48.214409-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "24ec6b0c-5e21-49b6-a96f-29248bd204ef",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b92f9b1a-a962-492e-b96e-0804f4577c51",
"CreateDate": "2026-04-14T09:14:48.214409-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:14:48.214409-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}