# ResourceUnitsById: Bouw7 Resource Units by ID
Returns a resource associated with the given id.
Returns a resource associated with the given id.
- Catalog: `Bouw7`
- Schema: `Resource`
- Label: Resource Units by ID
This is a read-only table function. The Bouw7 API may not support changing the data or the Invantive UniversalSQL driver for Bouw7 does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Bouw7 API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `ResourceUnitsById`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `id` | `` | ☑ | | Resource ID |
| `type` | `` | ☑ | | The type of resource |
## Columns of Table Function
The columns of the table function `ResourceUnitsById` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `code` | `varchar2` | Code | ☐ | The code of the resource. |
| `description` | `varchar2` | Description | ☐ | The description of the resource. |
| `group_createdAt` | `datetime` | Group Created at | ☐ | The creation time of the entity. |
| `group_createdBy` | `varchar2` | Group Created by | ☐ | The user that created the entity. |
| `group_id` | `int64` | Group ID | ☐ | The unique identifier of the group. |
| `group_name` | `varchar2` | Group Name | ☐ | The name of the group. |
| `group_type` | `varchar2` | Group Type | ☐ | The resource type, possible values: equipment. |
| `group_updatedAt` | `datetime` | Group Updated at | ☐ | The last updated time of the entity. |
| `group_updatedBy` | `varchar2` | Group Updated by | ☐ | The user that last updated the entity. |
| `id_2` | `int64` | ID | ☐ | The unique identifier of the resource. |
| `id` | `int64` | ID | ☐ | The unique identifier of the resource per unit. |
| `inspectionDate` | `datetime` | Inspection Date | ☐ | The inspection date of the resource. |
| `isActive_2` | `char` | | ☐ | The active state of the resource. |
| `isActive` | `char` | Is Active | ☐ | The active state of the resource per unit. |
| `lastModified_2` | `varchar2` | | ☐ | The last update time of the resource. |
| `lastModified` | `varchar2` | Last Modified | ☐ | The last updated time of the resource per unit. |
| `name` | `varchar2` | Name | ☐ | The name of the resource. |
| `price` | `varchar2` | Price | ☐ | The price of the resource per unit. |
| `resourceName` | `varchar2` | Resource Name | ☐ | The name of the resource. |
| `resourceUnitId` | `int64` | Resource Unit ID | ☐ | The ID of the resource unit. |
| `resourceUnitName` | `varchar2` | Resource Unit Name | ☐ | The name of the resource unit. |
| `sellingPrice` | `varchar2` | Selling Price | ☐ | The selling price of the resource per unit. |
| `type_2` | `varchar2` | | ☐ | Resource type, possible values: equipment. |
| `type` | `varchar2` | Type | ☐ | The resource type, possible values: equipment. |