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": "5c52fa01-5e2c-45d4-9be1-6e622c95fc5a",
"Asset": {
"AssetId": "fe93c617-f925-4cb8-be27-cb7e1c615e2d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dcdd3150-f988-4602-8163-cd9a0d605964",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2cdbc67d-4ec0-4237-b99a-fedc22358ea3",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "fc5a710c-b0c9-48b9-adda-08fb1af9985e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"MeasurementValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc45b89e-ea24-472c-8292-03472ef5ab56",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"MeasurementValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5dab3812-a20c-4cc4-87e9-14d2f0c20aec",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-06-25T11:07:28.6163707-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "b6ab95a9-69ec-4ff6-9afb-9d03b4aece72",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dcdd3150-f988-4602-8163-cd9a0d605964",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2cdbc67d-4ec0-4237-b99a-fedc22358ea3",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6979e360-c679-477a-b331-edca94d02ca0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "59a30ea3-fe9c-4b30-860d-dcdba9852bea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "635ba138-506e-421a-8947-c4eb33a44d2f",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dc35b745-a74b-4943-9f91-0c52ccbffa7a",
"FieldId": "047d43ba-eacc-4bc3-8008-a9a0e42a9842",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dc35b745-a74b-4943-9f91-0c52ccbffa7a",
"FieldId": "047d43ba-eacc-4bc3-8008-a9a0e42a9842",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d4cff476-43dd-4164-9aac-1bdc29f17e69",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "09a10420-8991-4966-a5f0-002a55b60d88",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-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": "cbabe44a-7ab3-4d0a-a859-08bbf82c4a26",
"Asset": {
"AssetId": "07172b50-8ecd-4034-8f26-ae6a485350d7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "900728db-813d-4a77-b2d4-496d5533404a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6933e8c1-6453-4375-9934-7d5cdd4ec88b",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "642660be-9ee3-4346-a833-ce717d869547",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"MeasurementValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3fd9ee80-758c-4480-b0e1-1c432eb5c0af",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"MeasurementValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b5ae5a0b-af28-4a96-9afe-cdaa6746b708",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-06-25T11:07:28.6163707-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "d769d18f-441e-442d-ad07-e5ca2544599a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "900728db-813d-4a77-b2d4-496d5533404a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6933e8c1-6453-4375-9934-7d5cdd4ec88b",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "081a0143-16eb-432b-841f-d499bb61a8a7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7f918227-af25-4c76-b642-12e7da0fec62",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7a8db978-aa13-4c87-b9b9-56154e5fd650",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5549af5c-90b2-4fd3-91ca-2f40dd50670d",
"FieldId": "e4647047-49b2-4828-9c3b-6e471c7e2561",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5549af5c-90b2-4fd3-91ca-2f40dd50670d",
"FieldId": "e4647047-49b2-4828-9c3b-6e471c7e2561",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-25T11:07:28.6163707-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0ae010e3-791b-46d4-b3b8-602c9c55001e",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "af36dc51-3c5b-47d8-b465-148ce54849b8",
"CreateDate": "2026-06-25T11:07:28.6163707-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-06-25T11:07:28.6163707-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}