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": "bcb0e3a5-46bc-4082-ab9d-a27091dcc8ca",
"Asset": {
"AssetId": "f096eccb-b64c-4421-8613-d5e341629ffa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e4b8c3d0-72f1-4d86-990e-57b9a66f4e15",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f9722aab-ca91-4488-8e46-dbe89db5edc5",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "17f346e5-a9b9-4300-922c-9d997e978dc3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f2fac598-b890-404f-b9f4-b9f26b0b65ae",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3c383c64-a64e-45f6-909a-10c92def6a6f",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-06-13T17:45:50.7693362-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "4bea1eef-92a7-4476-b863-1ae54efdf7b8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e4b8c3d0-72f1-4d86-990e-57b9a66f4e15",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f9722aab-ca91-4488-8e46-dbe89db5edc5",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "90a21d6e-7eff-498f-9940-c6cfc72eda96",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8f36945a-4537-45ae-bd7b-b4be4501ad67",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "105394c2-04d7-4276-85f6-28114d290c5e",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-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-13T17:45:50.7693362-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "db6e3d7b-120c-480b-b564-8c27f532d22c",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2bedefbb-8146-43a2-9b9e-218e2ca494d0",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-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": "72c5b264-131d-4527-a84a-8bb98811650d",
"Asset": {
"AssetId": "48afb627-0d7b-43a0-898e-019bda117691",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2336591b-b6fe-4996-a296-cd5438248e6a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7cda048c-cc3d-4a54-bc0b-ab833d9a00bb",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "0ae04d53-ebfe-46e4-9985-10558ce887e6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7f73f05d-e5d4-4f74-b6c0-1ebf88e57e0d",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:45:50.7693362-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "489a349b-e470-4512-a5b9-b03f3b339f4f",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-06-13T17:45:50.7693362-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "b4a33519-b9b8-4e20-b26c-165c0054a80f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2336591b-b6fe-4996-a296-cd5438248e6a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7cda048c-cc3d-4a54-bc0b-ab833d9a00bb",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "795073c2-b196-41f4-a32b-07304f21d405",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "98c21c2d-1d0c-4b28-a29a-89d9a755f9c2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8fb84d2b-d919-4a86-97d7-f525b03f9a22",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-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-13T17:45:50.7693362-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e2695e93-cbad-4a3d-a963-1a89fe0e389c",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "075c4f93-83e8-4732-b486-a98af3a24dc0",
"CreateDate": "2026-06-13T17:45:50.7693362-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:45:50.7693362-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}