# ContractRatesBasic: Horeko Contract Rates (Basic)
Returns rates
Returns list of rates. Available sort options: Id, StartDate, EndDate, HourlyRate, ContractId.
This is a read-only table function. The Horeko API may not support modifying the data, or the Invantive UniversalSQL driver for Horeko does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Horeko API.
- Catalog: `Horeko`
- Schema: `Contracts`
- Label: Contract Rates (Basic)
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `activeDate` | `datetime` | ☐ | | get only rates that are active for this specific date (format yyyy-mm-dd hh:mm:ss) |
| `sortBy` | `string` | ☐ | | comma separated list of available options for sorting |
| `sortDescending` | `boolean` | ☐ | | true = descending \| false = asceding. default is false |
## Columns
The columns of the table `ContractRatesBasic` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `ContractId` | `int32` | Contract ID | ☐ | |
| `CreateDate` | `datetime` | Creation Date | ☐ | |
| `EndDate` | `datetime` | End Date | ☐ | |
| `HourlyRate` | `double` | Hourly Rate | ☐ | |
| `Id` | `int32` | ID | ☐ | |
| `StartDate` | `datetime` | Start Date | ☐ | |
| `UpdateDate` | `datetime` | Update Date | ☐ | |