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": "32a22be3-b1b5-4054-8604-b934b3e9cfc7", "Asset": { "AssetId": "4b3a7181-81f2-4a96-b1dd-6c352482b444", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c1594338-18d1-49f0-b018-397fd52a8c1b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5098932e-a4e2-4b78-998e-9dfdc37af797", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e091fd0d-4bb3-461e-836f-6b22479835c1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "MeasurementValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "SourceSystemId": "sample string 3", "CompanyId": "32c60f6a-40c2-4e5b-8163-2089d8fb595b", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d2b49fc7-87d5-4fca-9f6f-3b99ec67e0e5", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "StateType": { "StateTypeId": "d30fee59-6861-4944-abb0-a6b23919974c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c1594338-18d1-49f0-b018-397fd52a8c1b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5098932e-a4e2-4b78-998e-9dfdc37af797", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "297ab9e5-d548-4075-aac4-6b6369244858", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ccfae1b8-3c9b-452a-8ce2-72b573c23791", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "3ea425da-ce4b-4f88-93c5-16e0b72c2437", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "StatusType": { "StatusTypeId": "016ff7af-24ee-444a-a3db-05fb0f53c07b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c1594338-18d1-49f0-b018-397fd52a8c1b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5098932e-a4e2-4b78-998e-9dfdc37af797", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "526c9787-9c77-46e2-92da-bdbeebbcc236", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9c0970c2-783e-4424-af97-2f257c4ffb7d", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "cb3c3b51-504f-4138-8e9d-9918b027c78b", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "WellPurposeType": { "WellPurposeTypeId": "05d64259-e7e6-4520-8d69-c03d0e5e206c", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f403b737-591f-47ee-9d92-228eb3c10bdd", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "188de100-742d-4466-9a24-17bdeedf4136", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "MeasurementValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a7b5200c-aff5-40f4-a851-84673f92f2ab", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "32c8aa14-901c-4526-b0f3-8d4e0b2757a4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c1594338-18d1-49f0-b018-397fd52a8c1b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5098932e-a4e2-4b78-998e-9dfdc37af797", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "638ebe4b-ca92-4bd7-80fc-600f72645523", "Name": "sample string 1" }, "Unit": { "UnitId": "f39b70bf-ac35-4690-86e5-df73d392037a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7a0c9991-4257-4fb6-853e-b2ea8fd3786f", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9777db25-17d1-408a-837b-fcfd7d4091fe", "FieldId": "7c6b8995-5c22-4a03-8b85-82a155da48b2", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9777db25-17d1-408a-837b-fcfd7d4091fe", "FieldId": "7c6b8995-5c22-4a03-8b85-82a155da48b2", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "b6ff75bf-736f-4aa8-b07d-596779423a27", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "682a4968-850e-4875-8e99-e803af481fb5", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-04-17T04:23:58.2658094-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": "148adcc6-85b6-4e2f-a8db-1ec41f702d2d", "Asset": { "AssetId": "cb174de9-860c-406b-ac9e-679bff286bc4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3b4fc2b2-36fc-423e-8fc0-2eb1b32dcebf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1401e2ba-f359-4d7c-b210-60928f075322", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "397c934b-2ef8-4c1f-b595-9d7d94c21761", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "MeasurementValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "SourceSystemId": "sample string 3", "CompanyId": "34fa2670-51aa-469d-9e1b-ebc918af598e", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "61fab1fc-5b9d-4fa7-910a-e881b2e8bbff", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "StateType": { "StateTypeId": "a04fe01b-5c05-4e95-aacf-ae8ca3d9299d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "3b4fc2b2-36fc-423e-8fc0-2eb1b32dcebf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1401e2ba-f359-4d7c-b210-60928f075322", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "29ddcfcd-2247-4c90-81a3-206beef8fc0c", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "cee4e861-fa4a-4d7a-ad20-515367b5f2cd", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "63436f74-379d-4362-b492-b73d13c4122f", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "StatusType": { "StatusTypeId": "3dc356a2-4c54-4de0-8fda-dd91dd2c7ec1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "3b4fc2b2-36fc-423e-8fc0-2eb1b32dcebf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1401e2ba-f359-4d7c-b210-60928f075322", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a74fbf92-addb-4244-a761-a66149ee335e", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "48279968-c4c3-4890-8d3b-bb61478e41fc", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "06e92b41-cbce-4cb2-8668-bc17907ae177", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "WellPurposeType": { "WellPurposeTypeId": "e8433ad2-bdbc-478a-9f4c-d47ee23fe8e0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "190e092d-8f23-490a-9e4d-0935c7c611b0", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ebdc2ab8-5b17-4290-87b9-b1fa5baf2f76", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "MeasurementValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "217bbd7c-b8d4-4e17-8456-2fcb4d5e0ba1", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-04-17T04:23:58.2658094-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "b3486eac-f1c7-4948-99b3-9100896513d6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "3b4fc2b2-36fc-423e-8fc0-2eb1b32dcebf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1401e2ba-f359-4d7c-b210-60928f075322", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "7990c356-0705-4829-b918-d8f4ec893531", "Name": "sample string 1" }, "Unit": { "UnitId": "3125b8f4-2dfe-45a1-be78-f150e4f4501e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "53d8ab3f-7e1a-4da0-b0d6-00d41c48ca33", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6133b32a-d438-47fc-9a0e-d34d0197b6aa", "FieldId": "aed6f8d0-2b84-4617-b2a5-325b304582bb", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6133b32a-d438-47fc-9a0e-d34d0197b6aa", "FieldId": "aed6f8d0-2b84-4617-b2a5-325b304582bb", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-17T04:23:58.2658094-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "45d60680-f8a9-47aa-8a2c-ad6220a01bee", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "c7d2444e-a0d9-4287-971c-832124bf141e", "CreateDate": "2025-04-17T04:23:58.2658094-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-04-17T04:23:58.2658094-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }