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": "853adf28-3983-4b56-9642-7e29acce541a",
"Asset": {
"AssetId": "47768257-0259-4756-a35d-892afcd406c7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "600bcd3c-579a-47f8-861c-82bd3c104086",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8c031a2d-3569-42fa-893c-8592d1482a47",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "1d93d856-d2ad-4213-8ed3-da1c6ca90723",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d2e5c703-04c0-47b9-bd5b-0c5f80120005",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8f9bd046-d7e8-4d67-bc19-8fc6ea45c97e",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-10T05:03:27.9183562-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "aeb859ba-e4ad-44c7-a43d-7fa6eead6259",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "600bcd3c-579a-47f8-861c-82bd3c104086",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8c031a2d-3569-42fa-893c-8592d1482a47",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "94594b06-db54-41c1-aad1-393400ac46f6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b277054b-1889-4a31-96ff-899b33a3d4ff",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27d7dcb7-79fc-4a5e-bf6b-994a78bce0fe",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f09f70ef-4711-4b71-bf69-70a83ae1c51f",
"FieldId": "ba787e09-43cf-4dbf-8b1b-49b32878511c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f09f70ef-4711-4b71-bf69-70a83ae1c51f",
"FieldId": "ba787e09-43cf-4dbf-8b1b-49b32878511c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f5ef6db8-b46c-4e72-bbcc-9239c1f2d247",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "2e086788-cece-4877-a72e-a022d8f853cb",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-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": "0690ddf6-a677-4e65-8e65-d0bad4bdc670",
"Asset": {
"AssetId": "42aee26f-96ea-442a-bd53-5b6654349876",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1c370947-1d61-4ddd-997c-99e722a93469",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2b5f4a19-3433-41ed-97a4-90b41b202d67",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "0eb222ae-f0bd-442d-b215-8c002653639a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0987bb2a-fe34-4ed9-a9fb-f70b3f0922ba",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "20779d10-6d54-4acf-badc-7d80a1656ad7",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-10T05:03:27.9183562-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "49e1aded-e0b6-4c5c-9873-f1c916046d44",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1c370947-1d61-4ddd-997c-99e722a93469",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2b5f4a19-3433-41ed-97a4-90b41b202d67",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "410bfeea-989e-43d1-abbf-27da404f0ce5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c61f4156-969e-4070-a75c-c93b1d06162f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7315a407-69d1-4117-8788-721aec8875e6",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a138ad14-d6a7-466f-99e8-32b24378cb4f",
"FieldId": "2e744baa-8806-4a3f-874b-925025406fe8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a138ad14-d6a7-466f-99e8-32b24378cb4f",
"FieldId": "2e744baa-8806-4a3f-874b-925025406fe8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-10T05:03:27.9183562-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "26145ecf-e2f0-46b4-82e6-47718cbd1822",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "38f985f9-7c92-4fb0-af76-8fc002d7fa39",
"CreateDate": "2025-12-10T05:03:27.9183562-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-10T05:03:27.9183562-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}