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": "278f50dc-727e-4c1f-8191-ba03d97193e8", "Asset": { "AssetId": "874276c0-1bb9-4605-92d2-7559bee0528b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4358e473-04a3-4770-bfc0-f236519aa70e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f2f41a90-8238-4083-a35a-37157ad289b5", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9cbece03-23ab-470a-970d-f777eaad6927", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "MeasurementValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6662c16d-5f94-4d1f-aa9b-60cc0d36d97a", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "ae92727e-6d6c-4f8e-8593-f3c233ba8bfc", "EffectiveDate": "2024-12-21T19:10:13.9419138-08:00", "StateType": { "StateTypeId": "632fa3ab-bf2e-442b-b6c7-f00954de6d1b", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "4358e473-04a3-4770-bfc0-f236519aa70e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f2f41a90-8238-4083-a35a-37157ad289b5", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "279cf21d-a471-4ce4-b6e3-29674cc7d371", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f730860b-c14a-4de5-a720-6c1ddbf9cef6", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "95de1554-7c4c-48b0-8fd8-d9b498b1b7fe", "EffectiveDate": "2024-12-21T19:10:13.9419138-08:00", "StatusType": { "StatusTypeId": "42b6fe7d-4e52-4846-a57d-2f916af88e39", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "4358e473-04a3-4770-bfc0-f236519aa70e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f2f41a90-8238-4083-a35a-37157ad289b5", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a80c801e-026a-4940-bd01-292bb6823066", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "80fffa5a-4459-4551-a888-e2efd3702351", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d3f26051-c13e-4391-8267-eb6393621bda", "EffectiveDate": "2024-12-21T19:10:13.9419138-08:00", "WellPurposeType": { "WellPurposeTypeId": "968971a7-7912-4b9d-88ce-f3dfaea7e034", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "187871ca-238f-40db-b894-4428dfcd2a61", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "01984393-a663-45dc-831e-6d4d6e6bbf92", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "MeasurementValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "299ffb86-d7b1-46c0-89be-9addd7ef24f6", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "107e6b04-e841-4321-af27-578755fa65c7", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "f1e127cf-72b5-4f77-9532-850c0298d42f", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2024-12-21T19:10:13.9419138-08:00", "EndDate": "2024-12-21T19:10:13.9419138-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": "b65f43f3-d157-4e01-8f4e-667750b3c940", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:13.9419138-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": "59496117-63e8-4db5-8986-d7881a8f331a", "Asset": { "AssetId": "63b18aa0-2a6c-42cd-a519-0394221224e3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "448713b5-b4e0-42ff-8ec7-a32949131150", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f7a7ff0e-3afd-4ff3-8994-88f7d2fe9899", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "cf93021a-7743-4145-8722-c9cd1f6ea340", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "MeasurementValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b9eca030-da7b-4772-b1ed-a90df23bbd42", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "e82123ae-d875-44f6-946d-78bcf3d51234", "EffectiveDate": "2024-12-21T19:10:13.9419138-08:00", "StateType": { "StateTypeId": "0a8e5646-d750-46db-84af-795437f6f06d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "448713b5-b4e0-42ff-8ec7-a32949131150", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f7a7ff0e-3afd-4ff3-8994-88f7d2fe9899", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7a6a2e5a-90e8-4001-aba3-9143187ece91", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "5685bf48-dd98-4e93-8757-0dc7146970af", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "9cec7811-f168-4442-8848-ced34deb1995", "EffectiveDate": "2024-12-21T19:10:13.9419138-08:00", "StatusType": { "StatusTypeId": "6239f5c6-290c-4e56-864c-19c337a36840", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "448713b5-b4e0-42ff-8ec7-a32949131150", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f7a7ff0e-3afd-4ff3-8994-88f7d2fe9899", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "eb47af99-dadc-41ff-8fad-6b4747e05155", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3b4d1abf-18f6-4cac-8c11-cce6e2e8c350", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b2eab7fb-52e0-4f10-8183-1dd34db1ee4f", "EffectiveDate": "2024-12-21T19:10:13.9419138-08:00", "WellPurposeType": { "WellPurposeTypeId": "44a6215c-e9de-4fbb-a75d-670763e22cfa", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3bc5a480-f9b5-4e07-8506-c840858bcf38", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c2818803-bbbe-4206-9b5b-d2d2f3b6d38b", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "MeasurementValueNeededDate": "2024-12-21T19:10:13.9419138-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1ec4afa9-8df1-42fd-ac34-44f6e824059d", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "91686dad-0471-4713-acd0-f0c5e5c136bf", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "f2b03046-c46d-4050-a206-42289a909acc", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2024-12-21T19:10:13.9419138-08:00", "EndDate": "2024-12-21T19:10:13.9419138-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": "5c3ccccc-c866-407a-8e9a-5523aaeddb6f", "CreateDate": "2024-12-21T19:10:13.9419138-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:13.9419138-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }