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": "cbf022ab-4652-4159-a3fb-1fd49132a7bf", "Asset": { "AssetId": "8d4fc6a6-9a9b-4573-91cb-c4a704c1b8d9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "de02d2c7-7923-4fb1-b78c-b1f2fa5718d9", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "30c97756-dd30-4436-9a33-275436e0cedb", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e2daf8ba-ca81-4fa4-938e-1ca174d74ce0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f8234ecd-4bd7-4cd9-a617-a72982ddd25c", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c73be161-2362-41b0-b587-1cb313551da2", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2025-08-30T12:56:03.8106807-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "4f9c8985-bc5b-4313-9448-b13e35948c40", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "de02d2c7-7923-4fb1-b78c-b1f2fa5718d9", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "30c97756-dd30-4436-9a33-275436e0cedb", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "a2b719eb-4dbf-4063-880d-bf6c1ad5c99d", "Name": "sample string 1" }, "Unit": { "UnitId": "e43d4c9a-2224-4d0f-940a-456f58a721b0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b5a1fb27-30ea-49f5-9918-572f11e96c81", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.8106807-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": "2025-08-30T12:56:03.8106807-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5c6d0554-8ba6-4276-b053-6b320f4c6ab2", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6eefe8a5-f62b-4949-9498-7f894590a849", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.8106807-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": "678ab3c2-65cd-48e4-9a2f-33d6b2cb00af", "Asset": { "AssetId": "01043b06-ff63-44c1-b61d-15c053960197", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "fd62482a-ecae-4a30-a1f0-ebab01055571", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d6491877-0223-4d93-ba45-431001dd8091", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f4051aeb-2a19-4da2-ad90-74ffc9cf4223", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "SourceSystemId": "sample string 3", "CompanyId": "90721e19-0441-492e-9d0b-36782a5f7daa", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.8106807-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "78dc46db-175e-44f1-bd55-785f1706985a", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2025-08-30T12:56:03.8106807-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "ea70c2cc-77e3-4584-a002-89dc80b5f748", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "fd62482a-ecae-4a30-a1f0-ebab01055571", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d6491877-0223-4d93-ba45-431001dd8091", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "640b22ce-5a37-4cea-a283-ba5e8071dbb9", "Name": "sample string 1" }, "Unit": { "UnitId": "cb0831cf-8cb2-4fe7-9e06-cc0dc1dbc0b0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "049e7d41-6f51-4cd2-853f-352b71b05657", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.8106807-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": "2025-08-30T12:56:03.8106807-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "9fcd30ff-59ef-408b-a789-f958867fd208", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "584d362c-d501-444b-985c-ff72a5031967", "CreateDate": "2025-08-30T12:56:03.8106807-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.8106807-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }