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": "d7a576ab-8224-48da-ae31-837c7a511802",
"Asset": {
"AssetId": "5883489b-fc83-4500-85cc-d198454d19ce",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bf00991a-e732-45c1-91bd-ebb20786e6d0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e988deea-7608-43fc-99bd-999be307561a",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "1b4d624a-3609-4f8d-84d7-fefc840e970e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "762096a1-e73b-4b7c-ad7b-04589f8c5b8d",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3d792ded-2077-4574-a8c0-5d57de3fe0d0",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-06-28T09:41:07.9517966-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "d09a66b1-e8c4-437a-b1ff-21baf2bf4dd9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bf00991a-e732-45c1-91bd-ebb20786e6d0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e988deea-7608-43fc-99bd-999be307561a",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "d57fd3cc-10a4-4778-8732-cdf0a788dcc2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "91d59801-46e3-4720-860d-64362472dce7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e8f11b19-8d00-41cb-8f1b-4d3e080101cf",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-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-28T09:41:07.9517966-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dbc0e8e0-73b9-4a3f-9f29-f3e5f10a89c0",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3a9fdb8a-83b6-43dd-a294-c72f721a9716",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-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": "3b0a4c72-216d-464f-b389-11b6c4879c4b",
"Asset": {
"AssetId": "e46e27c0-38c9-44e0-8322-e4269bc91ac1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "86dbd9cc-3fff-4467-8113-35c9bb7f9c9c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "36d1340f-885b-44c8-bcd1-cccb11c59e41",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c6b91b93-3560-4f10-9c8d-4156da20130d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "99b4cda1-24c6-4f9d-bc41-09fbbd4ecdc6",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:41:07.9517966-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "39a81aaa-973e-4be5-81e5-e2af2b907090",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-06-28T09:41:07.9517966-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "08d85f81-305c-4d5b-b681-6c21ef016783",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "86dbd9cc-3fff-4467-8113-35c9bb7f9c9c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "36d1340f-885b-44c8-bcd1-cccb11c59e41",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "23baec3f-d871-453c-88f5-224edf6f18d8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9c50490c-bb29-4a36-876c-7aeec18e8029",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b85aeba-d6c6-450d-b16d-3f90973b6eab",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-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-28T09:41:07.9517966-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "edbac866-de65-49a7-84d3-ad034d910bc1",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7c917026-e258-4463-9c91-5d77a29fedad",
"CreateDate": "2026-06-28T09:41:07.9517966-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:41:07.9517966-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}