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": "f36fd1cb-97b9-4067-80ac-a4c8d1b06362",
"Asset": {
"AssetId": "f9d3bb6f-ff0a-49f9-82e5-23e948cdca0e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "88f8540a-010f-47f0-9c70-77c00a807208",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d522f6d9-7e62-4da7-96b7-cf3d86461b34",
"CreateDate": "2026-01-13T23:44:51.5445061-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-13T23:44:51.5445061-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "3c2842f4-71e3-4e05-aaee-3aabfb3dff59",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-13T23:44:51.5445061-08:00",
"MeasurementValueNeededDate": "2026-01-13T23:44:51.5445061-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "5fe2b83a-9819-4828-b872-af8d731e92b6",
"CreateDate": "2026-01-13T23:44:51.5445061-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-13T23:44:51.5445061-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-13T23:44:51.5445061-08:00",
"MeasurementValueNeededDate": "2026-01-13T23:44:51.5445061-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f1e41755-fded-4504-85bd-7f143549a09c",
"CreateDate": "2026-01-13T23:44:51.5445061-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-13T23:44:51.5445061-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-01-13T23:44:51.5445061-08:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "f0a3eaa3-a427-4c5b-91b8-d3d14a6163e3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "88f8540a-010f-47f0-9c70-77c00a807208",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d522f6d9-7e62-4da7-96b7-cf3d86461b34",
"CreateDate": "2026-01-13T23:44:51.5445061-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-13T23:44:51.5445061-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "7a7f2956-eda5-4f98-9084-8c6a2be3c8f6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "441c348a-1a88-4f2a-9042-d07f028e39f6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "18b12d59-a0a5-4d31-a8ff-23a82f04bfc9",
"CreateDate": "2026-01-13T23:44:51.5445061-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-13T23:44:51.5445061-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-01-13T23:44:51.5445061-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "77c3554d-44dd-4ceb-86e5-a1fef0057c47",
"CreateDate": "2026-01-13T23:44:51.5445061-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-13T23:44:51.5445061-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f2d10f8f-b24e-4127-8682-3ecce17483bf",
"CreateDate": "2026-01-13T23:44:51.5445061-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-13T23:44:51.5445061-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": "a8e83a90-4fae-4b0d-b7c5-7bb33faede57",
"Asset": {
"AssetId": "7d241176-06d4-4362-a45e-2d160c527297",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "31764a84-38c4-4e1a-a73d-96f4e797f5bd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "40c95556-4c8d-4460-87ef-debdd7885020",
"CreateDate": "2026-01-13T23:44:51.5600523-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-13T23:44:51.5600523-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "419f316e-7f5c-4871-a7b8-64e4bdb6bd00",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-13T23:44:51.5600523-08:00",
"MeasurementValueNeededDate": "2026-01-13T23:44:51.5600523-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a8db07f3-d1b7-4bd4-a7c2-3500e40ee0b9",
"CreateDate": "2026-01-13T23:44:51.5600523-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-13T23:44:51.5600523-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-13T23:44:51.5600523-08:00",
"MeasurementValueNeededDate": "2026-01-13T23:44:51.5600523-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b694ee84-2843-40b0-9319-2db30c9305f7",
"CreateDate": "2026-01-13T23:44:51.5600523-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-13T23:44:51.5600523-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-01-13T23:44:51.5600523-08:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "761b7da5-f904-4eae-a247-1dd5a151b202",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "31764a84-38c4-4e1a-a73d-96f4e797f5bd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "40c95556-4c8d-4460-87ef-debdd7885020",
"CreateDate": "2026-01-13T23:44:51.5600523-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-13T23:44:51.5600523-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "43318e55-bf7c-48bf-a7af-7aa269f73cc8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8dfbbd7a-b635-4527-9f78-f223e77b21c7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3ea3c3be-63e0-47a7-9c9c-4756505106e3",
"CreateDate": "2026-01-13T23:44:51.5600523-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-13T23:44:51.5600523-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-01-13T23:44:51.5600523-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9775fab8-cb92-47da-8dc3-f91410b1ef9a",
"CreateDate": "2026-01-13T23:44:51.5600523-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-13T23:44:51.5600523-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7f2b64a8-6161-4bb1-9e3c-4bc04d34596b",
"CreateDate": "2026-01-13T23:44:51.5600523-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-13T23:44:51.5600523-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}