GET Attachments/ByUploadDate?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 upload date of the attachments to retrieve

date

None.

endDate

Ending upload 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": "3c6e53d9-dac2-44d7-b70c-a8fc4e8132ee",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AttachmentCategory": {
        "AttachmentCategoryId": "08c50587-69ab-466e-8f0f-3db2df670560",
        "Name": "sample string 1",
        "SourceSystemId": "sample string 2",
        "CompanyId": "7e6aafa6-711e-4ff1-b243-ea9e0310982e",
        "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
        "CreateUser": "sample string 4",
        "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
        "LastModifiedUser": "sample string 5"
      },
      "Asset": {
        "AssetId": "f7bfd5e1-17ac-461f-9591-58b8bd2bb850",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "7c1d04d0-f647-4d6d-bb46-a6dd9ea0d10a",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "15c0ac2b-49a8-4949-b154-32015f721564",
          "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "5333302a-ca0d-43d6-b11d-f26b4bd00512",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
          "MeasurementValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "b644b31f-dec8-4133-a188-afdf2c938eae",
          "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
        "MeasurementValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "6333a373-3fa5-42d5-af4f-5b271b3e1754",
        "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FileType": "sample string 3",
      "FileSize": 1,
      "UploadDate": "2024-12-22T02:54:00.5114202-08:00",
      "Content": "QEA=",
      "SourceSystemId": "sample string 4",
      "CompanyId": "aac2c277-37e0-49af-afbd-5cc9f2096831",
      "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
      "LastModifiedUser": "sample string 7"
    },
    {
      "AttachmentId": "3c6e53d9-dac2-44d7-b70c-a8fc4e8132ee",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AttachmentCategory": {
        "AttachmentCategoryId": "08c50587-69ab-466e-8f0f-3db2df670560",
        "Name": "sample string 1",
        "SourceSystemId": "sample string 2",
        "CompanyId": "7e6aafa6-711e-4ff1-b243-ea9e0310982e",
        "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
        "CreateUser": "sample string 4",
        "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
        "LastModifiedUser": "sample string 5"
      },
      "Asset": {
        "AssetId": "f7bfd5e1-17ac-461f-9591-58b8bd2bb850",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "7c1d04d0-f647-4d6d-bb46-a6dd9ea0d10a",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "15c0ac2b-49a8-4949-b154-32015f721564",
          "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "5333302a-ca0d-43d6-b11d-f26b4bd00512",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
          "MeasurementValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "b644b31f-dec8-4133-a188-afdf2c938eae",
          "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
        "MeasurementValueNeededDate": "2024-12-22T02:54:00.5114202-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "6333a373-3fa5-42d5-af4f-5b271b3e1754",
        "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FileType": "sample string 3",
      "FileSize": 1,
      "UploadDate": "2024-12-22T02:54:00.5114202-08:00",
      "Content": "QEA=",
      "SourceSystemId": "sample string 4",
      "CompanyId": "aac2c277-37e0-49af-afbd-5cc9f2096831",
      "CreateDate": "2024-12-22T02:54:00.5114202-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-22T02:54:00.5114202-08:00",
      "LastModifiedUser": "sample string 7"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}