---
title: "ContractById (Gripp CRM)"
description: "Contract by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/grippcrm/GrippCrm.GrippCrm.ContractById
original: https://documentation.invantive.eu/en/datamodels/grippcrm/GrippCrm.GrippCrm.ContractById
updated: 2026-11-01T17:44:39Z
license: https://documentation.invantive.eu/en/
---

# ContractById: Gripp CRM Contract by ID

`read only` `REST`

- Catalog: `GrippCrm`
- Schema: `GrippCrm`
- Primary Keys: `id`
- Label: Contract by ID

Can only retrieve data.

## API Source

- Endpoint: `api3.php`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Write rows per minute | 8,930 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `contract.id` | `` | [x] |  |  |

## Table Columns

The columns of the table `ContractById` 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 |
|---|---|---|:---:|---|---|
| `clientreference` | `varchar2` | Client Reference | [ ] | filters on the platform, writable |  |
| `company_discr` | `varchar2` | itgen_gripp_company_discr | [ ] | writable, `company.discr` |  |
| `company_id` | `int32` | Company ID | [ ] | filters on the platform, writable, `company.id` |  |
| `company_searchname` | `varchar2` | Company Search Name | [ ] | writable, `company.searchname` |  |
| `contact_discr` | `varchar2` | itgen_gripp_contact_discr | [ ] | writable, `contact.discr` |  |
| `contact_id` | `int32` | Contact ID | [ ] | filters on the platform, writable, `contact.id` |  |
| `contact_searchname` | `varchar2` | Contact Search Name | [ ] | writable, `contact.searchname` |  |
| `createdon_date` | `datetime` | Created on Date | [ ] | filters on the platform, writable, `createdon.date` |  |
| `createdon_timezone` | `varchar2` | Created on Time Zone | [ ] | writable, `createdon.timezone` |  |
| `createdon_timezone_type` | `int32` | Created on Time Zone Type | [ ] | writable, `createdon.timezone_type` |  |
| `date_date` | `datetime` | Date Date | [x] | filters on the platform, writable, `date.date` |  |
| `date_original_date` | `datetime` | Date Original (Date) | [ ] | filters on the platform, writable, `date_original.date` |  |
| `date_original_timezone` | `varchar2` | Date Original (Time Zone) | [ ] | writable, `date_original.timezone` |  |
| `date_original_timezone_type` | `int32` | Date Original (Time Zone Type) | [ ] | writable, `date_original.timezone_type` |  |
| `date_timezone` | `varchar2` | Date Time Zone | [x] | writable, `date.timezone` |  |
| `date_timezone_type` | `int32` | Date Time Zone Type | [x] | writable, `date.timezone_type` |  |
| `description` | `varchar2` | Description | [ ] | filters on the platform, writable |  |
| `expirydate_date` | `datetime` | Expiry Date (Date) | [ ] | filters on the platform, writable, `expirydate.date` |  |
| `expirydate_timezone` | `varchar2` | Expiry Date (Time Zone) | [ ] | writable, `expirydate.timezone` |  |
| `expirydate_timezone_type` | `int32` | Expiry Date (Time Zone Type) | [ ] | writable, `expirydate.timezone_type` |  |
| `extendautomatically` | `char` | Extend Automatically | [ ] | filters on the platform, writable |  |
| `extendedproperties` | `varchar2` | Extended Properties | [ ] | filters on the platform, writable |  |
| `extendperiod` | `int32` | Extend Period | [ ] | filters on the platform, writable |  |
| `extrapdf1_discr` | `varchar2` | itgen_gripp_extrapdf1_discr | [ ] | writable, `extrapdf1.discr` |  |
| `extrapdf1_id` | `int32` | Extra PDF 1 ID | [ ] | filters on the platform, writable, `extrapdf1.id` |  |
| `extrapdf1_searchname` | `varchar2` | Extra PDF 1 Search Name | [ ] | writable, `extrapdf1.searchname` |  |
| `extrapdf2_discr` | `varchar2` | itgen_gripp_extrapdf2_discr | [ ] | writable, `extrapdf2.discr` |  |
| `extrapdf2_id` | `int32` | Extra PDF 2 ID | [ ] | filters on the platform, writable, `extrapdf2.id` |  |
| `extrapdf2_searchname` | `varchar2` | Extra PDF 2 Search Name | [ ] | writable, `extrapdf2.searchname` |  |
| `filesavailableforclient` | `char` | Files Available for Client | [ ] | filters on the platform, writable |  |
| `frequency_discr` | `varchar2` | itgen_gripp_frequency_discr | [ ] | writable, `frequency.discr` |  |
| `frequency_id` | `int32` | Frequency ID | [x] | filters on the platform, writable, `frequency.id` |  |
| `frequency_searchname` | `varchar2` | Frequency Search Name | [x] | writable, `frequency.searchname` |  |
| `id` | `int32` | ID | [ ] | filters on the platform, writable |  |
| `identity_discr` | `varchar2` | itgen_gripp_identity_discr | [ ] | writable, `identity.discr` |  |
| `identity_id` | `int32` | Identity ID | [ ] | filters on the platform, writable, `identity.id` |  |
| `identity_searchname` | `varchar2` | Identity Search Name | [ ] | writable, `identity.searchname` |  |
| `isbasis` | `char` | Is Basis | [ ] | filters on the platform, writable |  |
| `name` | `varchar2` | Name | [x] | filters on the platform, writable |  |
| `number` | `int32` | Number | [ ] | filters on the platform, writable |  |
| `paymentmethod_discr` | `varchar2` | itgen_gripp_paymentmethod_discr | [ ] | writable, `paymentmethod.discr` |  |
| `paymentmethod_id` | `int32` | Payment Method ID | [x] | filters on the platform, writable, `paymentmethod.id` |  |
| `paymentmethod_searchname` | `varchar2` | Payment Method Search Name | [x] | writable, `paymentmethod.searchname` |  |
| `searchname` | `varchar2` | Search Name | [ ] | filters on the platform, writable |  |
| `sendmaxtimes` | `int32` | Send Max. Times | [ ] | filters on the platform, writable |  |
| `sendmaxtimescheckbox` | `char` | Send Max. Times Checkbox | [ ] | filters on the platform, writable |  |
| `status_discr` | `varchar2` | itgen_gripp_status_discr | [ ] | writable, `status.discr` |  |
| `status_id` | `int32` | Status ID | [ ] | filters on the platform, writable, `status.id` |  |
| `status_searchname` | `varchar2` | Status Search Name | [ ] | writable, `status.searchname` |  |
| `subject` | `varchar2` | Subject | [ ] | filters on the platform, writable |  |
| `subject_invoice` | `varchar2` | Invoice Subject | [ ] | filters on the platform, writable |  |
| `templateset_discr` | `varchar2` | itgen_gripp_templateset_discr | [ ] | writable, `templateset.discr` |  |
| `templateset_id` | `int32` | Template Set ID | [x] | filters on the platform, writable, `templateset.id` |  |
| `templateset_searchname` | `varchar2` | Template Set Search Name | [x] | writable, `templateset.searchname` |  |
| `updatedon_date` | `datetime` | Updated on Date | [ ] | filters on the platform, writable, `updatedon.date` |  |
| `updatedon_timezone` | `varchar2` | Updated on Time Zone | [ ] | writable, `updatedon.timezone` |  |
| `updatedon_timezone_type` | `int32` | Updated on Time Zone Type | [ ] | writable, `updatedon.timezone_type` |  |
| `validfor_discr` | `varchar2` | itgen_gripp_validfor_discr | [ ] | writable, `validfor.discr` |  |
| `validfor_id` | `int32` | Valid for ID | [ ] | filters on the platform, writable, `validfor.id` |  |
| `validfor_searchname` | `varchar2` | Valid for Search Name | [ ] | writable, `validfor.searchname` |  |
| `viewonlineurl` | `varchar2` | View Online (URL) | [ ] | writable |  |



## Release Notes

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

- [Gripp CRM](/en/release-notes/drivers/gripp-crm)

### Changes of This Table, 26.0 to 27.0

<div class="rn-item" id="GRP-27.0-D116">

##### Table function GrippCrm..ContractById is renamed to GrippCrm.GrippCrm.ContractById

A statement that names GrippCrm..ContractById fails after the upgrade; use GrippCrm.GrippCrm.ContractById. The table function has 61 columns. The driver registered its objects without a schema in release 26.0; from 27.0 the schema is GrippCrm.

<div class="rn-action">

**What to Do**

Check statements, views and scripts that use it before the upgrade.

</div>

<div class="rn-chips">

- **can break a statement**
- importance 5

</div>

</div>

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers/gripp-crm?step=26.0-to-27.0#gripp-crm-26.0-to-27.0)

