POST Injections
Creates a new injection.
Request Information
URI Parameters
None.
Body Parameters
The injection to create. InjectionId should not be filled in. Start Date and Duration must be filled in.
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": "d0699983-be36-4e55-b9fb-cea43224f1b6", "Asset": { "AssetId": "99bc7fc1-7d07-439b-81ef-cfde9debe219", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ff187580-eae0-40ca-8f62-dedf888f0b17", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7ca61bf1-4e18-4ff0-8856-46f91acd0a4e", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4893e7a4-344d-447b-a121-f98ed52c793b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "MeasurementValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "SourceSystemId": "sample string 3", "CompanyId": "9aee418f-92d9-45ad-812e-4bf679b7222c", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "84403fa5-10aa-46e7-a6e2-a64609678c1c", "EffectiveDate": "2025-01-02T11:40:02.3823264-08:00", "StateType": { "StateTypeId": "e4d2e78c-f3fa-4ef3-99e2-ec510041d723", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ff187580-eae0-40ca-8f62-dedf888f0b17", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7ca61bf1-4e18-4ff0-8856-46f91acd0a4e", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a53dc612-a152-414e-9d16-10ad3c047545", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "930cd8ae-ca41-4bd7-858e-5e6b72799742", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "157176ec-6b28-43ae-96c5-33584898b174", "EffectiveDate": "2025-01-02T11:40:02.3823264-08:00", "StatusType": { "StatusTypeId": "cd65b3d6-a97b-4aad-a229-640f1171a89e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ff187580-eae0-40ca-8f62-dedf888f0b17", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7ca61bf1-4e18-4ff0-8856-46f91acd0a4e", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d371b475-55f9-499e-b7db-0ac0e85cc16f", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "eda7f0e5-3e4d-4851-868a-75d310e3c449", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5c7d926c-67f5-4a8a-8d11-69129373a7af", "EffectiveDate": "2025-01-02T11:40:02.3823264-08:00", "WellPurposeType": { "WellPurposeTypeId": "a6c007ea-652f-405e-ac68-57290019698f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7b792a69-0cdb-4e7b-858a-393fb18ac26a", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4fc70ef3-c5e1-44f3-8b5b-25b04a0d9ba2", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "MeasurementValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "37984960-ec8c-469c-84f7-b984f05312b5", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "01033146-9b75-474c-a709-86530b6a8e33", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "590be2fc-b6fd-4dcc-8a50-72baba73e919", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2025-01-02T11:40:02.3823264-08:00", "EndDate": "2025-01-02T11:40:02.3823264-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": "6324fb44-5980-4bce-8286-c604e3c99458", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 6" }
Response Information
Resource Description
On success, the created injection.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Injection |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "InjectionId": "a68ac6fb-d467-4a9a-8189-a767fca2b936", "Asset": { "AssetId": "27d431a7-1c28-4e08-b8e9-029f2f6bc8d0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b073b6e2-567e-4ec5-ac29-67aeb4f182da", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "010b2d28-0e96-4658-8e04-9c6660a067ff", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "5cebb484-c9d8-44fc-9799-be284a5dca9c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "MeasurementValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b4aad478-3181-45c1-a2cb-014936fad863", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "33d46408-8818-4889-b40e-d8eb7b4451ce", "EffectiveDate": "2025-01-02T11:40:02.3823264-08:00", "StateType": { "StateTypeId": "62741ee5-cab4-4939-97ea-42cfbd2588f6", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "b073b6e2-567e-4ec5-ac29-67aeb4f182da", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "010b2d28-0e96-4658-8e04-9c6660a067ff", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0374559f-6f4e-4c66-b50a-bbdf1da2fe8d", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ff20fd61-b18e-4ca1-8c64-04c3604844c2", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "bf1766d2-dd6d-4dca-af7f-03d245694f56", "EffectiveDate": "2025-01-02T11:40:02.3823264-08:00", "StatusType": { "StatusTypeId": "81e96393-400c-437c-9604-11090c2dd342", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b073b6e2-567e-4ec5-ac29-67aeb4f182da", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "010b2d28-0e96-4658-8e04-9c6660a067ff", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "585c7889-0c53-4f46-9b69-799db3b9066c", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ade9bdee-c451-4329-b3c8-96bf8d5cb7b5", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "087f3aa3-93a8-43f2-bbac-e94b9663d349", "EffectiveDate": "2025-01-02T11:40:02.3823264-08:00", "WellPurposeType": { "WellPurposeTypeId": "73692bdd-1bad-4e37-bfe7-0e65aeacfe1a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "90f6db66-cf8a-41cc-92b5-343b23e5e2b4", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5c21d49f-cc2d-428d-910f-3ab7062463d1", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "MeasurementValueNeededDate": "2025-01-02T11:40:02.3823264-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3cbfc850-0504-4a19-a757-c5ed31eec3d7", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 8" }, "Description": "sample string 1", "InjectionSourceType": { "InjectionSourceTypeId": "c70214ed-e00d-4cbc-a401-d887d525672c", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "2bbfd19e-d393-4613-9419-7372608fc946", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 5" }, "StartDate": "2025-01-02T11:40:02.3823264-08:00", "EndDate": "2025-01-02T11:40:02.3823264-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": "95a17ba8-df5c-45c3-bfdd-2546bb4967b9", "CreateDate": "2025-01-02T11:40:02.3823264-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:40:02.3823264-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }