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": "a5787578-28bf-4556-83ad-e5d34bb61f37",
"Asset": {
"AssetId": "230d92bf-cce9-4590-b766-b8db86df5fca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f690edeb-7cc7-4cd3-9919-b195a94c0e4c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "01e3c7c8-104e-46b2-8ed8-feb09f4187cc",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "16b13849-008e-4030-8943-51ab0cb8d0b4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"MeasurementValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2ee629b-69d1-449a-be78-acb53a3d9b3a",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"MeasurementValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "65e1477e-7a49-4cfa-833f-2d72bb0a561a",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-02-03T04:20:39.8151555-08:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "96d58861-dc57-4e8e-b846-15e380704b7f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f690edeb-7cc7-4cd3-9919-b195a94c0e4c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "01e3c7c8-104e-46b2-8ed8-feb09f4187cc",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "48e280f8-9c80-492a-b773-49c0eec8e494",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eaaf841a-7b95-43e6-9c07-0e9bd5f7c97a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d3f34625-25f2-4cfe-8516-e92ded5275ba",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08: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-02-03T04:20:39.8151555-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0b96bb20-c912-4305-8a46-0ef29a96f4a1",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5bbaafc7-9b34-42b6-8d42-688687216600",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08: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": "a489bf2f-5ecd-4c3c-ba57-3f909d6606c7",
"Asset": {
"AssetId": "5cd9cc61-72ec-449d-bbe2-465bc6668110",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bd900af4-9a89-486b-8d15-669606a749fd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bef82809-a3fa-42d9-8df2-90cd61c409a1",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "4afd77cd-4876-49d6-a86d-a90de54942b3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"MeasurementValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ed229139-ac80-4193-98ab-4b2f62d48d21",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"MeasurementValueNeededDate": "2026-02-03T04:20:39.8151555-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1ed7ddca-311e-4f16-8f69-a312506dbcf4",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-02-03T04:20:39.8151555-08:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "c2544bb8-f82c-45db-8c5b-f2b657b7da7c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bd900af4-9a89-486b-8d15-669606a749fd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bef82809-a3fa-42d9-8df2-90cd61c409a1",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "5e661577-dce8-4627-939f-d287e9620090",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "755990fe-cb29-45f5-a358-6a71a8f0e567",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f70b2b65-5cfa-4174-b39f-ca6a954e0932",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08: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-02-03T04:20:39.8151555-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "97e7aeca-3b15-4272-b0d0-9ee36285a920",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2650a18a-e672-4316-ab18-b43c2ffab505",
"CreateDate": "2026-02-03T04:20:39.8151555-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T04:20:39.8151555-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}