---
title: "ContractAttachmentsBySubcontractorContract (Bouw7)"
description: "itgen_bouw7_contractattachmentsbysubcontractorcontract_plural"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/exactonlinebouw/Bouw7.Contract.ContractAttachmentsBySubcontractorContract
original: https://documentation.invantive.eu/en/datamodels/exactonlinebouw/Bouw7.Contract.ContractAttachmentsBySubcontractorContract
updated: 2026-11-01T17:44:22Z
license: https://documentation.invantive.eu/en/
---

# ContractAttachmentsBySubcontractorContract: Bouw7 itgen_bouw7_contractattachmentsbysubcontractorcontract_plural

`read only` `REST`

- Catalog: `Bouw7`
- Schema: `Contract`
- Label: itgen_bouw7_contractattachmentsbysubcontractorcontract_plural

Returns a collection of subcontractor contract attachments with the given ID.
Returns a collection of subcontractor contract attachments.

Can only retrieve data.

## Summary

Returns a collection of subcontractor contract attachments.

## API Source

- Endpoint: `/contracts/subcontractor/{subcontractor}/attachments`
- Operation: `get /contracts/subcontractor/{subcontractor}/attachments`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 90 |
| Full scan rows per minute | 241,000 |
| Point query rows per minute | 666 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `subcontractor` | `` | [x] |  | Subcontractor contract ID |

## Table Columns

The columns of the table `ContractAttachmentsBySubcontractorContract` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `fileHash` | `varchar2` | File Hash | [ ] | filters on the platform, writable, `fileHash` | The uri of the file for the contract attachment. |
| `fileId` | `int64` | itgen_bouw7_fileid | [ ] | filters on the platform, writable, `fileId` | The indentifier of the contract attachment file. |
| `fileName` | `varchar2` | File Name | [ ] | filters on the platform, writable, `fileName` | The name of the file for the contract attachment. |
| `fileSize` | `varchar2` | itgen_bouw7_filesize | [ ] | filters on the platform, writable, `fileSize` | The size of the contract attachment file in bytes. |
| `id` | `int64` | ID | [ ] | filters on the platform, writable, `id` | The ID of the contract attachment. |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, `name` | The name of the contract attachment. |
| `ownerId` | `int64` | Owner ID | [ ] | filters on the platform, writable, `ownerId` | The ID of the contract attachment owner. |
| `ownerType` | `int64` | Owner Type | [ ] | filters on the platform, writable, `ownerType` | The owner type of the contract attachment. |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Bouw7](/en/release-notes/drivers?driver=bouw7)

