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": "2b2fbd45-bc00-41dc-88ae-8f1770d6a783", "Asset": { "AssetId": "c9b6395d-14d5-4b17-959e-4580f5e15a4d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a895bbd3-0a28-465f-9853-63d2ad239868", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9272ac0c-af28-4bdb-b753-1edb92b5346d", "CreateDate": "2024-04-19T18:43:23.9228068-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T18:43:23.9228068-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "7239764c-642e-479d-84b5-1e13f553a960", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-19T18:43:23.9228068-07:00", "MeasurementValueNeededDate": "2024-04-19T18:43:23.9228068-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f43e42ae-53cb-4b88-a473-22f0975938a8", "CreateDate": "2024-04-19T18:43:23.9228068-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T18:43:23.9228068-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-04-19T18:43:23.9228068-07:00", "MeasurementValueNeededDate": "2024-04-19T18:43:23.9228068-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2ea3ba11-b4fd-4cd8-9745-9dd648f7e423", "CreateDate": "2024-04-19T18:43:23.9228068-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T18:43:23.9228068-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-19T18:43:23.9228068-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "51b41a01-7562-4e67-a3f1-0cdb89dec41f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a895bbd3-0a28-465f-9853-63d2ad239868", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9272ac0c-af28-4bdb-b753-1edb92b5346d", "CreateDate": "2024-04-19T18:43:23.9228068-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T18:43:23.9228068-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4628ec94-bd71-41f6-9ec6-28a3d3bb95c6", "Name": "sample string 1" }, "Unit": { "UnitId": "7fb2cb80-fdb1-4218-a7e3-c1290c39f9d5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fc5a8a65-a435-4803-83c3-1db6fa7d0d1b", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T18:43:23.9384304-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-04-19T18:43:23.9384304-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "309dd8df-421e-4829-b7e9-4d515c26451e", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T18:43:23.9384304-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "39e8966e-d8aa-49c7-91b0-2cd419083b5b", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T18:43:23.9384304-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": "73ff7b13-ac92-4b0b-bd78-1054193a480c", "Asset": { "AssetId": "4b461e96-46c3-4d4a-8b0d-310d7e6e08e0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b8373b74-9e6d-42d2-a290-72452547d346", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e057fe6-e0ec-41ab-8d0f-e6f693ca62bb", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T18:43:23.9384304-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "11ae3bd9-543d-43c1-a309-ca1161de030f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-19T18:43:23.9384304-07:00", "MeasurementValueNeededDate": "2024-04-19T18:43:23.9384304-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8c500e3b-ae2c-4ab0-af1c-b50d467f7838", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T18:43:23.9384304-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-04-19T18:43:23.9384304-07:00", "MeasurementValueNeededDate": "2024-04-19T18:43:23.9384304-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f0d5d146-7bc4-4cb2-ab15-6f078e8b2cb5", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T18:43:23.9384304-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-19T18:43:23.9384304-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "2a99b52d-f2a8-49d3-a7e4-f7eb7bb6cdc8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b8373b74-9e6d-42d2-a290-72452547d346", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e057fe6-e0ec-41ab-8d0f-e6f693ca62bb", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T18:43:23.9384304-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "b72e0bb1-e684-49e5-8b21-a177280a7a6b", "Name": "sample string 1" }, "Unit": { "UnitId": "c2a5e481-8e36-45eb-af07-f1ead56d04bd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1dbe13cc-8838-449d-be9f-537b9d5ef045", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T18:43:23.9384304-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-04-19T18:43:23.9384304-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "04a10d24-7d3c-4fa3-83f0-f7c251a27fc2", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T18:43:23.9384304-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3d99a595-5c5c-43c3-b969-c2f1aad3824b", "CreateDate": "2024-04-19T18:43:23.9384304-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T18:43:23.9384304-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }