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": "04f7e338-efe7-424b-81ef-497c945a3d38",
"Asset": {
"AssetId": "f41fa40c-12ed-484f-a84b-1458f3b6924c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2b5af53b-c840-46a4-aded-172c20da00eb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "90962548-8c90-46d4-ad0d-f336a5c48b9a",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2a0b0806-4bca-406c-bab2-6b9280d50b03",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"MeasurementValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "41617e32-ba9e-46c3-aa10-1ef458f087cc",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"MeasurementValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "992091da-bfc3-42f5-814f-6a671cf8bb2c",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-03-15T21:29:35.6202734-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "cc371ddd-1cc1-406b-9ed0-80ae0cf45334",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2b5af53b-c840-46a4-aded-172c20da00eb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "90962548-8c90-46d4-ad0d-f336a5c48b9a",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ffde3825-a264-4af1-bdda-7479f458b46b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3bd49c65-1275-4f4d-83fc-1d01289af6d1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0c429739-aa37-427f-9bea-6430bce25ab2",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-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-03-15T21:29:35.6202734-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e8002c71-33d0-428f-b7a1-6e7ba5786824",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "04d989de-de80-4ce6-8f86-79afd3cb8381",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-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": "df14362b-467e-4585-9d7c-5795b4e92694",
"Asset": {
"AssetId": "f33ac5e6-06d4-47ae-ba73-fdc6e47be730",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f1d6664c-5edf-4c9d-8513-a78bd9c81e0c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b2495835-0ad4-410f-bad5-f0cf3cfe7788",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "14452cc0-855f-41e3-b633-ff1b6f4e0d2a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"MeasurementValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "91be19b9-7fa1-4f89-83b4-acd20595ff19",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"MeasurementValueNeededDate": "2026-03-15T21:29:35.6202734-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "03980631-be5c-4f7a-8c35-d6f70ef3b184",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-03-15T21:29:35.6202734-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "064d2002-78ce-45bc-b96c-6f8c044f83a5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f1d6664c-5edf-4c9d-8513-a78bd9c81e0c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b2495835-0ad4-410f-bad5-f0cf3cfe7788",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "2f4d11c8-3924-4239-8222-d7bc7f6264d2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fc0cb0c6-7321-4cdb-829f-1d50629eda29",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58165a79-d65f-43d8-937c-ff1a794443f0",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-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-03-15T21:29:35.6202734-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d105fb7b-be9d-42bf-bb03-956aaf2ccde2",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7f6790d3-f9f8-4515-a0b1-7206ea2f89d7",
"CreateDate": "2026-03-15T21:29:35.6202734-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T21:29:35.6202734-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}