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": "abeb161b-0ed2-4cd0-8f41-8d7ae03ce46a", "Asset": { "AssetId": "7eb182ba-6228-4542-9cb2-c578f6f80de9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1a6ba522-0d60-485b-9b2d-47c07e788df6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ba107e0-063e-4441-9ebd-61dc5ffae360", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "33648466-a3d1-4524-a0fb-98acce1c4486", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "MeasurementValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8a7d8e02-2de7-4211-968e-3e95aa59efde", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d1fe45d3-b22a-40ec-bfa9-a78cb86ad0e3", "EffectiveDate": "2024-04-28T22:45:26.2825073-07:00", "StateType": { "StateTypeId": "4514561c-7788-4847-9ae8-3f437bcfcb5b", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1a6ba522-0d60-485b-9b2d-47c07e788df6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ba107e0-063e-4441-9ebd-61dc5ffae360", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "3dfff673-54a9-4396-9985-9f7795a27d29", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "976c0b4c-ec31-4d8e-8745-52829daa7317", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e7aadf34-a7ee-4328-8cf0-bed5cf1b205b", "EffectiveDate": "2024-04-28T22:45:26.2825073-07:00", "StatusType": { "StatusTypeId": "00666f8c-411a-4e7a-984c-b779b253940e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1a6ba522-0d60-485b-9b2d-47c07e788df6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ba107e0-063e-4441-9ebd-61dc5ffae360", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b3ed2ec9-99bc-465c-9c4f-596733c8dfff", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8d25032d-be06-4bed-bc05-417840fa81bd", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ca45c6a1-cefa-4fcf-9eb2-c72c039b1050", "EffectiveDate": "2024-04-28T22:45:26.2825073-07:00", "WellPurposeType": { "WellPurposeTypeId": "3e58b88a-4540-41b0-9205-b432a1050df7", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "616551ee-8520-4396-a5e2-801fa5c9786b", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cf5db3ef-c9f3-4c35-845b-19dc5d06db91", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "MeasurementValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "822dc9cd-d3fe-4811-925a-bc938bfe33c9", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "4ff0ae0e-6b7e-48e1-85a5-79ed989c2657", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "662f4a31-b5b9-482b-89af-18b55885e932", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2024-04-28T22:45:26.2825073-07:00", "EndDate": "2024-04-28T22:45:26.2825073-07: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": "80b84052-4ff4-47d5-b8c1-82362c633da3", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07: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": "2e6b6221-391a-4505-b801-4ac9fb9f75a4", "Asset": { "AssetId": "98778909-a307-4dc9-95cc-d55f6d968ea2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ccf7d0b6-c9d4-4eeb-a908-cfc790d7406c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c996b053-277a-4720-b1ec-c7f9eaa1fa22", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "5bb25d25-ead3-4319-ad62-7392f05f1cb2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "MeasurementValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8d5b4ba6-fcad-4efb-beb7-e499cbf7efa9", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a1c114d5-605a-46bc-9af6-ec678e94e050", "EffectiveDate": "2024-04-28T22:45:26.2825073-07:00", "StateType": { "StateTypeId": "81d7c6b5-757f-4f16-82e3-39e6934beda2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ccf7d0b6-c9d4-4eeb-a908-cfc790d7406c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c996b053-277a-4720-b1ec-c7f9eaa1fa22", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "49f834af-5fbd-487f-98fb-124ec51ac8f5", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "29192eee-c978-4a6f-af18-8045edb4df69", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "9dd96d8f-3a62-4d05-ada9-f9b076dca6bc", "EffectiveDate": "2024-04-28T22:45:26.2825073-07:00", "StatusType": { "StatusTypeId": "0302d198-bc00-4920-b020-1a0c99b9d4f9", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ccf7d0b6-c9d4-4eeb-a908-cfc790d7406c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c996b053-277a-4720-b1ec-c7f9eaa1fa22", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "dfee0647-67c9-4237-87f9-d73a09692d85", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a24a0b9a-47b6-4873-a5fb-278091004a4b", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0a1c1a26-add7-41aa-8446-4989bf3fb2a9", "EffectiveDate": "2024-04-28T22:45:26.2825073-07:00", "WellPurposeType": { "WellPurposeTypeId": "f4e422e8-8645-4590-b0fd-456c1fa99507", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "176ff9f9-0fa9-407f-96dd-988442645d38", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9bc29584-9e9f-4303-9c49-0837881aacee", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "MeasurementValueNeededDate": "2024-04-28T22:45:26.2825073-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ddf41ac0-da00-44b6-be09-37b49719414a", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "e7bc9c1a-4692-45df-ab2a-6cf1fa7c9252", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "8eb48a5e-8e73-4cc4-995b-eb2d1ac96463", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2024-04-28T22:45:26.2825073-07:00", "EndDate": "2024-04-28T22:45:26.2825073-07: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": "a1249ef7-362d-427d-8de6-7cf9ef50813d", "CreateDate": "2024-04-28T22:45:26.2825073-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T22:45:26.2825073-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }