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. |
|
| 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": "9905be0e-645d-4698-b0c0-b8769c6f85a2",
"Asset": {
"AssetId": "81458365-c472-4e4d-988c-775ac34c1fa0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f38f7ba6-9307-46d7-acb8-2d2a9b329206",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e059f98f-cff5-43cc-863e-fbb41dab3e77",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "e41b6bb1-7c97-4d16-917a-4697f1991111",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"MeasurementValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d9b96038-8f01-4039-baa9-5a63f48f55c2",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"MeasurementValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "79f890e1-9fef-497e-ad32-3190cb434711",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2025-11-05T00:54:43.9050789-08:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "31ade80c-1981-44d2-902a-9369c733b7d0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f38f7ba6-9307-46d7-acb8-2d2a9b329206",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e059f98f-cff5-43cc-863e-fbb41dab3e77",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0146a242-9f39-472c-9473-660a8fc69e7a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5ace553e-0d34-4b56-a028-5d6073ce30f2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "339f4cff-4be7-4da5-acbb-5899b669f16f",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bf7327d3-a766-4f88-a628-ca8e8c719119",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "97d163da-9e7e-49eb-9ab1-9757556d5936",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 8"
}
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": "3554f54f-f8d6-4ea7-b362-f28f8d0d0917",
"Asset": {
"AssetId": "deca7e88-eee1-496a-bd07-f16b8016cbef",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "af7fbffa-fb1d-4b54-af1a-d9f833eb717b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5e324a4b-502f-4cce-99cc-3f1418703bd3",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ef270a8b-0a96-45d0-a651-9c666c354396",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"MeasurementValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7e122b00-d793-497a-a381-5b333df1b81d",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"MeasurementValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b4c25620-5310-46c2-81bb-22ff18662145",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2025-11-05T00:54:43.9050789-08:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "7c16c4f1-f79f-4c01-b6dc-721ff2ef4934",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "af7fbffa-fb1d-4b54-af1a-d9f833eb717b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5e324a4b-502f-4cce-99cc-3f1418703bd3",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "b470c6e2-a034-44cc-b840-f2f759da8d82",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c0a981d8-7967-467a-a715-75e873f63129",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "16a0448b-11ce-4542-b52e-22b87ad6fff4",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-05T00:54:43.9050789-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "be99213d-d39c-4226-8eaf-4758f22e4719",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a1ca3618-e61c-4471-9379-df63a31ff97e",
"CreateDate": "2025-11-05T00:54:43.9050789-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T00:54:43.9050789-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}