POST Measurements
Creates a new measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to create. MeasurementId should not be filled in.
MeasurementName | 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": "3044b67a-7fd9-48e8-8048-9792754da548", "Asset": { "AssetId": "040ea7d1-33eb-4e82-9415-3db9212cf22e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "831b245d-df93-40e5-ab5d-10bb4cd2aa8a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1c175d8e-a43b-477c-95c9-f84f902788f5", "CreateDate": "2025-08-23T22:43:00.6081864-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:00.6081864-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "25294e01-4caa-4ed0-8176-79f966af5da1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-23T22:43:00.6081864-07:00", "MeasurementValueNeededDate": "2025-08-23T22:43:00.6081864-07:00", "SourceSystemId": "sample string 3", "CompanyId": "e1a89d37-1c8b-4f40-8e90-53330f2d547a", "CreateDate": "2025-08-23T22:43:00.6081864-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:43:00.6081864-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-23T22:43:00.6081864-07:00", "MeasurementValueNeededDate": "2025-08-23T22:43:00.6081864-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "71d219d3-c517-45b2-80a8-89d19fa41a3a", "CreateDate": "2025-08-23T22:43:00.6081864-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-23T22:43:00.6081864-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-08-23T22:43:00.6081864-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "42e1e578-dc54-4d96-bfae-f8581a9058e6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "831b245d-df93-40e5-ab5d-10bb4cd2aa8a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1c175d8e-a43b-477c-95c9-f84f902788f5", "CreateDate": "2025-08-23T22:43:00.6081864-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:00.6081864-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "c44840b6-48f1-43b6-ba56-580b63c6e3a0", "Name": "sample string 1" }, "Unit": { "UnitId": "22dd53c6-b5fa-46ca-b7f9-f8cb4ae2bd28", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cbf8f748-048b-4085-a475-d9125546abd0", "CreateDate": "2025-08-23T22:43:00.6081864-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:43:00.6081864-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "88c0bfe0-fc19-42c7-aeb8-d142c12eef01", "FieldId": "8593e5c8-ea04-400f-969f-2e2e46f98910", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "88c0bfe0-fc19-42c7-aeb8-d142c12eef01", "FieldId": "8593e5c8-ea04-400f-969f-2e2e46f98910", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-23T22:43:00.6081864-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "052c6b28-5e35-41f0-8046-b5c2e165c400", "CreateDate": "2025-08-23T22:43:00.6081864-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-23T22:43:00.6081864-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "9c78f3d1-3187-43a7-9065-39297df557a1", "CreateDate": "2025-08-23T22:43:00.6081864-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-08-23T22:43:00.6081864-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": "fd568b41-8f61-495c-a0ed-749486a31247", "Asset": { "AssetId": "4039fb68-aa7c-4a37-9bc5-962d1d7d6619", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5981dc5e-e4e3-4dec-8f50-cfcefca854de", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "33012993-ff05-4e27-a8a6-8ea7e455158d", "CreateDate": "2025-08-23T22:43:00.6237546-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:00.6237546-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "6d1184c7-cdc1-42a4-b906-85fb10f93527", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-23T22:43:00.6237546-07:00", "MeasurementValueNeededDate": "2025-08-23T22:43:00.6237546-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3c0a0f61-1925-4d65-8319-81cfec0116c3", "CreateDate": "2025-08-23T22:43:00.6237546-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:43:00.6237546-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-23T22:43:00.6237546-07:00", "MeasurementValueNeededDate": "2025-08-23T22:43:00.6237546-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a61821dd-abfa-465e-bd22-709e8155b441", "CreateDate": "2025-08-23T22:43:00.6237546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-23T22:43:00.6237546-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-08-23T22:43:00.6237546-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "b2b87c83-061f-42c7-be47-5674effd86da", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5981dc5e-e4e3-4dec-8f50-cfcefca854de", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "33012993-ff05-4e27-a8a6-8ea7e455158d", "CreateDate": "2025-08-23T22:43:00.6237546-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:00.6237546-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "516c0ef8-200e-40f5-9b86-95ea1276e738", "Name": "sample string 1" }, "Unit": { "UnitId": "d79efe0e-398c-45e1-98d1-dac3d51fd8d2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "37099e35-6678-4dbe-ab74-51b481eb73ca", "CreateDate": "2025-08-23T22:43:00.6237546-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:43:00.6237546-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2e0271d4-97c2-41df-acf6-009886aede47", "FieldId": "e5903d24-dc3d-4a11-bfc1-f731c468ad06", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2e0271d4-97c2-41df-acf6-009886aede47", "FieldId": "e5903d24-dc3d-4a11-bfc1-f731c468ad06", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-23T22:43:00.6237546-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5e51500a-cc46-455c-9cd1-58213b795f06", "CreateDate": "2025-08-23T22:43:00.6237546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-23T22:43:00.6237546-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "3a08758d-43cb-46f6-b547-69e09cda7647", "CreateDate": "2025-08-23T22:43:00.6237546-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-08-23T22:43:00.6237546-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }