POST WellPurposes

Creates a new well purpose.

Request Information

URI Parameters

None.

Body Parameters

Well purpose to be created. WellPurposeId should not be filled in.

WellPurpose
NameDescriptionTypeAdditional information
WellPurposeId

globally unique identifier

None.

Asset

Asset

None.

EffectiveDate

date

None.

WellPurposeType

WellPurposeType

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:
{
  "WellPurposeId": "94851be2-44a8-4f8c-8f61-0d588d0564b0",
  "Asset": {
    "AssetId": "525e7224-cafd-43f1-a6e9-432365101fe4",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "2d420370-41e7-491e-8d7d-e00ae145dd17",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "14946f52-199e-49cf-a5a2-78b707b0060a",
      "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "81c7c6dd-b926-4827-a320-ce495f955497",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
      "MeasurementValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "2556cbf6-1f7c-45ca-b1b5-5697989dbfa4",
      "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "d615c7db-b675-467c-8b2a-5e11ffb20ca9",
      "EffectiveDate": "2024-12-21T18:00:19.4796426-08:00",
      "StateType": {
        "StateTypeId": "1619bcf8-aac2-4e7a-8169-2222a0473de7",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "2d420370-41e7-491e-8d7d-e00ae145dd17",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "14946f52-199e-49cf-a5a2-78b707b0060a",
          "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "4049679f-c07b-4e50-b524-d54bc57fc482",
        "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "aa3c2777-723d-4972-9da7-78fc891023bd",
      "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "2f981a20-5b67-41ca-853a-c7b4d4278031",
      "EffectiveDate": "2024-12-21T18:00:19.4796426-08:00",
      "StatusType": {
        "StatusTypeId": "b93aad71-6138-4e99-9baa-f833fe274c0a",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "2d420370-41e7-491e-8d7d-e00ae145dd17",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "14946f52-199e-49cf-a5a2-78b707b0060a",
          "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "46e92a2d-5932-4865-8d78-6b35fbd9a468",
        "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "4cb9f07d-dff1-468a-9b48-ef2737ff419d",
      "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
    "MeasurementValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "c52a281a-7a10-4cfc-86d9-c11e1abfc982",
    "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "EffectiveDate": "2024-12-21T18:00:19.4796426-08:00",
  "WellPurposeType": {
    "WellPurposeTypeId": "980a8697-f769-4d83-8015-c71086fa2da2",
    "IsProducer": true,
    "IsInjector": true,
    "Name": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "f6f1649e-c9d0-4bf0-a862-55d66b0cb8ea",
    "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "SourceSystemId": "sample string 1",
  "CompanyId": "e64d8105-18a4-4bdd-a9f8-7199296a229d",
  "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
  "CreateUser": "sample string 3",
  "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
  "LastModifiedUser": "sample string 4"
}

Response Information

Resource Description

On success, the created well purpose.

NameDescriptionTypeAdditional information
Data

WellPurpose

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "WellPurposeId": "4a1d2ce2-d622-47f0-99da-0be4c6d919b6",
    "Asset": {
      "AssetId": "e499b2f6-d3df-4500-94ef-277ee53507cc",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "d54bbc21-0920-4f02-aff7-017df285bf87",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "a22724a9-c46e-426a-9a03-2709c5584d9a",
        "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "AssetGroup": {
        "AssetGroupId": "0da7abfa-f17a-465b-b4e3-e71e97769879",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
        "MeasurementValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "ae3a75d8-36c6-4c0d-827b-762c05565485",
        "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "State": {
        "StateId": "66f13a3b-5b36-41c6-b13a-08662fdcd050",
        "EffectiveDate": "2024-12-21T18:00:19.4796426-08:00",
        "StateType": {
          "StateTypeId": "2c50e35b-fe9e-4d41-9316-bbbf79d3f535",
          "Name": "sample string 1",
          "IsOperational": true,
          "AssetType": {
            "AssetTypeId": "d54bbc21-0920-4f02-aff7-017df285bf87",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "a22724a9-c46e-426a-9a03-2709c5584d9a",
            "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 3",
          "CompanyId": "965ff277-f70a-476f-ba42-22511b853cec",
          "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "b4605654-2f04-441c-b3ef-f1a7a182be65",
        "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "Status": {
        "StatusId": "a02c60b8-64ab-4254-b84f-df3f18d00a08",
        "EffectiveDate": "2024-12-21T18:00:19.4796426-08:00",
        "StatusType": {
          "StatusTypeId": "4521cbfc-06ac-4809-ac2d-a9b70cd7fe63",
          "Name": "sample string 1",
          "IsProducing": true,
          "IsInjecting": true,
          "AssetType": {
            "AssetTypeId": "d54bbc21-0920-4f02-aff7-017df285bf87",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "a22724a9-c46e-426a-9a03-2709c5584d9a",
            "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 4",
          "CompanyId": "6eb4b8b1-27db-4517-9bff-d7599af0a7b0",
          "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "f50ded78-d983-46a8-b739-7dd041201523",
        "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "FormValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
      "MeasurementValueNeededDate": "2024-12-21T18:00:19.4796426-08:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "b20fca57-6a1d-4b32-b1ee-7e0c450c37be",
      "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "EffectiveDate": "2024-12-21T18:00:19.4796426-08:00",
    "WellPurposeType": {
      "WellPurposeTypeId": "f6b6fd1c-3b6d-4e65-b8ab-4c70f2f1fe12",
      "IsProducer": true,
      "IsInjector": true,
      "Name": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "70328b2b-1d70-4801-b916-600ec190f091",
      "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "c53a19da-941b-4030-aa88-4de5916c2cec",
    "CreateDate": "2024-12-21T18:00:19.4796426-08:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-12-21T18:00:19.4796426-08:00",
    "LastModifiedUser": "sample string 4"
  },
  "Total": 1,
  "Message": "sample string 1"
}