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. |
|
DisplayText | 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": "d9afd71d-06cf-46d8-a80e-81684dd5b7e2", "Asset": { "AssetId": "b5741122-8330-4bf1-b5ba-121f46119042", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "546effb6-24fc-4aec-b857-2c508483e557", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3ae0aca2-ea6a-40e0-81b8-04f4303ebd49", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f88ca37b-a2f1-4677-9296-285f92f3f1d6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "MeasurementValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "SourceSystemId": "sample string 3", "CompanyId": "616de7f8-5401-448d-8e2e-71a6a8ddef65", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "MeasurementValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ba8af92e-b206-4869-85f7-5f5d0d03fde8", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-22T02:47:13.2616025-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "ee2a699c-334e-4fc7-80c5-2926868c5f41", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "546effb6-24fc-4aec-b857-2c508483e557", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3ae0aca2-ea6a-40e0-81b8-04f4303ebd49", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "229c0238-2068-4558-a24b-af0b12ac086d", "Name": "sample string 1" }, "Unit": { "UnitId": "1cdc4c75-385f-4d61-bea5-17482870d943", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "29139ac7-9bf3-4ec6-a6f1-5390d04af2a9", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "275c1656-3ce6-4219-b4a4-cfd141773ae7", "FieldId": "07bd3732-5c28-4210-9ef4-c590cd544524", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "275c1656-3ce6-4219-b4a4-cfd141773ae7", "FieldId": "07bd3732-5c28-4210-9ef4-c590cd544524", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "7051fc29-27f2-42ad-ba8a-273434f596ff", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "a7166ee4-0c0b-440e-817b-d85a9846b39b", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 9" }
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": "a962f77f-28b4-47c6-8958-87f34c537cc3", "Asset": { "AssetId": "b1d1ae42-c5d8-4728-819b-4dd97c6dc6f1", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "083e3cb0-7e46-4b5a-8bc5-c3fd0cb8d90f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e64b006f-7f42-46d2-95d1-3482bcea83ed", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "4995bf93-c80f-4d06-b4ce-e90df2774745", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "MeasurementValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e996eb05-005b-4d67-998f-33c3525cd1d9", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "MeasurementValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "072673fa-e3dd-4be6-86ce-461bb6c4328b", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-22T02:47:13.2616025-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "8e1526c1-c8db-4898-aaee-bb0372dea772", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "083e3cb0-7e46-4b5a-8bc5-c3fd0cb8d90f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e64b006f-7f42-46d2-95d1-3482bcea83ed", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "20ebf933-2d34-4f97-af14-ba652fbc4d17", "Name": "sample string 1" }, "Unit": { "UnitId": "f56a38c4-429f-4359-97a3-9dc61b73f045", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "68a8ea44-a91d-4d52-b408-664d4f020389", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c6b892f5-e4d7-4890-8179-5ab17b65a44b", "FieldId": "321a0517-e861-4cbb-a04b-3815478aa492", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c6b892f5-e4d7-4890-8179-5ab17b65a44b", "FieldId": "321a0517-e861-4cbb-a04b-3815478aa492", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:47:13.2616025-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5e46a5e1-1298-4708-9399-0bddf0a43d30", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "db278326-d4d0-47cc-8210-73e1fff44d89", "CreateDate": "2024-12-22T02:47:13.2616025-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-22T02:47:13.2616025-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }