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": "9cb4ded6-6b4d-4ded-ba0c-399ca4ef2f09",
"Asset": {
"AssetId": "fd775e78-52f3-444f-8a53-900922b3271b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2a039c88-cc38-406f-9f9d-855f54e1cf59",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "94a51341-5e3c-4fbb-806f-c5aa67c877a9",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "abcf33db-c040-4312-a83d-2fc78fec223a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"MeasurementValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "40f925b1-c651-45a2-be9f-05d1cbe2b470",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"MeasurementValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8f3db5c8-5cf7-42e9-a923-6c5f337646ff",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-08-12T11:15:07.3264811-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "3bcac4a3-fe43-42ab-94cc-87361a303183",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2a039c88-cc38-406f-9f9d-855f54e1cf59",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "94a51341-5e3c-4fbb-806f-c5aa67c877a9",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "dc8a1402-de4e-4422-b525-2cca23291cc6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6109f212-600e-43aa-aec9-674bf9f50c04",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a3942b16-6399-463a-8c52-c4eb92f5e36b",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "98c508e2-1e91-43db-a322-44b3ce56b499",
"FieldId": "550358f2-4b49-4531-9230-75e91e865563",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "98c508e2-1e91-43db-a322-44b3ce56b499",
"FieldId": "550358f2-4b49-4531-9230-75e91e865563",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "eb93362a-c654-492d-a9b3-972b6b2211e5",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "b568a624-d4cc-4a9b-9edb-b7d55f993bc0",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07: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": "46bca9dd-5c7f-40c1-bcbe-052d4484ed36",
"Asset": {
"AssetId": "1a166dca-4006-42c0-b465-6962681aaafd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2ba255b3-66e3-49c7-b7c7-c30f02c9f555",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7fac196a-6093-4c51-87dd-e930d7de06b0",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7846a78b-d8e7-47ba-837b-c3f72acd864d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"MeasurementValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ed1b534d-3c13-4042-ac3d-f46e175bf6d8",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"MeasurementValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5e3c18ff-dffc-4862-a751-c2f7a75787be",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-08-12T11:15:07.3264811-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "34d58b38-add4-495f-985b-2f39c0f2b137",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2ba255b3-66e3-49c7-b7c7-c30f02c9f555",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7fac196a-6093-4c51-87dd-e930d7de06b0",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ad16e8f3-ee63-48ce-b608-3125cbb57252",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0ff3e141-8bf0-4753-877b-852b89ca5ed8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7e1a1d1f-09f7-4919-9ca1-681fb2b9d300",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f2bf98d1-b1fe-4981-9bf0-e3c90e44dc21",
"FieldId": "7e0b698f-3cb0-4d29-9fef-6f50e6564686",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f2bf98d1-b1fe-4981-9bf0-e3c90e44dc21",
"FieldId": "7e0b698f-3cb0-4d29-9fef-6f50e6564686",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-12T11:15:07.3264811-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "22c3279e-1092-4b66-9908-1cc2f494e0ec",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "392f18f3-6331-4b32-88a1-6d21101e579a",
"CreateDate": "2026-08-12T11:15:07.3264811-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-08-12T11:15:07.3264811-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}