PUT Injections

Updates the given injection.

Request Information

URI Parameters

None.

Body Parameters

The injection to update

Injection
NameDescriptionTypeAdditional 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": "0432049b-5b5e-4faa-9bdd-dd44d5268a02",
  "Asset": {
    "AssetId": "fb76d369-fbc6-4507-aafc-f79d70ac1132",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "09c997b0-3c33-45f1-9f7c-d1fd046204ce",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "9d9de229-c897-452f-9160-4c92978d8267",
      "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "09408846-1311-4ee3-b834-67f3cd2cf151",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-11-21T04:52:42.6378956-08:00",
      "MeasurementValueNeededDate": "2024-11-21T04:52:42.6378956-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "81b01c82-53ad-4efa-bd7b-03a55d378e0f",
      "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "8b8e6f16-c3f5-4518-9990-6fa81d185fe9",
      "EffectiveDate": "2024-11-21T04:52:42.6378956-08:00",
      "StateType": {
        "StateTypeId": "c9ba6607-c19a-49f3-b79a-f0af6de87449",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "09c997b0-3c33-45f1-9f7c-d1fd046204ce",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "9d9de229-c897-452f-9160-4c92978d8267",
          "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "3f524f38-25c3-41bb-ad56-51ea3f7d7d02",
        "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "89e4ddf6-8d8a-4332-94fa-4965e99dc8ce",
      "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "91283438-68e3-471c-bd92-0d12f860c7f3",
      "EffectiveDate": "2024-11-21T04:52:42.6378956-08:00",
      "StatusType": {
        "StatusTypeId": "6456f320-fb0f-4aec-92b1-17a782362f49",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "09c997b0-3c33-45f1-9f7c-d1fd046204ce",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "9d9de229-c897-452f-9160-4c92978d8267",
          "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "58713239-9b16-40de-a61f-b6064e09480b",
        "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "cb9ae238-560e-49f1-b316-50bb7dfe409d",
      "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "04eaec7d-cfda-4ae9-9d5a-61ba2c826ddc",
      "EffectiveDate": "2024-11-21T04:52:42.6378956-08:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "c9257616-02e3-416e-961e-8379541dae01",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "987e53b7-67ee-4c57-b8fe-4e33f763e8bd",
        "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "8d5d9dcd-0544-4e27-b8ff-4a9c749f042b",
      "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2024-11-21T04:52:42.6378956-08:00",
    "MeasurementValueNeededDate": "2024-11-21T04:52:42.6378956-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "8b700558-e2c5-47a1-8bd7-fb0813eb84d8",
    "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Description": "sample string 1",
  "InjectionSourceType": {
    "InjectionSourceTypeId": "fd843033-4f6e-458d-a778-1e5ae0b9364a",
    "Name": "sample string 1",
    "SourceSystemId": "sample string 2",
    "CompanyId": "a291164f-9c2c-45a3-a2a1-94f1c810c1c5",
    "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
    "CreateUser": "sample string 4",
    "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
    "LastModifiedUser": "sample string 5"
  },
  "StartDate": "2024-11-21T04:52:42.6378956-08:00",
  "EndDate": "2024-11-21T04:52:42.6378956-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": "d45f3884-3864-4087-8f9e-db3aa518fd6f",
  "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
  "LastModifiedUser": "sample string 6"
}

Response Information

Resource Description

On success, the updated injection.

NameDescriptionTypeAdditional information
Data

Injection

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "InjectionId": "8789a099-c50b-492e-b005-60bd2ab64f12",
    "Asset": {
      "AssetId": "f36c6e5e-ae34-4a52-bee2-a072a03f541d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "06586fa7-f857-4191-8328-2cb2bf8966a5",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "4354f053-34ac-46cf-b73e-ce1fe4eae113",
        "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "AssetGroup": {
        "AssetGroupId": "29edc189-5e7d-487d-8f4c-34dec22be837",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-11-21T04:52:42.6378956-08:00",
        "MeasurementValueNeededDate": "2024-11-21T04:52:42.6378956-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "8ac9421b-4535-48d8-9f14-ea29e5c2c5a3",
        "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "State": {
        "StateId": "2a54fa06-1295-434a-988a-d3718eb7b465",
        "EffectiveDate": "2024-11-21T04:52:42.6378956-08:00",
        "StateType": {
          "StateTypeId": "d7b9dd95-43ae-4ee0-aa89-11606e3cd09d",
          "Name": "sample string 1",
          "IsOperational": true,
          "AssetType": {
            "AssetTypeId": "06586fa7-f857-4191-8328-2cb2bf8966a5",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "4354f053-34ac-46cf-b73e-ce1fe4eae113",
            "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 3",
          "CompanyId": "767be778-29e4-47a3-862e-b1fbfa01b6e3",
          "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "e606fe9e-3036-4961-8a9a-ab61a0c1f476",
        "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "Status": {
        "StatusId": "7699f914-348c-44a9-9e7f-6f4600cbdcfd",
        "EffectiveDate": "2024-11-21T04:52:42.6534637-08:00",
        "StatusType": {
          "StatusTypeId": "0bac6a72-8ceb-42ab-818c-6db37ad94fe1",
          "Name": "sample string 1",
          "IsProducing": true,
          "IsInjecting": true,
          "AssetType": {
            "AssetTypeId": "06586fa7-f857-4191-8328-2cb2bf8966a5",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "4354f053-34ac-46cf-b73e-ce1fe4eae113",
            "CreateDate": "2024-11-21T04:52:42.6378956-08:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-11-21T04:52:42.6378956-08:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 4",
          "CompanyId": "4d3a01f3-1ce8-4bf9-90ea-08a794553fbb",
          "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "ba6ac886-fc89-46dc-8b92-c433c95f125f",
        "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "WellPurpose": {
        "WellPurposeId": "8cde8ed9-1712-4609-8e83-b85d88fe55b1",
        "EffectiveDate": "2024-11-21T04:52:42.6534637-08:00",
        "WellPurposeType": {
          "WellPurposeTypeId": "082a1d78-be38-4f04-a9c3-f1f4d4f3c8c3",
          "IsProducer": true,
          "IsInjector": true,
          "Name": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "a444d9f1-3cc0-45e0-bc3c-d46f03439f41",
          "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "4bfe02a0-4643-4a9c-a974-c13d9730a93a",
        "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "FormValueNeededDate": "2024-11-21T04:52:42.6534637-08:00",
      "MeasurementValueNeededDate": "2024-11-21T04:52:42.6534637-08:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "aeb99e1a-96d0-4da6-8c2d-dbf3ef9777dd",
      "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "Description": "sample string 1",
    "InjectionSourceType": {
      "InjectionSourceTypeId": "0e734f41-6177-47ff-a9d9-4f17433eefed",
      "Name": "sample string 1",
      "SourceSystemId": "sample string 2",
      "CompanyId": "ac3a9b3a-64d8-472d-b661-ca86451c0bcb",
      "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
      "LastModifiedUser": "sample string 5"
    },
    "StartDate": "2024-11-21T04:52:42.6534637-08:00",
    "EndDate": "2024-11-21T04:52:42.6534637-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": "3c266779-b1cc-4973-93ea-afd9e8b05077",
    "CreateDate": "2024-11-21T04:52:42.6534637-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-11-21T04:52:42.6534637-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "Total": 1,
  "Message": "sample string 1"
}