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": "cd898ee6-f56d-449f-818a-66c11c29a330", "Asset": { "AssetId": "8c624ca9-4dbd-49e9-a337-1c8e8539118b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "98359cd8-e628-4860-8459-b6dd6a79febd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "15b03d55-5da6-4beb-b1cc-9ec491ccaecc", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "2d61d09e-c836-4c33-9081-4e68c2ca2fae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "MeasurementValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ebeca598-8c97-4680-b06c-5159b1f7278e", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4fe5d9c8-2edf-4633-9b93-081c667206a0", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "StateType": { "StateTypeId": "d19961cf-1983-4f91-89b5-5196417853ba", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "98359cd8-e628-4860-8459-b6dd6a79febd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "15b03d55-5da6-4beb-b1cc-9ec491ccaecc", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d33a876a-47aa-415a-a83f-205de5171566", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "651a3d8a-e9a6-4063-8a31-a0be1022dd8f", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "5004b51e-c295-4ba4-8cc8-43f9210327d2", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "StatusType": { "StatusTypeId": "e9235801-e21e-44a6-900d-5b152cc93342", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "98359cd8-e628-4860-8459-b6dd6a79febd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "15b03d55-5da6-4beb-b1cc-9ec491ccaecc", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3772cdfc-39a4-401d-8bea-e4e309e16896", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3f3b46e6-816f-48cb-a426-da3b10b52983", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c4688390-0f18-4577-ac76-c1323fe1fc27", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "WellPurposeType": { "WellPurposeTypeId": "78fb5b7b-b842-4a35-a3f0-f99df872991a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "27a96600-59b4-45c4-8dbf-156a22bbea0a", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "fc30d7c4-44be-4ac1-9bff-5ca12afe9f80", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "MeasurementValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "245b69dc-bf27-46fd-8753-48a736755708", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "4e99228e-170f-4db6-a121-66d7bf1fdc3a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "98359cd8-e628-4860-8459-b6dd6a79febd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "15b03d55-5da6-4beb-b1cc-9ec491ccaecc", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "33590745-17ce-4cdc-95fd-a9a491c9f93e", "Name": "sample string 1" }, "Unit": { "UnitId": "bb63c2c2-8742-48e3-982e-9f610fd63d56", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "013a3d0a-6ab3-426b-aee8-df38e33b0593", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07: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-04-19T22:59:39.5740922-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0267dd55-4eb9-4e14-b6a8-bf066ca0d3c4", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "05f032f4-5cc5-46b9-b51a-9ff1e0edf22e", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07: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": "07fd3d26-e6c5-4ee1-a534-604706fd2a6f", "Asset": { "AssetId": "39684ee2-cc57-489b-a218-eb83b61a5612", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c1f4d965-a628-41d8-8ebd-3d2ec9f3739c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e06a1a63-a6fc-4414-9995-05498dcaf93c", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c12dde11-7bb7-4bd5-ac4d-772dfbf92c2a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "MeasurementValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6e25b811-e223-4d27-ae64-75b30ae5f202", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "268a4357-5a41-491c-b9c2-6c610852a889", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "StateType": { "StateTypeId": "1a56b637-9084-42c5-a142-63841b8bca4a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c1f4d965-a628-41d8-8ebd-3d2ec9f3739c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e06a1a63-a6fc-4414-9995-05498dcaf93c", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "6d5c1424-dd85-4110-81be-a1e997b1623b", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "da67b3fe-28d2-4513-b339-578fef9945c2", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "42903f39-d331-4d92-8cd1-55c774cad76e", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "StatusType": { "StatusTypeId": "85e7a6e0-3d20-4e1a-876d-fc7d16ead8c2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c1f4d965-a628-41d8-8ebd-3d2ec9f3739c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e06a1a63-a6fc-4414-9995-05498dcaf93c", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "f7b4ad45-004c-4f47-88f2-3948ed363b2a", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9f297362-9329-4cb1-9450-463b20d4df85", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b780ffdb-28a8-42cf-938f-c32a671e165b", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "WellPurposeType": { "WellPurposeTypeId": "e00b0654-41ed-4eb2-a620-cf04c53eafb6", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7daae3ef-1616-4908-af94-d381baa700f5", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9eee2803-3359-4a9c-b32a-f4304d5c17cd", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "MeasurementValueNeededDate": "2024-04-19T22:59:39.5740922-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "62a65185-b86f-4121-9174-a99deaca65c6", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-19T22:59:39.5740922-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "36237fc8-f719-4dc4-978e-b5d08ebd377b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c1f4d965-a628-41d8-8ebd-3d2ec9f3739c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e06a1a63-a6fc-4414-9995-05498dcaf93c", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "475f2f76-5c96-4f99-a473-c5ff3b8efafd", "Name": "sample string 1" }, "Unit": { "UnitId": "a2a0965a-8238-4e0e-89f6-e1a07a5a5ec7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "836acdbf-ecc9-422d-9b86-110825cee37a", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07: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-04-19T22:59:39.5740922-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "656f7c4f-96b9-4417-a7c8-0d9eb8035ba5", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e5f9607f-c6d7-43dd-84e3-c720a5545247", "CreateDate": "2024-04-19T22:59:39.5740922-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T22:59:39.5740922-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }