PUT Injections
Updates the given injection.
Request Information
URI Parameters
None.
Body Parameters
The injection to update
InjectionName | Description | Type | Additional information |
---|---|---|---|
InjectionId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
Description | string |
None. |
|
InjectionSourceType | InjectionSourceType |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Duration | integer |
None. |
|
WaterVolume | decimal number |
None. |
|
SteamVolume | decimal number |
None. |
|
GasVolume | decimal number |
None. |
|
Cycle | integer |
None. |
|
CycleVolumeTotal | decimal number |
None. |
|
ChokeOpening | decimal number |
None. |
|
UpstreamPressure | decimal number |
None. |
|
DownstreamPressure | decimal number |
None. |
|
Location | 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:
{ "InjectionId": "9a413f09-4efe-4114-bd0d-8de94d636621", "Asset": { "AssetId": "61534029-ae75-47e6-a597-aa072468fae8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7f0baa0b-1388-4798-a128-e620d1ca3baf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1a23ada3-4d65-4b39-85e0-45e17f6f5f77", "CreateDate": "2025-01-30T14:25:19.3837443-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3837443-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6e6499ae-fd87-41ef-a0f0-c7dbcae6a1d3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "MeasurementValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d54f0a10-321b-402e-b507-8965e4d3fcaa", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5cf52cfa-782d-4ffe-bee3-12b2357d044d", "EffectiveDate": "2025-01-30T14:25:19.3993096-08:00", "StateType": { "StateTypeId": "47d18d8d-e94d-4dda-ac5d-8600764ac5ae", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7f0baa0b-1388-4798-a128-e620d1ca3baf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1a23ada3-4d65-4b39-85e0-45e17f6f5f77", "CreateDate": "2025-01-30T14:25:19.3837443-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3837443-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "99c3c5a8-2651-4fd7-8938-6c7d9a87518f", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "3097bb3a-7f5f-4e9e-bfac-38cc607713a9", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "f99dcc6e-b60d-47a2-b1f8-f16f4d6a012b", "EffectiveDate": "2025-01-30T14:25:19.3993096-08:00", "StatusType": { "StatusTypeId": "c98c064f-4734-4bf3-9535-40aa8d27cc16", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7f0baa0b-1388-4798-a128-e620d1ca3baf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1a23ada3-4d65-4b39-85e0-45e17f6f5f77", "CreateDate": "2025-01-30T14:25:19.3837443-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3837443-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b9f9b9ad-308e-4bd4-b493-de22b8d6a709", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "eff20bcd-ec4e-4299-aeb5-2a393033a285", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "8948019d-88fd-4383-bb85-0a593cd587ea", "EffectiveDate": "2025-01-30T14:25:19.3993096-08:00", "WellPurposeType": { "WellPurposeTypeId": "31f55a05-c2f6-458c-b3ee-76689406590e", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cea9e248-68b4-4e43-80b2-3b3ee82a592f", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3993b53c-230d-467f-8c78-9dacd0142466", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "MeasurementValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "37a11dd2-d0ae-4342-a22c-64e02f26c9cf", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "558e938d-7d81-4fdc-8767-74b468149bf2", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "cb1b4a14-f98d-473f-bb98-4dfe926a31ec", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2025-01-30T14:25:19.3993096-08:00", "EndDate": "2025-01-30T14:25:19.3993096-08:00", "Duration": 1, "WaterVolume": 1.0, "SteamVolume": 1.0, "GasVolume": 1.0, "Cycle": 1, "CycleVolumeTotal": 1.0, "ChokeOpening": 1.0, "UpstreamPressure": 1.0, "DownstreamPressure": 1.0, "Location": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e27d909b-4e94-4cd1-b648-ed0d63b0d0ea", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 6" }
Response Information
Resource Description
On success, the updated injection.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Injection |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "InjectionId": "c2151ad0-1d69-4561-a7f1-9671d15ecdf2", "Asset": { "AssetId": "8be09c4c-93ba-4603-9889-bad6f2a448fe", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "54906644-efc4-4cec-b1e9-de454b07c2bd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0642e965-cbcc-4049-8082-42e280785847", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4a0bec9a-135d-4483-9799-787bc1de153f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "MeasurementValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5da6be42-4414-43cf-88d3-cad1c07e4168", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "36c806e2-f1cd-4733-bab3-317ac40cfea8", "EffectiveDate": "2025-01-30T14:25:19.3993096-08:00", "StateType": { "StateTypeId": "b61a02c1-bd18-4e4b-a9ce-c40d35853bd8", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "54906644-efc4-4cec-b1e9-de454b07c2bd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0642e965-cbcc-4049-8082-42e280785847", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a7208695-d486-4c39-aa0a-e1fd9a60c4ea", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0bd47b93-49f3-4865-a1d2-df347a16375f", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "148f37fd-de61-4379-9188-8e6ffda2af2c", "EffectiveDate": "2025-01-30T14:25:19.3993096-08:00", "StatusType": { "StatusTypeId": "a83ac838-044b-40a1-ab16-443b2d43138c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "54906644-efc4-4cec-b1e9-de454b07c2bd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0642e965-cbcc-4049-8082-42e280785847", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "1b5f3f0a-7cf5-4d9b-b6c7-3f2e01547bd0", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "98dde400-5aa3-4086-8fe5-78ccd44e6916", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b050bec0-acfe-4acd-b85c-48e253952005", "EffectiveDate": "2025-01-30T14:25:19.3993096-08:00", "WellPurposeType": { "WellPurposeTypeId": "77257f91-533f-4e2c-849b-4a86d3e9cf7f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bb85b01c-bc05-431e-bb8e-bb67d040c7ce", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f12ac934-a459-4f5d-9bdb-232c3b72bf55", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "MeasurementValueNeededDate": "2025-01-30T14:25:19.3993096-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "5e786e36-286b-475c-a876-e2c61a2283c4", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "947f29dd-87b9-4bcd-bc0a-13aee56bfbb2", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "1af66dbe-5d83-40b0-8851-7b070c1ba2b2", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2025-01-30T14:25:19.3993096-08:00", "EndDate": "2025-01-30T14:25:19.3993096-08:00", "Duration": 1, "WaterVolume": 1.0, "SteamVolume": 1.0, "GasVolume": 1.0, "Cycle": 1, "CycleVolumeTotal": 1.0, "ChokeOpening": 1.0, "UpstreamPressure": 1.0, "DownstreamPressure": 1.0, "Location": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "071df2c2-4b64-4b3e-8cbe-c19f2e94f728", "CreateDate": "2025-01-30T14:25:19.3993096-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:25:19.3993096-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }