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. |
|
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": "7e9df6fe-2a84-4bc6-ae60-aecc907394ea", "Asset": { "AssetId": "3b698db0-0bb1-480b-aada-4758a8c96201", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7e12b7fe-6966-4302-8a52-9b12cdb725bd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cd11fffc-20b3-43b7-a5ce-b4aad979fa06", "CreateDate": "2024-10-10T04:01:34.9630078-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T04:01:34.9630078-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "db6e35b6-cda7-425e-a6dd-6599904a20c5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T04:01:34.9630078-07:00", "MeasurementValueNeededDate": "2024-10-10T04:01:34.9630078-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fd84dfe5-0924-46f4-acea-eb6559bd6ea5", "CreateDate": "2024-10-10T04:01:34.9630078-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:01:34.9630078-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T04:01:34.9630078-07:00", "MeasurementValueNeededDate": "2024-10-10T04:01:34.9630078-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f9a7d559-dcd5-4cab-8de9-dc2936394d23", "CreateDate": "2024-10-10T04:01:34.9630078-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T04:01:34.9630078-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-10-10T04:01:34.9630078-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "8803bf4a-f0ec-44ce-b15b-972fc0260e71", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7e12b7fe-6966-4302-8a52-9b12cdb725bd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cd11fffc-20b3-43b7-a5ce-b4aad979fa06", "CreateDate": "2024-10-10T04:01:34.9630078-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T04:01:34.9630078-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "aa073e82-5dce-499d-90c9-73f74b3a966f", "Name": "sample string 1" }, "Unit": { "UnitId": "2e64e388-fff9-422b-b782-388620f9c5f3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "86c07a65-ef78-4930-b5f0-610f8ab304e9", "CreateDate": "2024-10-10T04:01:34.9630078-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:01:34.9630078-07: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": "2024-10-10T04:01:34.9630078-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "b7974ac4-95a5-47c1-885c-5f25ea41b9bc", "CreateDate": "2024-10-10T04:01:34.9630078-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T04:01:34.9630078-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1fee0102-17a9-4649-a0f2-c7eedcba6933", "CreateDate": "2024-10-10T04:01:34.9630078-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T04:01:34.9630078-07: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": "0a9db35e-bdb4-41a6-bbb8-4896f407c86a", "Asset": { "AssetId": "e67419f8-31b1-4f8e-8233-6549c93e02b6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4aa7e3c8-e045-43c6-883d-9203e8919897", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "aae50b24-7f49-4658-ba3c-ceacb17f7367", "CreateDate": "2024-10-10T04:01:34.9785157-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T04:01:34.9785157-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "170d3d1c-d9f2-4b5b-baac-7a22fab56c58", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T04:01:34.9785157-07:00", "MeasurementValueNeededDate": "2024-10-10T04:01:34.9785157-07:00", "SourceSystemId": "sample string 3", "CompanyId": "e321c198-a17b-4726-bbe1-108f7003503e", "CreateDate": "2024-10-10T04:01:34.9785157-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:01:34.9785157-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T04:01:34.9785157-07:00", "MeasurementValueNeededDate": "2024-10-10T04:01:34.9785157-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1174941a-1745-41ea-8db3-928c6ccd35dc", "CreateDate": "2024-10-10T04:01:34.9785157-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T04:01:34.9785157-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-10-10T04:01:34.9785157-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "7e46714d-7678-4cd7-8ca8-f88df9ec06b8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4aa7e3c8-e045-43c6-883d-9203e8919897", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "aae50b24-7f49-4658-ba3c-ceacb17f7367", "CreateDate": "2024-10-10T04:01:34.9785157-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T04:01:34.9785157-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "fbc54f3b-9f97-4e4a-993d-9548e979eb14", "Name": "sample string 1" }, "Unit": { "UnitId": "a9150453-0308-4485-a0c0-0cfe4b4bbd67", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d5ae3b02-8cf4-4ba2-a9ca-cb38c6b8bdee", "CreateDate": "2024-10-10T04:01:34.9785157-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:01:34.9785157-07: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": "2024-10-10T04:01:34.9785157-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "89dc722b-f7d8-4d29-b42c-0f78692a89cb", "CreateDate": "2024-10-10T04:01:34.9785157-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T04:01:34.9785157-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e6919ca2-6d42-45c6-987f-c45b0f6365ab", "CreateDate": "2024-10-10T04:01:34.9785157-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T04:01:34.9785157-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }