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": "7ef98a98-4885-4a26-8a8a-2aead7c7cf48", "Asset": { "AssetId": "d9aec9f7-9e82-4e34-9f9c-5ffc2aee6d8e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e1667b12-afd0-4b79-b055-5e2c01e91d4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "72d5667f-3d90-4cb1-be47-87d7ce47688c", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9abe4f46-4bbc-4062-94d9-1769de8c53d7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "MeasurementValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "SourceSystemId": "sample string 3", "CompanyId": "52ef2c0f-a834-4915-a00c-234e4d749c22", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4622c45b-fdfa-400f-beba-f67851ea31cc", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "StateType": { "StateTypeId": "2816af20-c92e-4783-872b-5fa236a109a6", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e1667b12-afd0-4b79-b055-5e2c01e91d4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "72d5667f-3d90-4cb1-be47-87d7ce47688c", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "870519a9-6f74-4840-84c6-2483d9f8b87f", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0e064bb5-b997-4732-93ff-e4337ab74d93", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "6351cbbb-73d3-42f8-bc42-85d33afa419c", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "StatusType": { "StatusTypeId": "89256e74-49f0-497c-b3d3-ddf78b42dc64", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e1667b12-afd0-4b79-b055-5e2c01e91d4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "72d5667f-3d90-4cb1-be47-87d7ce47688c", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "26e3574a-b212-4530-bf03-a4bdc93d2744", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "fc5c1d3c-3e90-49b4-b6d6-ba332ec9b94e", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9af1d4c5-e840-4750-b20b-011e963d6a87", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "WellPurposeType": { "WellPurposeTypeId": "2be7cd55-088c-46cb-a3d9-de336cac4d1c", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5a460b8d-dac8-4441-bd07-a69ce799f780", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ef65ebdc-32f0-4f4b-b30f-e520aca0f02d", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "MeasurementValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "78c3f357-c8e7-407b-9626-20a7671d550d", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "22fe65d0-2373-4819-8c50-0a6699b50c38", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e1667b12-afd0-4b79-b055-5e2c01e91d4d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "72d5667f-3d90-4cb1-be47-87d7ce47688c", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "89bfe829-f8f8-4700-85b7-8ff332f8533a", "Name": "sample string 1" }, "Unit": { "UnitId": "ddc022cf-80b3-41e6-a0a1-c3ffef8cc0c6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a5eb0251-b753-4373-a742-fdd4d50e322e", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T19:09:54.6295743-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-28T19:09:54.6295743-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "40d5adfb-4216-4513-95ab-243aabc7a77f", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a667fe2a-f6ed-493c-a901-02751f02d329", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-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": "44b569c9-bcd9-4566-99c8-30a89c200766", "Asset": { "AssetId": "e728d3d4-9c5e-4b9b-b95c-6f75696708f4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7c5ef1a1-acea-430b-88e9-6400c1a27bd8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a2cd5830-7ba1-4a6e-aff9-befaa6f854e8", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b7d7916f-91c3-4279-b21f-3aff5b058e06", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "MeasurementValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "SourceSystemId": "sample string 3", "CompanyId": "2394a435-8b8e-41aa-8aa8-39395df62539", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "58b3bee0-de0f-439e-b267-a571b06c3392", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "StateType": { "StateTypeId": "f1923d76-88e1-423d-a442-84bf975b8a49", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7c5ef1a1-acea-430b-88e9-6400c1a27bd8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a2cd5830-7ba1-4a6e-aff9-befaa6f854e8", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "2ad30154-4cec-4b0e-b6dd-b2285dd7137e", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "5a84279e-fdaf-4c4f-8164-937d2f4b0c75", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a47901e2-2513-4600-90da-e9e74edad7e9", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "StatusType": { "StatusTypeId": "2fa2ce06-2a5d-4d6b-93e3-782606626a15", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7c5ef1a1-acea-430b-88e9-6400c1a27bd8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a2cd5830-7ba1-4a6e-aff9-befaa6f854e8", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d51c8d9e-4c59-4419-8c2c-6beaf6516b97", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e8c4f597-4f27-4c60-a05c-04ed83030e90", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "f1819793-00cf-49d3-bd96-8ae89cae6d2d", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "WellPurposeType": { "WellPurposeTypeId": "a4787844-fe78-4b3b-9ed7-39bbb9000c66", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "01b8e9e2-7dd1-40b0-a496-04a46c7dc460", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "62fabcbd-3c23-45b1-9094-238fa4fb8a13", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "MeasurementValueNeededDate": "2024-04-28T19:09:54.6295743-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7a57eb98-e6b9-4fd8-a1ff-a97dc43f9656", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-28T19:09:54.6295743-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "6b0e23dc-72ee-422a-b802-b53b10695cbc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7c5ef1a1-acea-430b-88e9-6400c1a27bd8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a2cd5830-7ba1-4a6e-aff9-befaa6f854e8", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "223cee91-6384-4042-b2b8-a45e7cf39917", "Name": "sample string 1" }, "Unit": { "UnitId": "7ee898f1-5d0d-4dc3-ab6d-79b043d01c1a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1e72ebc1-c243-4c22-a16c-3dd059ef0ade", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T19:09:54.6295743-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-28T19:09:54.6295743-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "b9b71983-457f-4ef5-b192-fd121e9b16ab", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7854cdc9-e86b-40b4-b7ef-b56c40c65554", "CreateDate": "2024-04-28T19:09:54.6295743-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T19:09:54.6295743-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }