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. |
|
| DisplayText | 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": "b3ff54c6-50e1-405f-b01d-c68cc0d28e75",
"Asset": {
"AssetId": "137f5ea5-51ac-4c92-b448-ff895c453593",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "038987fd-a44b-4020-9933-d56dc24937d9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bba70da2-549c-4e72-9b5b-c182b79b5a31",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "8508b39f-5c12-48c9-9a76-5d89d1a6a10a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"MeasurementValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "703257db-1fd0-468d-b035-cdde4e53a3d2",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"MeasurementValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "30c10a6f-1c24-41be-a429-e5aa6e50e8ff",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-02-08T18:39:53.7075852-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "716606ce-0c60-4003-94d1-afcc1e66fbf4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "038987fd-a44b-4020-9933-d56dc24937d9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bba70da2-549c-4e72-9b5b-c182b79b5a31",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "487f6da1-5c1b-4ee7-b871-18bfa0552c39",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0f0de234-bec2-452e-88e8-8eff582d6614",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "50052582-2151-43c2-bf97-18087ae0ea92",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "60327b60-0519-4904-919c-bb8c4dbef7b0",
"FieldId": "a9eebff0-f6e8-41c5-97df-3dd5783e83f7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "60327b60-0519-4904-919c-bb8c4dbef7b0",
"FieldId": "a9eebff0-f6e8-41c5-97df-3dd5783e83f7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0b656d39-e8d4-41bc-86f7-116fb7d0b756",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "366cb2e9-8b3e-4643-8eb6-86a3c67884b0",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 9"
}
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": "87471468-ea86-4c35-ac4d-96e2c8a83aff",
"Asset": {
"AssetId": "692872da-a33b-4652-92dd-ad42ed400c40",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "31ad5e1d-c346-46f4-8be4-f16f0bc642f7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0e67210a-e6c8-4c8c-b3c2-29de23fc3c72",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2913b3ee-9070-4957-8266-013dd0038e27",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"MeasurementValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "79e3332a-7188-4c68-8842-5406220cf9e4",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"MeasurementValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d30297a1-677e-4ca7-ab0a-67d836f40ecc",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-02-08T18:39:53.7075852-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "75b95e61-61cc-4fff-b6a9-b24340c3fda6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "31ad5e1d-c346-46f4-8be4-f16f0bc642f7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0e67210a-e6c8-4c8c-b3c2-29de23fc3c72",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "054a1823-0ae2-44d0-86b6-2387e4577462",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3fdda29f-3b8c-4ffb-921d-ebdf9680d145",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b7db5b8f-1412-4769-9607-813b33fe28b3",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bf2438d0-6541-4aa9-b654-9ec39cf1bc1f",
"FieldId": "cd1a24c0-fba6-478d-b4c5-6eb21335447c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bf2438d0-6541-4aa9-b654-9ec39cf1bc1f",
"FieldId": "cd1a24c0-fba6-478d-b4c5-6eb21335447c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-08T18:39:53.7075852-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6a6ac092-9bf6-449f-915e-11a4d58b2385",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "620d3efa-eff8-4461-82d7-f36fca65717e",
"CreateDate": "2026-02-08T18:39:53.7075852-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-02-08T18:39:53.7075852-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}