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": "b95af224-2504-449b-826a-50c0dc4755b0", "Asset": { "AssetId": "9e9740c7-bd49-4ee5-9037-5ca0f772c305", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "43b90d5b-ad10-4c13-b63a-d8911c47397f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "253696ef-f39d-43cc-995f-98aca667c51a", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "70f6d9e2-e47c-40d1-91ae-0a3b1e9652d0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "MeasurementValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f70b0e5f-581e-422a-8d6d-409e772f7449", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "MeasurementValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "527f0b7c-16d2-4a04-9e29-f5116084de22", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-06-02T07:23:59.2890347-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "8ec2f32e-045c-4db8-9b1a-adb4a69fcac7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "43b90d5b-ad10-4c13-b63a-d8911c47397f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "253696ef-f39d-43cc-995f-98aca667c51a", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "72b98638-e80c-4c80-a3b9-b700d209d35d", "Name": "sample string 1" }, "Unit": { "UnitId": "1716c78f-3a22-4111-9ca4-8931bba8cab4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "873afa00-ae8d-4d5b-be31-d72b54984e3c", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "05d17725-1eac-4ff9-85c2-f11724a3ae2b", "FieldId": "69b4753f-4bf0-49e0-b4a4-14033fe0883b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "05d17725-1eac-4ff9-85c2-f11724a3ae2b", "FieldId": "69b4753f-4bf0-49e0-b4a4-14033fe0883b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f04bf6ed-ab4d-4ca9-9440-31dd0aedfe20", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "b87cc094-91f2-4d5e-a7ca-64b8122cf1be", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07: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": "f9efa94d-61bb-431d-b849-2c9d1e375b58", "Asset": { "AssetId": "f12420b8-bd2c-4283-bef7-831aaea5dd2f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bcec17b3-a4bf-481e-a62e-d7d1f25f4d10", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7e5bedb4-d8e7-4571-8b56-37e6505f284b", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "08a891d6-dca2-4312-b59a-5f1f7237c285", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "MeasurementValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "SourceSystemId": "sample string 3", "CompanyId": "24c4185f-990d-4df4-bb11-b24180fcae7e", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "MeasurementValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b16b2585-9d4b-4bd5-af9d-0c6800180203", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-06-02T07:23:59.2890347-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "bb638aa1-eef0-425b-8b29-638d5bff4dbc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bcec17b3-a4bf-481e-a62e-d7d1f25f4d10", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7e5bedb4-d8e7-4571-8b56-37e6505f284b", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "b3462f99-573d-4e32-8388-f0193e23db7c", "Name": "sample string 1" }, "Unit": { "UnitId": "24fbbc6f-1645-46e6-bc35-3c930db811fd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a77204f5-4ae4-4542-91f8-536d1e3453de", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "18383c43-35d7-4922-b0cd-2c6ada735a24", "FieldId": "03310835-7c00-48bb-a7af-94e4f464f31d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "18383c43-35d7-4922-b0cd-2c6ada735a24", "FieldId": "03310835-7c00-48bb-a7af-94e4f464f31d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T07:23:59.2890347-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ef650857-0c15-4ac4-b8f2-de49706670db", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "3a2ee1c7-7d26-494a-8ffb-c0ac5b0c71d1", "CreateDate": "2025-06-02T07:23:59.2890347-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-06-02T07:23:59.2890347-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }