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": "960221a7-b958-4a4d-8d6d-86cee6392680", "Asset": { "AssetId": "a9c27784-b987-4ef7-a346-c92b2e3ddbff", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "60494562-043f-4495-92e0-65631a8bfac2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1549e592-25dc-499b-a432-a05a47519316", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "57cef0fb-262c-4fa7-9978-4f12c8cac44e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "MeasurementValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "SourceSystemId": "sample string 3", "CompanyId": "50afe931-3eca-48f9-ba74-1449be099244", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d01c7048-dda4-4ebd-8ade-90a0323d560e", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "StateType": { "StateTypeId": "ce35d6ab-7c11-42cf-bf9b-1f29df960b88", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "60494562-043f-4495-92e0-65631a8bfac2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1549e592-25dc-499b-a432-a05a47519316", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a3ec2285-71b8-4b13-b1eb-2b1bc99d2522", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2fd0abad-1c1e-40d5-ac1e-047c9255c31f", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "70e55b53-d066-493c-9598-f4313c8dc44e", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "StatusType": { "StatusTypeId": "f78f7217-cbd4-49ae-8a34-d636e8fe68b8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "60494562-043f-4495-92e0-65631a8bfac2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1549e592-25dc-499b-a432-a05a47519316", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "47f94df4-6d83-4fd5-909e-cd27e1455c99", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8314e592-1998-42a3-89b4-228991bc2c53", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a3047914-4a21-4cea-80b0-395633165f5a", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "WellPurposeType": { "WellPurposeTypeId": "13fc5b99-a7c4-45a7-ba10-660c8f90014e", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e177c0aa-b8fd-44c8-b477-ecaecfb015a5", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "73a330bd-8a25-4adf-954b-b4af7bdbd877", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "MeasurementValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e68f9d37-680c-43eb-a139-554602cc26b3", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "77f3b603-15cc-47b3-8829-fd727f5f6f6c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "60494562-043f-4495-92e0-65631a8bfac2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1549e592-25dc-499b-a432-a05a47519316", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "ae88268b-bf17-493c-9487-0f682b326998", "Name": "sample string 1" }, "Unit": { "UnitId": "63bb9f89-a0db-471f-828f-84f204266455", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "408e12fd-7fac-4d4c-9b04-4c074df2e831", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6d1810fa-04a8-48c8-9356-a07eae857add", "FieldId": "1989ae1e-3595-40bd-9551-2feddef0f9ff", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6d1810fa-04a8-48c8-9356-a07eae857add", "FieldId": "1989ae1e-3595-40bd-9551-2feddef0f9ff", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0318a2dc-2e1d-412f-9ac0-1b2d061bb5b9", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "124412bb-1496-404f-85c9-595435dbd592", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-05-09T15:47:43.4756273-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": "839ad62f-bb1f-4dcf-8b72-b26b54bd15db", "Asset": { "AssetId": "7a70159e-66ab-4bcf-b399-bd3cf74795e0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e12fadac-3844-4be0-8716-b1d1bcbe3cf4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "130919c8-5562-431d-997c-67044a2ef92f", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0145953d-a935-4ec7-851c-ffc5b6c5e2d2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "MeasurementValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "SourceSystemId": "sample string 3", "CompanyId": "711d9f2e-10d3-40fa-ac38-b18f24c5d069", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "8241b854-c633-41e1-9746-5a545c17e6bb", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "StateType": { "StateTypeId": "dfe6b79d-4db1-4c60-86aa-a18513f82cde", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e12fadac-3844-4be0-8716-b1d1bcbe3cf4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "130919c8-5562-431d-997c-67044a2ef92f", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0b66f0f7-27fd-4e12-9097-1bc2db4d6b76", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f0d6a264-82f0-47b0-b961-c5d40c1383bf", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "b0d62c76-03cc-4588-ad90-9e69038aea15", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "StatusType": { "StatusTypeId": "3c0f2951-f465-499b-955c-b45ca3fc04aa", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e12fadac-3844-4be0-8716-b1d1bcbe3cf4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "130919c8-5562-431d-997c-67044a2ef92f", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c627d843-78a7-4164-9676-cb65558740e4", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "44651d11-f6e7-4c7b-a8b8-6fe96faf0fb2", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "8db91761-b6a2-452a-8de3-5b185c2ec51a", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "WellPurposeType": { "WellPurposeTypeId": "5ce963dd-d4ed-4606-9c39-8b73a4061a51", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "904f8415-0b9a-4308-8481-60a6ff8ab227", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "036b66c1-8ea3-4cf2-bb53-3bdb3fe199bc", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "MeasurementValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d7085497-7424-420b-a0da-e5b42ad1a45d", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-05-09T15:47:43.4756273-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "cac5c0c4-d29e-44ca-bce0-7136caf56e27", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e12fadac-3844-4be0-8716-b1d1bcbe3cf4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "130919c8-5562-431d-997c-67044a2ef92f", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "d0cfc84f-5ad6-4064-957c-a1666e7e902a", "Name": "sample string 1" }, "Unit": { "UnitId": "0120797b-f77b-4edf-b58a-036208e35e87", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a3857ba2-13d8-4fe1-8fbf-aa908c9ab261", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f35c7db9-7704-4259-9846-770b574e757c", "FieldId": "b45e1dc7-42f8-4bcb-8ae9-3afb24a84b78", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f35c7db9-7704-4259-9846-770b574e757c", "FieldId": "b45e1dc7-42f8-4bcb-8ae9-3afb24a84b78", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-09T15:47:43.4756273-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "43c05efb-3052-45f6-917d-017169e80f8e", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "9c9906d7-f92a-4617-9d3e-2aacc11d66bd", "CreateDate": "2025-05-09T15:47:43.4756273-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-05-09T15:47:43.4756273-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }