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": "c6c5d074-085c-45d3-9980-5953a3cf3b5e",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AttachmentCategory": {
        "AttachmentCategoryId": "1f6bcbb2-0c1e-4013-b53d-b3f3c7467132",
        "Name": "sample string 1",
        "SourceSystemId": "sample string 2",
        "CompanyId": "9abbeea3-71f2-4740-8e47-35cfeb3837cb",
        "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
        "CreateUser": "sample string 4",
        "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
        "LastModifiedUser": "sample string 5"
      },
      "Asset": {
        "AssetId": "10787d16-b33e-4cea-a0dc-13a359fc6848",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "3305291e-a21c-485e-ba28-76ce3126e34f",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "a35a03e6-d631-44d8-a3ed-a25fb8920663",
          "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "563a5be7-316b-4480-b92e-c3e41aaac28c",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
          "MeasurementValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3ac0feed-c61d-4a5c-8286-b46a80abfa1f",
          "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
        "MeasurementValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "932bcd47-e5de-4bf6-b7f9-f5f90808b8e4",
        "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FileType": "sample string 3",
      "FileSize": 1,
      "UploadDate": "2022-11-27T04:54:23.2179987-08:00",
      "Content": "QEA=",
      "SourceSystemId": "sample string 4",
      "CompanyId": "3d92496d-7c79-4146-a556-43d924ea2d4b",
      "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
      "LastModifiedUser": "sample string 7"
    },
    {
      "AttachmentId": "c6c5d074-085c-45d3-9980-5953a3cf3b5e",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AttachmentCategory": {
        "AttachmentCategoryId": "1f6bcbb2-0c1e-4013-b53d-b3f3c7467132",
        "Name": "sample string 1",
        "SourceSystemId": "sample string 2",
        "CompanyId": "9abbeea3-71f2-4740-8e47-35cfeb3837cb",
        "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
        "CreateUser": "sample string 4",
        "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
        "LastModifiedUser": "sample string 5"
      },
      "Asset": {
        "AssetId": "10787d16-b33e-4cea-a0dc-13a359fc6848",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "3305291e-a21c-485e-ba28-76ce3126e34f",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "a35a03e6-d631-44d8-a3ed-a25fb8920663",
          "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "563a5be7-316b-4480-b92e-c3e41aaac28c",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
          "MeasurementValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3ac0feed-c61d-4a5c-8286-b46a80abfa1f",
          "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
        "MeasurementValueNeededDate": "2022-11-27T04:54:23.2179987-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "932bcd47-e5de-4bf6-b7f9-f5f90808b8e4",
        "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FileType": "sample string 3",
      "FileSize": 1,
      "UploadDate": "2022-11-27T04:54:23.2179987-08:00",
      "Content": "QEA=",
      "SourceSystemId": "sample string 4",
      "CompanyId": "3d92496d-7c79-4146-a556-43d924ea2d4b",
      "CreateDate": "2022-11-27T04:54:23.2179987-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2022-11-27T04:54:23.2179987-08:00",
      "LastModifiedUser": "sample string 7"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}