GET Attachments/ByLastModifiedDate?assetId={assetId}&beginDate={beginDate}&endDate={endDate}&includeContent={includeContent}

Retrieves attachments for the given parameters. All parameters are optional.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
assetId

Id of the asset

globally unique identifier

None.

beginDate

Beginning last modified date of the attachments to retrieve

date

None.

endDate

Ending last modified date of the attachments to retrieve

date

None.

includeContent

Include the file contents of the attachments

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

On success, a list of attachments.

NameDescriptionTypeAdditional information
Data

Collection of Attachment

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AttachmentId": "8fe20462-8393-4392-8823-0fc1c5797d79",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AttachmentCategory": {
        "AttachmentCategoryId": "6800bafb-83e2-45b6-b7d2-9541d27771ae",
        "Name": "sample string 1",
        "SourceSystemId": "sample string 2",
        "CompanyId": "f3c609d3-58f0-4c60-b82b-3b46d0845aa6",
        "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
        "CreateUser": "sample string 4",
        "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
        "LastModifiedUser": "sample string 5"
      },
      "Asset": {
        "AssetId": "625dc8a7-f238-4652-aa1e-b445cd024d8b",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "b5efe0d7-657c-4c45-8dd8-7cb2d93acf33",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "0adaa9eb-86e3-4d4e-bb4f-518fb04e1a40",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "AssetGroup": {
          "AssetGroupId": "500ea6d5-339f-492a-9d25-70942fc55eca",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
          "MeasurementValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dbae6330-5b04-494b-88f7-c432e609f4d7",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "State": {
          "StateId": "92d2a829-6947-4938-9a67-403a88e468ad",
          "EffectiveDate": "2024-11-21T05:27:28.9845445-08:00",
          "StateType": {
            "StateTypeId": "73691b52-5244-453a-b2e8-2efd25a9d9db",
            "Name": "sample string 1",
            "IsOperational": true,
            "AssetType": {
              "AssetTypeId": "b5efe0d7-657c-4c45-8dd8-7cb2d93acf33",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "0adaa9eb-86e3-4d4e-bb4f-518fb04e1a40",
              "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 3",
            "CompanyId": "781cf89c-90f6-495a-a8f8-5eccedec6c5d",
            "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
            "LastModifiedUser": "sample string 6"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "ffb89889-04fd-49e0-8527-137fc1d42630",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 4"
        },
        "Status": {
          "StatusId": "21ce1b02-786e-4f98-a070-4180b41c41bc",
          "EffectiveDate": "2024-11-21T05:27:28.9845445-08:00",
          "StatusType": {
            "StatusTypeId": "78054cdb-0a86-4321-bf94-fba121680229",
            "Name": "sample string 1",
            "IsProducing": true,
            "IsInjecting": true,
            "AssetType": {
              "AssetTypeId": "b5efe0d7-657c-4c45-8dd8-7cb2d93acf33",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "0adaa9eb-86e3-4d4e-bb4f-518fb04e1a40",
              "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 4",
            "CompanyId": "fc70b3c5-968e-4e4c-8c3c-bc77a1928794",
            "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
            "CreateUser": "sample string 6",
            "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
            "LastModifiedUser": "sample string 7"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "1c508640-5d22-46ce-b02b-6dc16d0bb5ee",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 4"
        },
        "WellPurpose": {
          "WellPurposeId": "ff6873a3-76c5-4fcf-9ece-fb2d55477705",
          "EffectiveDate": "2024-11-21T05:27:28.9845445-08:00",
          "WellPurposeType": {
            "WellPurposeTypeId": "0ebe873e-ca0a-4cb7-9abe-7390a7513b86",
            "IsProducer": true,
            "IsInjector": true,
            "Name": "sample string 3",
            "SourceSystemId": "sample string 4",
            "CompanyId": "107863f7-0ee0-40b2-b40a-55beb7f306ff",
            "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
            "CreateUser": "sample string 6",
            "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
            "LastModifiedUser": "sample string 7"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "dc640d04-463c-4a63-b8ad-b77f8b85fd7b",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 4"
        },
        "FormValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
        "MeasurementValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "9f79921f-1f7b-48f4-b3ac-7473b929d855",
        "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FileType": "sample string 3",
      "FileSize": 1,
      "UploadDate": "2024-11-21T05:27:28.9845445-08:00",
      "Content": "QEA=",
      "SourceSystemId": "sample string 4",
      "CompanyId": "c446a71a-8f99-490a-8574-986cdf4b910c",
      "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
      "LastModifiedUser": "sample string 7"
    },
    {
      "AttachmentId": "8fe20462-8393-4392-8823-0fc1c5797d79",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AttachmentCategory": {
        "AttachmentCategoryId": "6800bafb-83e2-45b6-b7d2-9541d27771ae",
        "Name": "sample string 1",
        "SourceSystemId": "sample string 2",
        "CompanyId": "f3c609d3-58f0-4c60-b82b-3b46d0845aa6",
        "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
        "CreateUser": "sample string 4",
        "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
        "LastModifiedUser": "sample string 5"
      },
      "Asset": {
        "AssetId": "625dc8a7-f238-4652-aa1e-b445cd024d8b",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "b5efe0d7-657c-4c45-8dd8-7cb2d93acf33",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "0adaa9eb-86e3-4d4e-bb4f-518fb04e1a40",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "AssetGroup": {
          "AssetGroupId": "500ea6d5-339f-492a-9d25-70942fc55eca",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
          "MeasurementValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dbae6330-5b04-494b-88f7-c432e609f4d7",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "State": {
          "StateId": "92d2a829-6947-4938-9a67-403a88e468ad",
          "EffectiveDate": "2024-11-21T05:27:28.9845445-08:00",
          "StateType": {
            "StateTypeId": "73691b52-5244-453a-b2e8-2efd25a9d9db",
            "Name": "sample string 1",
            "IsOperational": true,
            "AssetType": {
              "AssetTypeId": "b5efe0d7-657c-4c45-8dd8-7cb2d93acf33",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "0adaa9eb-86e3-4d4e-bb4f-518fb04e1a40",
              "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 3",
            "CompanyId": "781cf89c-90f6-495a-a8f8-5eccedec6c5d",
            "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
            "LastModifiedUser": "sample string 6"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "ffb89889-04fd-49e0-8527-137fc1d42630",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 4"
        },
        "Status": {
          "StatusId": "21ce1b02-786e-4f98-a070-4180b41c41bc",
          "EffectiveDate": "2024-11-21T05:27:28.9845445-08:00",
          "StatusType": {
            "StatusTypeId": "78054cdb-0a86-4321-bf94-fba121680229",
            "Name": "sample string 1",
            "IsProducing": true,
            "IsInjecting": true,
            "AssetType": {
              "AssetTypeId": "b5efe0d7-657c-4c45-8dd8-7cb2d93acf33",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "IsWell": true,
              "DisplayColor": "sample string 4",
              "SourceSystemId": "sample string 5",
              "CompanyId": "0adaa9eb-86e3-4d4e-bb4f-518fb04e1a40",
              "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
              "CreateUser": "sample string 7",
              "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
              "LastModifiedUser": "sample string 8"
            },
            "SourceSystemId": "sample string 4",
            "CompanyId": "fc70b3c5-968e-4e4c-8c3c-bc77a1928794",
            "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
            "CreateUser": "sample string 6",
            "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
            "LastModifiedUser": "sample string 7"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "1c508640-5d22-46ce-b02b-6dc16d0bb5ee",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 4"
        },
        "WellPurpose": {
          "WellPurposeId": "ff6873a3-76c5-4fcf-9ece-fb2d55477705",
          "EffectiveDate": "2024-11-21T05:27:28.9845445-08:00",
          "WellPurposeType": {
            "WellPurposeTypeId": "0ebe873e-ca0a-4cb7-9abe-7390a7513b86",
            "IsProducer": true,
            "IsInjector": true,
            "Name": "sample string 3",
            "SourceSystemId": "sample string 4",
            "CompanyId": "107863f7-0ee0-40b2-b40a-55beb7f306ff",
            "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
            "CreateUser": "sample string 6",
            "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
            "LastModifiedUser": "sample string 7"
          },
          "SourceSystemId": "sample string 1",
          "CompanyId": "dc640d04-463c-4a63-b8ad-b77f8b85fd7b",
          "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
          "CreateUser": "sample string 3",
          "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
          "LastModifiedUser": "sample string 4"
        },
        "FormValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
        "MeasurementValueNeededDate": "2024-11-21T05:27:28.9845445-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "9f79921f-1f7b-48f4-b3ac-7473b929d855",
        "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FileType": "sample string 3",
      "FileSize": 1,
      "UploadDate": "2024-11-21T05:27:28.9845445-08:00",
      "Content": "QEA=",
      "SourceSystemId": "sample string 4",
      "CompanyId": "c446a71a-8f99-490a-8574-986cdf4b910c",
      "CreateDate": "2024-11-21T05:27:28.9845445-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-11-21T05:27:28.9845445-08:00",
      "LastModifiedUser": "sample string 7"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}