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": "cc79e573-4680-4ebd-bf03-f4532dc3b801", "Asset": { "AssetId": "6d72556a-eba0-48f2-baa1-97c367f5410a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e6904d07-f02f-4f54-b929-f5f096f3c392", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fff43c5a-5788-491d-86fc-2c64873428d8", "CreateDate": "2024-12-21T15:59:52.8110898-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T15:59:52.8110898-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ffce035c-fffc-4096-882e-c6a12dbafcae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T15:59:52.8110898-08:00", "MeasurementValueNeededDate": "2024-12-21T15:59:52.8110898-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4924c65f-8c88-4bac-b5f6-b75c8bb4f5a2", "CreateDate": "2024-12-21T15:59:52.8110898-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T15:59:52.8110898-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T15:59:52.8110898-08:00", "MeasurementValueNeededDate": "2024-12-21T15:59:52.8110898-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2023827d-17ee-4718-a2e7-e92d46e714c0", "CreateDate": "2024-12-21T15:59:52.8110898-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T15:59:52.8110898-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-12-21T15:59:52.8110898-08:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "fcc75d69-1efc-433b-804f-4338cc5e71e8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e6904d07-f02f-4f54-b929-f5f096f3c392", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fff43c5a-5788-491d-86fc-2c64873428d8", "CreateDate": "2024-12-21T15:59:52.8110898-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T15:59:52.8110898-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "3effa217-4083-4841-9ae7-a98c2ff27787", "Name": "sample string 1" }, "Unit": { "UnitId": "34aa9338-67df-432b-ac0a-a31171bb8e50", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3c6d7961-71e2-4c4c-881b-d458fe0234cf", "CreateDate": "2024-12-21T15:59:52.8110898-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T15:59:52.8110898-08: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-12-21T15:59:52.8110898-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "e2737443-5e6f-418a-936b-0e925862b069", "CreateDate": "2024-12-21T15:59:52.8110898-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T15:59:52.8110898-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "52c1cd75-d28f-4ecc-838d-0d5fb5c54db1", "CreateDate": "2024-12-21T15:59:52.8110898-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T15:59:52.8110898-08: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": "2cd43117-a237-48b6-a121-0483673e4440", "Asset": { "AssetId": "82472286-24b4-458c-879d-cc6c59cd6db9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f5e98702-f4c8-4e05-8fee-c949ed758342", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "136317e8-a6f7-4196-bc1e-04cf4f44fc27", "CreateDate": "2024-12-21T15:59:52.8267224-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T15:59:52.8267224-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "8fb275e6-f3c7-44ff-84c1-5d0cfd119c71", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T15:59:52.8267224-08:00", "MeasurementValueNeededDate": "2024-12-21T15:59:52.8267224-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fe9a199e-471b-44d3-8fe3-c49f71474c6c", "CreateDate": "2024-12-21T15:59:52.8267224-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T15:59:52.8267224-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T15:59:52.8267224-08:00", "MeasurementValueNeededDate": "2024-12-21T15:59:52.8267224-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dc4710e7-78ba-4094-8791-8417fbeda006", "CreateDate": "2024-12-21T15:59:52.8267224-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T15:59:52.8267224-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-12-21T15:59:52.8267224-08:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "bf984dd0-13a4-4b80-8184-0b8652243d87", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f5e98702-f4c8-4e05-8fee-c949ed758342", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "136317e8-a6f7-4196-bc1e-04cf4f44fc27", "CreateDate": "2024-12-21T15:59:52.8267224-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T15:59:52.8267224-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "631fc098-1cb9-4215-aa87-88d348bc38a4", "Name": "sample string 1" }, "Unit": { "UnitId": "c09fb8df-9d18-40d7-8f42-46c0973a63f7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d2c6a4bb-f2fd-4ed0-85bc-5bac2f222bef", "CreateDate": "2024-12-21T15:59:52.8267224-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T15:59:52.8267224-08: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-12-21T15:59:52.8267224-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d5f136ec-91f1-453c-b911-739bfa37b0f9", "CreateDate": "2024-12-21T15:59:52.8267224-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T15:59:52.8267224-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9dba51d8-1872-4763-a35a-5ce9d6e7751c", "CreateDate": "2024-12-21T15:59:52.8267224-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T15:59:52.8267224-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }