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": "a02b5fe6-4607-420b-970c-64371bfb4219",
"Asset": {
"AssetId": "eb400eec-21cd-4073-8708-dcc319dcf118",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6f952099-95c7-4525-b880-bbf8cd2f1fdb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "68075fc1-0e61-409d-a103-dfd837c2076a",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c1b7eff6-e626-414f-bb77-23da7656316c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"MeasurementValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f440815a-cc97-4914-9054-dc16eb90d273",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"MeasurementValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ff31b3ab-35fb-4da8-bce7-42c7cdbbab03",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-13T15:56:19.9723742-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "e6a37907-cee8-4ae6-81cc-9a96d36573ff",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6f952099-95c7-4525-b880-bbf8cd2f1fdb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "68075fc1-0e61-409d-a103-dfd837c2076a",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "c5d42539-e603-47a0-add6-a9af397932c7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3cb21035-d815-429c-8e15-fc768f1f4f7a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b42b7d10-dac4-4291-a2eb-bf3eaf3bb9c9",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4e78a68b-87fe-48b8-9934-3509f683b15f",
"FieldId": "903303bd-9bb4-48fc-8a4f-0d9c22d53d95",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4e78a68b-87fe-48b8-9934-3509f683b15f",
"FieldId": "903303bd-9bb4-48fc-8a4f-0d9c22d53d95",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ff0aa41e-e2b2-441a-86f1-67010022f1a9",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "6aefaa27-9ba2-4d93-8cd7-b8d6da829c53",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-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": "520fc812-4902-4b79-8fc2-a8dbd69bc475",
"Asset": {
"AssetId": "a70badbe-11c4-4fe6-a248-b15e43d031dd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "72ac985f-2440-43f4-9292-88566f784f34",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "42ee1865-b14c-47c9-b08f-ea4ec48bd33d",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ab435c8e-bd21-4867-960b-4938ad46ff52",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"MeasurementValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4a8adafb-1695-4127-903d-154943ae0ca3",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"MeasurementValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "743f25bd-0e02-4b47-9793-d538bdbf9c48",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-13T15:56:19.9723742-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "65d26d08-aeb4-403b-8bd6-67e1c3c5d7fc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "72ac985f-2440-43f4-9292-88566f784f34",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "42ee1865-b14c-47c9-b08f-ea4ec48bd33d",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "7a1a0d42-2e55-4b51-b7ca-2328231a0567",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "89e9b711-71c2-4a9a-99d3-f3f88a8ce1d2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0c02ce27-a6e9-48c5-8cdb-fc13e9c82860",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "85b75469-d90e-4bf3-8138-fea241cb2426",
"FieldId": "ca60ab73-99a0-4915-ae78-3951b71d717a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "85b75469-d90e-4bf3-8138-fea241cb2426",
"FieldId": "ca60ab73-99a0-4915-ae78-3951b71d717a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-13T15:56:19.9723742-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e428612b-9a24-4733-9ada-45b920d03ac2",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "78b47d5a-fa21-40a2-84b5-c6d0ae6ed137",
"CreateDate": "2026-03-13T15:56:19.9723742-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-13T15:56:19.9723742-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}