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| Name | Description | Type | Additional 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": "3a929bc7-39d0-4967-9c3b-49f6816f5cf7",
"Asset": {
"AssetId": "8069ee2f-1427-497a-a0e8-8527b935505f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "78b2830a-44d0-40f9-a2b7-7c435ea61fda",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ac5bfdd9-bd05-42c9-b2b3-1565a6235786",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "373f0d34-7802-4f4c-a4e0-6903580cd43b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"MeasurementValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "01040022-6d4e-4cfe-9b9c-031104e0587a",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "7f2cf92b-c346-470d-be07-777900421b50",
"EffectiveDate": "2026-02-08T13:14:07.5011123-08:00",
"StateType": {
"StateTypeId": "3738183c-922a-4d28-8781-9953037efdce",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "78b2830a-44d0-40f9-a2b7-7c435ea61fda",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ac5bfdd9-bd05-42c9-b2b3-1565a6235786",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "57f5257b-2154-4311-a76c-65746afa78a4",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7712c445-2c59-4a8b-86b2-b6ac55eedd3c",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a7340391-1e18-4695-9e3d-32100434a276",
"EffectiveDate": "2026-02-08T13:14:07.5011123-08:00",
"StatusType": {
"StatusTypeId": "9c9c31f4-16d6-4bba-a91d-fe3835d2a38c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "78b2830a-44d0-40f9-a2b7-7c435ea61fda",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ac5bfdd9-bd05-42c9-b2b3-1565a6235786",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "28bc916c-84d6-4bfa-8edc-387edd9347e5",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8fdaf934-f649-4529-9346-b549776b76c4",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"MeasurementValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e7af16d4-b1b2-4ee2-9329-ddb305f6a5ff",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-08T13:14:07.5011123-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "50e31b66-4380-417c-8607-6b34c54b9a7a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "80476ae3-b5ff-40ce-ad39-a9a33bd451ea",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "24c1675c-30fa-4fe7-950c-1f8250583ccb",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 4"
}
Response Information
Resource Description
On success, the created well purpose.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | WellPurpose |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"WellPurposeId": "60e85927-d9f9-4b92-a53a-376a8b937223",
"Asset": {
"AssetId": "67317ad0-5cbf-4613-bcc3-71f1a75df05f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "238bc919-8b63-4525-8627-35a8b11d9330",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "13fd2a0c-6f3d-4c39-a65e-9b336792046f",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1a8e2aab-52d7-4846-9844-a169747e892b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"MeasurementValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d319a52b-685c-4130-8478-ccde273e1240",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "49d69442-a7d9-4fe8-a2ea-c52bb042788c",
"EffectiveDate": "2026-02-08T13:14:07.5011123-08:00",
"StateType": {
"StateTypeId": "545c2f6b-5256-478b-9d98-2daf279d482e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "238bc919-8b63-4525-8627-35a8b11d9330",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "13fd2a0c-6f3d-4c39-a65e-9b336792046f",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "50cedc1d-fe36-4899-8d1f-1cb64b3f0f56",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "82b4e888-e336-4ef1-aa6c-5c42c2d2eb9f",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "03e51233-d05c-46fa-85f2-d7e7548aabd7",
"EffectiveDate": "2026-02-08T13:14:07.5011123-08:00",
"StatusType": {
"StatusTypeId": "ae843310-7822-406e-b7fb-c2c1a3167dde",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "238bc919-8b63-4525-8627-35a8b11d9330",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "13fd2a0c-6f3d-4c39-a65e-9b336792046f",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9a3da554-fb95-44e7-97ea-0b6c4a1e0e35",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "927148c1-c153-4033-b704-143622dd47c0",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"MeasurementValueNeededDate": "2026-02-08T13:14:07.5011123-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7f8c4953-ba17-4a4d-bc3f-3da54f2cd954",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-08T13:14:07.5011123-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "59ce2f27-9fda-4a64-96ae-67ebf79167bc",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4e8754ec-49d2-4533-8ee1-b981ffa11b9b",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9a960a80-2854-43b8-8ef5-a8f5d4af42fe",
"CreateDate": "2026-02-08T13:14:07.5011123-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-08T13:14:07.5011123-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}