GET WellPurposes/ByLastModifiedDate?assetId={assetId}&wellPurposeTypeId={wellPurposeTypeId}&beginDate={beginDate}&endDate={endDate}

Retrieves well purposes for the given parameters. All parameters are optional.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
assetId

Id of the asset

globally unique identifier

None.

wellPurposeTypeId

Id of the well purpose type

globally unique identifier

None.

beginDate

Beginning last modified date of the well purposes to retrieve

date

None.

endDate

Ending last modified date of the well purposes to retrieve

date

None.

Body Parameters

None.

Response Information

Resource Description

On success, a list of well purposes.

NameDescriptionTypeAdditional information
Data

Collection of WellPurpose

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "WellPurposeId": "64b1488b-9c9b-4747-b911-3fbf03a6cd2a",
      "Asset": {
        "AssetId": "112100e0-8ed1-4d01-b595-5b0765d7ea5a",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "f12e7d20-6464-4996-9e14-5f30f1113ca1",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "24866378-96b2-4129-b4e5-09062f98d373",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "AssetGroup": {
          "AssetGroupId": "4c664dd6-3d3f-4417-ac47-ec91470a10c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
          "MeasurementValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "010f336c-a0c9-4ffd-b531-5a2cf1196ef1",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "State": {
          "StateId": "9abf896e-aa0e-4a8c-9f63-51ca40b7bd14",
          "EffectiveDate": "2024-04-24T21:08:45.1999523-07:00",
          "StateType": {
            "StateTypeId": "16bb54d7-717c-4068-839f-0197bdde7a60",
            "Name": "sample string 1",
            "IsOperational": true,
            "AssetType": {
              "AssetTypeId": "f12e7d20-6464-4996-9e14-5f30f1113ca1",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "24866378-96b2-4129-b4e5-09062f98d373",
              "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 3",
            "CompanyId": "0f960792-b99f-4a55-aec8-1111bedc1917",
            "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
            "LastModifiedUser": "sample string 6"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "9461bd35-6c66-4d3a-afbd-b0fed40cd487",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 4"
        },
        "Status": {
          "StatusId": "4fb24f5d-3432-4313-91ca-56e8ffc3b41b",
          "EffectiveDate": "2024-04-24T21:08:45.1999523-07:00",
          "StatusType": {
            "StatusTypeId": "3cd733dd-f0a2-4a8c-8986-9426fc5fc288",
            "Name": "sample string 1",
            "IsProducing": true,
            "IsInjecting": true,
            "AssetType": {
              "AssetTypeId": "f12e7d20-6464-4996-9e14-5f30f1113ca1",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "24866378-96b2-4129-b4e5-09062f98d373",
              "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 4",
            "CompanyId": "9d57f123-05bd-4ad3-8bb0-c6ade3d99121",
            "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
            "CreateUser": "sample string 6",
            "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
            "LastModifiedUser": "sample string 7"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "c3c53f66-ec59-4b39-9405-2bbd17a0bf99",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 4"
        },
        "FormValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
        "MeasurementValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "425a9b0e-e7a0-4b64-9f53-d149c6dc05e1",
        "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "EffectiveDate": "2024-04-24T21:08:45.1999523-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "275e6ccb-3158-47d4-bb48-cbc405a1c939",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "d76f412d-b5c0-4073-9e8f-b27596dc1103",
        "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "ee9eea42-7401-49fe-807e-78ed58a13bef",
      "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
      "LastModifiedUser": "sample string 4"
    },
    {
      "WellPurposeId": "64b1488b-9c9b-4747-b911-3fbf03a6cd2a",
      "Asset": {
        "AssetId": "112100e0-8ed1-4d01-b595-5b0765d7ea5a",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "f12e7d20-6464-4996-9e14-5f30f1113ca1",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "24866378-96b2-4129-b4e5-09062f98d373",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "AssetGroup": {
          "AssetGroupId": "4c664dd6-3d3f-4417-ac47-ec91470a10c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
          "MeasurementValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "010f336c-a0c9-4ffd-b531-5a2cf1196ef1",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "State": {
          "StateId": "9abf896e-aa0e-4a8c-9f63-51ca40b7bd14",
          "EffectiveDate": "2024-04-24T21:08:45.1999523-07:00",
          "StateType": {
            "StateTypeId": "16bb54d7-717c-4068-839f-0197bdde7a60",
            "Name": "sample string 1",
            "IsOperational": true,
            "AssetType": {
              "AssetTypeId": "f12e7d20-6464-4996-9e14-5f30f1113ca1",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "24866378-96b2-4129-b4e5-09062f98d373",
              "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 3",
            "CompanyId": "0f960792-b99f-4a55-aec8-1111bedc1917",
            "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
            "LastModifiedUser": "sample string 6"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "9461bd35-6c66-4d3a-afbd-b0fed40cd487",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 4"
        },
        "Status": {
          "StatusId": "4fb24f5d-3432-4313-91ca-56e8ffc3b41b",
          "EffectiveDate": "2024-04-24T21:08:45.1999523-07:00",
          "StatusType": {
            "StatusTypeId": "3cd733dd-f0a2-4a8c-8986-9426fc5fc288",
            "Name": "sample string 1",
            "IsProducing": true,
            "IsInjecting": true,
            "AssetType": {
              "AssetTypeId": "f12e7d20-6464-4996-9e14-5f30f1113ca1",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "24866378-96b2-4129-b4e5-09062f98d373",
              "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 4",
            "CompanyId": "9d57f123-05bd-4ad3-8bb0-c6ade3d99121",
            "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
            "CreateUser": "sample string 6",
            "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
            "LastModifiedUser": "sample string 7"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "c3c53f66-ec59-4b39-9405-2bbd17a0bf99",
          "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
          "LastModifiedUser": "sample string 4"
        },
        "FormValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
        "MeasurementValueNeededDate": "2024-04-24T21:08:45.1999523-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "425a9b0e-e7a0-4b64-9f53-d149c6dc05e1",
        "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "EffectiveDate": "2024-04-24T21:08:45.1999523-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "275e6ccb-3158-47d4-bb48-cbc405a1c939",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "d76f412d-b5c0-4073-9e8f-b27596dc1103",
        "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "ee9eea42-7401-49fe-807e-78ed58a13bef",
      "CreateDate": "2024-04-24T21:08:45.1999523-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-04-24T21:08:45.1999523-07:00",
      "LastModifiedUser": "sample string 4"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}