GET Attachments?attachmentId={attachmentId}

Retrieves an attachment by its Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
attachmentId

Id of the attachment

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Attachment

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AttachmentId": "9f1cfc88-dc54-4f1e-b7ec-68b437a0b7d8",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AttachmentCategory": {
      "AttachmentCategoryId": "e71cfb02-c003-4c14-be93-46c0918d62aa",
      "Name": "sample string 1",
      "SourceSystemId": "sample string 2",
      "CompanyId": "b63f340f-99a0-4af1-9353-c2ca83743f0e",
      "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
      "LastModifiedUser": "sample string 5"
    },
    "Asset": {
      "AssetId": "9f50e171-ac76-41e8-a703-03be6df071a2",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "f91c295a-0785-4b16-92ac-a7a84438135a",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "18b29525-1100-48ba-bd37-ed1385f8d970",
        "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "AssetGroup": {
        "AssetGroupId": "6f4094fc-4ac6-40ba-b80c-edb4026052a1",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-11-21T05:03:36.9927316-08:00",
        "MeasurementValueNeededDate": "2024-11-21T05:03:36.9927316-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "669c7fae-61bb-437c-a9e3-daa08a4beb75",
        "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "State": {
        "StateId": "a058a5b5-7154-4d93-8161-a3a035ea1199",
        "EffectiveDate": "2024-11-21T05:03:36.9927316-08:00",
        "StateType": {
          "StateTypeId": "03d01ad4-6569-4ad6-a548-f0a4315e983f",
          "Name": "sample string 1",
          "IsOperational": true,
          "AssetType": {
            "AssetTypeId": "f91c295a-0785-4b16-92ac-a7a84438135a",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "18b29525-1100-48ba-bd37-ed1385f8d970",
            "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 3",
          "CompanyId": "c0de3879-a807-43b5-be15-78e63c928b04",
          "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "cb11bfc7-6505-4222-b1cc-795925355bfd",
        "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "Status": {
        "StatusId": "e05b3d4f-c133-4c77-bb4d-585c8a2f26d8",
        "EffectiveDate": "2024-11-21T05:03:36.9927316-08:00",
        "StatusType": {
          "StatusTypeId": "1b42592a-9641-455d-866a-d8d851699ae5",
          "Name": "sample string 1",
          "IsProducing": true,
          "IsInjecting": true,
          "AssetType": {
            "AssetTypeId": "f91c295a-0785-4b16-92ac-a7a84438135a",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "18b29525-1100-48ba-bd37-ed1385f8d970",
            "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 4",
          "CompanyId": "c81993e3-63a6-4dac-a96e-c28b8f6a5640",
          "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "6e08daa3-c3c1-46fd-b512-f377fdc142e4",
        "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "WellPurpose": {
        "WellPurposeId": "2a95d912-95c6-4771-8d32-ea63ded39836",
        "EffectiveDate": "2024-11-21T05:03:36.9927316-08:00",
        "WellPurposeType": {
          "WellPurposeTypeId": "7093b541-e12a-4fb9-a1c0-2b29f1c5d541",
          "IsProducer": true,
          "IsInjector": true,
          "Name": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "e5f53274-6674-4daf-8d8e-7cdebfe72eaa",
          "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "b3aa9e39-721f-41ca-a14a-41dd0da39693",
        "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
        "LastModifiedUser": "sample string 4"
      },
      "FormValueNeededDate": "2024-11-21T05:03:36.9927316-08:00",
      "MeasurementValueNeededDate": "2024-11-21T05:03:36.9927316-08:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "9789a2e3-4e21-4336-960f-a98cf974c8a0",
      "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "FileType": "sample string 3",
    "FileSize": 1,
    "UploadDate": "2024-11-21T05:03:36.9927316-08:00",
    "Content": "QEA=",
    "SourceSystemId": "sample string 4",
    "CompanyId": "987b9192-36b1-450c-a8f9-84457ffc8eaf",
    "CreateDate": "2024-11-21T05:03:36.9927316-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-11-21T05:03:36.9927316-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}