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": "45c20567-d387-40a4-b2a3-4900d2addbbb",
"Asset": {
"AssetId": "fe3b1160-3b7c-4777-97a1-a74d295fa948",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a0fc57b0-bc00-41af-ad99-b9283f7ce5f8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "297b1da9-7978-4a1c-a30f-42fcdbde6bce",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "dccf93bc-0ee0-40d4-ad6c-c8d039c812fa",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"MeasurementValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3c40466b-79e2-4993-8b71-7c6db68e33e3",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"MeasurementValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9bac3b72-eea0-4474-8c0a-55c0c1d00d9c",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-09-02T00:32:42.0005163-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "e68bf7f6-75ff-4dcc-9603-6fefac6d79bf",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a0fc57b0-bc00-41af-ad99-b9283f7ce5f8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "297b1da9-7978-4a1c-a30f-42fcdbde6bce",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "d48864f2-5f69-4e22-bef6-4792900ff242",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ed9d84f8-eac4-42aa-a0be-debe7b05ec89",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8d10a340-b11c-4ac3-ada8-3f9e5039a947",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "781c32c6-24ca-48ff-9cd3-6d4f8364c6d9",
"FieldId": "38b99f5d-8e0a-4bae-8ed1-eaeedcc037c4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "781c32c6-24ca-48ff-9cd3-6d4f8364c6d9",
"FieldId": "38b99f5d-8e0a-4bae-8ed1-eaeedcc037c4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d1168833-8ab5-4cf8-adaa-27933c80622c",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "c46ca49b-0b37-4e1e-9589-cfd8b880d8ba",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-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": "7e15b6a8-47a8-4e54-9ca9-6cebfbef6e38",
"Asset": {
"AssetId": "8f610295-840f-4d75-8a25-a656c276913f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a0f1276f-d2b5-4384-9360-2c9dc34f5c0c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b3687e9b-9f92-4666-87c1-5f2c3aea0c36",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7dec7c1a-3627-435a-a0e4-56d7f2abc43c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"MeasurementValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "362a90b6-9693-4b02-83d1-abaecac76770",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"MeasurementValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8dd5f994-3387-4370-921c-d9f2f28a7da9",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-09-02T00:32:42.0005163-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "f5c050d4-5efd-46ad-b12c-25d1017f881e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a0f1276f-d2b5-4384-9360-2c9dc34f5c0c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b3687e9b-9f92-4666-87c1-5f2c3aea0c36",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6e0bed1a-1b42-4492-9201-7c55853a2d0a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "93dd4784-f525-48b2-9e7e-e893d3c59b9f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c3ae015e-c023-4140-8cd2-164cfb9cfe96",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e2f3e315-2a5b-46c5-9979-c262030318d7",
"FieldId": "52b10267-8b73-4c6c-b521-979e83987498",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e2f3e315-2a5b-46c5-9979-c262030318d7",
"FieldId": "52b10267-8b73-4c6c-b521-979e83987498",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-02T00:32:42.0005163-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f38d3a09-79f2-4ffd-a27f-992a7788b4cd",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "ffa28d3b-e11a-4fd6-b343-51dc999f3ff6",
"CreateDate": "2026-09-02T00:32:42.0005163-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-09-02T00:32:42.0005163-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}