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": "df39a027-ee5a-4858-acea-2307260ac927", "Asset": { "AssetId": "6553be2c-bd11-4f4d-b292-820693567fc2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f327743d-a078-44a6-b675-5af5d15e2ad5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "90673e10-442c-4070-aef6-77e8546f5dd0", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "18019e06-e3a4-4d73-ad0e-083cceba2492", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "MeasurementValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b7c8b8a9-e044-4878-ab2d-21c1572ec601", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "MeasurementValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "88f0bf9a-15db-422b-9c37-f2633fa9b0eb", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2025-04-25T02:39:07.9791897-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "c1c84f5e-5ecc-47c8-b341-9e3ee2749bd4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f327743d-a078-44a6-b675-5af5d15e2ad5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "90673e10-442c-4070-aef6-77e8546f5dd0", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4d79334d-ad37-4969-9ec3-6364027c9c19", "Name": "sample string 1" }, "Unit": { "UnitId": "b0ea8e4c-d88c-4e26-a063-7dab61bb87e3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6df6469f-a9dd-410f-9939-260c827aabb4", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T02:39:07.9791897-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-04-25T02:39:07.9791897-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "4ff347d9-6c77-42d3-9841-559a87ab6804", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "50ad6495-70b2-4580-86b0-5d22ef36d5a8", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T02:39:07.9791897-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": "0ac6c76c-bae9-4a49-b757-a5d8e77f93cb", "Asset": { "AssetId": "b4098d17-1b6b-439d-aec1-95586630bb40", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "af740f83-3fbc-4c8b-a0de-0ca82b41b0dd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c6fb8eaa-6111-4526-89a3-98e98389b212", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "cb000f42-d60d-44b9-a3ce-40896ddaf76a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "MeasurementValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ce87d493-44ca-4314-8638-b8c94946fe62", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "MeasurementValueNeededDate": "2025-04-25T02:39:07.9791897-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b2bd8d74-1876-44f4-9e9a-23810500df6e", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2025-04-25T02:39:07.9791897-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "d4734d29-1384-4162-81d4-e4464730b5b1", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "af740f83-3fbc-4c8b-a0de-0ca82b41b0dd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c6fb8eaa-6111-4526-89a3-98e98389b212", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "30293906-f7d1-4e56-9863-98f15474c26d", "Name": "sample string 1" }, "Unit": { "UnitId": "ab5376df-db7a-4016-a627-c629a37e0099", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "955aa42c-fbb7-4bb0-be2f-70b014504faf", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T02:39:07.9791897-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-04-25T02:39:07.9791897-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "e1cd6f00-873f-4d55-8829-3643f87a8928", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "72a288a3-cb3f-4bf5-8dd6-182a62340cd9", "CreateDate": "2025-04-25T02:39:07.9791897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T02:39:07.9791897-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }