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": "e52db136-b82b-4499-be4c-0cb76f5e50df", "Asset": { "AssetId": "44852150-8e80-473d-b7d9-5e6d18bfae49", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a3135d7f-4ab5-487e-92f1-99ab9acb4a4b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "63843685-c3c5-47f1-a6f9-0e31d75065f5", "CreateDate": "2025-08-24T10:11:27.0137979-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:11:27.0137979-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "6dbb4f0f-3f9a-4a95-af54-f0e77273f9a0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-24T10:11:27.0137979-07:00", "MeasurementValueNeededDate": "2025-08-24T10:11:27.0137979-07:00", "SourceSystemId": "sample string 3", "CompanyId": "068fe040-b301-40c6-a3ff-88cc6f22545a", "CreateDate": "2025-08-24T10:11:27.0137979-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:11:27.0137979-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-24T10:11:27.0137979-07:00", "MeasurementValueNeededDate": "2025-08-24T10:11:27.0137979-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "eccf4448-4e52-47a3-9086-12d73132642a", "CreateDate": "2025-08-24T10:11:27.0137979-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-24T10:11:27.0137979-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-08-24T10:11:27.0137979-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "fbea08b3-0e7e-4fbd-8e71-fd1b1ed71ce4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a3135d7f-4ab5-487e-92f1-99ab9acb4a4b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "63843685-c3c5-47f1-a6f9-0e31d75065f5", "CreateDate": "2025-08-24T10:11:27.0137979-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:11:27.0137979-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "d1695e8f-9caa-4ed0-8999-c0463c24b579", "Name": "sample string 1" }, "Unit": { "UnitId": "14d0d62c-fa49-47e8-8d80-8974e18ff8c4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8fa76013-a671-4d56-8bd8-64d8bc43fa72", "CreateDate": "2025-08-24T10:11:27.0137979-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:11:27.0137979-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2dd64418-dfd3-4cbb-8ae9-a83a5dc63f47", "FieldId": "d69ef3ba-045e-4abf-bc6c-8fcc99058aa4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2dd64418-dfd3-4cbb-8ae9-a83a5dc63f47", "FieldId": "d69ef3ba-045e-4abf-bc6c-8fcc99058aa4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-24T10:11:27.0137979-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "56698035-a7f5-44c8-98ed-dd378dc1480d", "CreateDate": "2025-08-24T10:11:27.0137979-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-24T10:11:27.0137979-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "76e481cc-4e00-44a5-b982-7508a112a929", "CreateDate": "2025-08-24T10:11:27.0137979-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-08-24T10:11:27.0137979-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": "01ca79d0-c7f8-4b4a-8a55-453494676e3a", "Asset": { "AssetId": "07b19ceb-d0cf-45b0-9e09-f998427294a6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d9bd5960-7714-40cb-84b4-b736d2888705", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "34911402-022f-41cd-9b79-6acc8f3fb9b2", "CreateDate": "2025-08-24T10:11:27.0294096-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:11:27.0294096-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "fc020e0a-4e16-4aa2-9646-51c28447b0aa", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-24T10:11:27.0294096-07:00", "MeasurementValueNeededDate": "2025-08-24T10:11:27.0294096-07:00", "SourceSystemId": "sample string 3", "CompanyId": "791725a6-81fd-4787-963f-bf411fbd0562", "CreateDate": "2025-08-24T10:11:27.0294096-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:11:27.0294096-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-24T10:11:27.0294096-07:00", "MeasurementValueNeededDate": "2025-08-24T10:11:27.0294096-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2fa7c250-adcc-4ae4-8f8a-95018fef2550", "CreateDate": "2025-08-24T10:11:27.0294096-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-24T10:11:27.0294096-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-08-24T10:11:27.0294096-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "f79bbf4d-c30c-46ea-9e4c-d4b03019f9ac", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d9bd5960-7714-40cb-84b4-b736d2888705", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "34911402-022f-41cd-9b79-6acc8f3fb9b2", "CreateDate": "2025-08-24T10:11:27.0294096-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:11:27.0294096-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "be1c1063-747c-43a9-a6f5-e1d7013b936b", "Name": "sample string 1" }, "Unit": { "UnitId": "1a4ec709-61a9-40a1-9b54-f042c5548183", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0fb325f9-2d91-4465-b827-ef34b1a878a0", "CreateDate": "2025-08-24T10:11:27.0294096-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:11:27.0294096-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7bd6128c-b808-43de-89df-068fa1a64c12", "FieldId": "d3397544-b1f0-4874-aa53-dbfad67b6e6d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7bd6128c-b808-43de-89df-068fa1a64c12", "FieldId": "d3397544-b1f0-4874-aa53-dbfad67b6e6d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-24T10:11:27.0294096-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "b694192b-065f-4946-8917-55ab0c42b1c9", "CreateDate": "2025-08-24T10:11:27.0294096-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-24T10:11:27.0294096-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "2f595b23-8508-46d3-acdb-80413f4feb84", "CreateDate": "2025-08-24T10:11:27.0294096-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-08-24T10:11:27.0294096-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }