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": "2daf9c20-1ebf-4ae4-a594-1ad5a31fe84a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AttachmentCategory": {
      "AttachmentCategoryId": "2b249abc-2d74-4ab8-ba90-25cb44e42891",
      "Name": "sample string 1",
      "SourceSystemId": "sample string 2",
      "CompanyId": "208695af-b60b-4a0f-b543-dac3f2e8b5db",
      "CreateDate": "2021-04-17T07:50:50.4875529-07:00",
      "CreateUser": "sample string 4",
      "CreateMachine": "sample string 5",
      "LastModifiedDate": "2021-04-17T07:50:50.4875529-07:00",
      "LastModifiedUser": "sample string 6",
      "LastModifiedMachine": "sample string 7"
    },
    "Asset": {
      "AssetId": "18b1b038-e620-468d-8ad4-2874a050ff72",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "d4839eb0-6e71-42d6-8a43-e5812f33772e",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "e45e6416-ed57-4e63-9ddc-945dcc0e885f",
        "CreateDate": "2021-04-17T07:50:50.4875529-07:00",
        "CreateUser": "sample string 6",
        "CreateMachine": "sample string 7",
        "LastModifiedDate": "2021-04-17T07:50:50.4875529-07:00",
        "LastModifiedUser": "sample string 8",
        "LastModifiedMachine": "sample string 9"
      },
      "AssetGroup": {
        "AssetGroupId": "2df07cf8-9ff6-420f-ac28-31282b162db2",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2021-04-17T07:50:50.4875529-07:00",
        "MeasurementValueNeededDate": "2021-04-17T07:50:50.4875529-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "7f321411-63dd-49e7-b0f1-f5f8ffaaf482",
        "CreateDate": "2021-04-17T07:50:50.4875529-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T07:50:50.4875529-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      "ParentAsset": null,
      "WellKnownText": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2021-04-17T07:50:50.4875529-07:00",
      "MeasurementValueNeededDate": "2021-04-17T07:50:50.4875529-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "de2259d9-b43e-46d0-995b-b3760b4aaffa",
      "CreateDate": "2021-04-17T07:50:50.4875529-07:00",
      "CreateUser": "sample string 7",
      "CreateMachine": "sample string 8",
      "LastModifiedDate": "2021-04-17T07:50:50.4875529-07:00",
      "LastModifiedUser": "sample string 9",
      "LastModifiedMachine": "sample string 10"
    },
    "FileType": "sample string 3",
    "FileSize": 1,
    "UploadDate": "2021-04-17T07:50:50.4875529-07:00",
    "Content": "QEA=",
    "SourceSystemId": "sample string 4",
    "CompanyId": "70f515bb-92c7-4e16-99fe-612efd725023",
    "CreateDate": "2021-04-17T07:50:50.4875529-07:00",
    "CreateUser": "sample string 6",
    "CreateMachine": "sample string 7",
    "LastModifiedDate": "2021-04-17T07:50:50.4875529-07:00",
    "LastModifiedUser": "sample string 8",
    "LastModifiedMachine": "sample string 9"
  },
  "Total": 1,
  "Message": "sample string 1"
}