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": "bece824d-4aa1-4455-9a1a-0d3a669eeea7",
"Asset": {
"AssetId": "1cc6ab20-f7d5-4493-95cf-5e4fc5ae8172",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "fe9addb2-9e6f-4c97-83ac-30ded69d9912",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "04747a88-0b34-4cb6-a516-8d44053aeef0",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "6110fd12-dd49-48c8-b04a-37f5a3d10d91",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b188c4c4-8606-4a6c-930e-de0e2d7dd7a1",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6cc951e0-9ea2-46a3-99d7-1b800db0e54a",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-30T08:51:09.8691497-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "904ce9fb-410f-48b6-82f5-00d0a6da770b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fe9addb2-9e6f-4c97-83ac-30ded69d9912",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "04747a88-0b34-4cb6-a516-8d44053aeef0",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "80b6c354-2143-4173-acbe-71dc59d5d3f1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0b0a2d8d-24ac-4c81-9384-d0fa391fe485",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2e33b1c9-ebc6-4be6-acf7-f2dc172774a7",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "370491b2-fc77-4be2-857a-6f266cb3b9db",
"FieldId": "23198fdb-9b39-4a2d-a480-44ca7fcb0ff1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "370491b2-fc77-4be2-857a-6f266cb3b9db",
"FieldId": "23198fdb-9b39-4a2d-a480-44ca7fcb0ff1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9b7d2168-cc89-4d90-84be-0dcfb652cddc",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "f17c56b8-c5d1-4008-9c6d-c09a52f8e038",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-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": "add4d73e-e99c-4642-835d-389405787845",
"Asset": {
"AssetId": "a8d5f22d-80b2-4071-af7e-7381c00c048e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d49edbd3-484d-4309-b87f-16af721462f0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1eaf77d6-4d7c-4b09-9e15-ad4974f60a3c",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "bbb6de00-96de-44ea-9d2f-1f9f1b80c1a1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3f698a91-e192-43cd-95bc-70481ee1bfc8",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "adc6ec69-8d85-4bf6-bc75-554e628f2c45",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-30T08:51:09.8691497-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "2687fa51-edd3-49a3-abe2-e6195fe37c73",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d49edbd3-484d-4309-b87f-16af721462f0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1eaf77d6-4d7c-4b09-9e15-ad4974f60a3c",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "13a882f1-85b2-4ba5-bf5e-e06fe191e937",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7e94ebe4-5675-45ea-ba06-d0589693a569",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c0665eaa-691b-4051-8b72-d1a7a7cd10f5",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b868fc79-4ab9-4d49-9cf1-1708f85d72a6",
"FieldId": "6c42ec32-aea6-4c5c-8679-6d22a5da767d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b868fc79-4ab9-4d49-9cf1-1708f85d72a6",
"FieldId": "6c42ec32-aea6-4c5c-8679-6d22a5da767d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-30T08:51:09.8691497-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "233ad004-4979-405b-bbeb-e4b1acff4597",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "495f0cda-4cc8-4584-b820-0d3b4f61c489",
"CreateDate": "2025-12-30T08:51:09.8691497-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-30T08:51:09.8691497-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}