# RecentChangesBySinceTimestamp
## Documentation
The items changed since a moment. Each request costs 20 tokens of the daily budget of the company.
- Catalog: `Pipedrive`
- Schema: `Settings`
This is a read-only table function. The Pipedrive API may not support changing the data or the Invantive UniversalSQL driver for Pipedrive does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Pipedrive API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `RecentChangesBySinceTimestamp`. 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 |
|---|:---:|:---:|:---:|---|
| `since_timestamp` | `varchar2` | ☑ | | The since timestamp. |
## Columns of Table Function
The columns of the table function `RecentChangesBySinceTimestamp` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `data_access` | `varchar2` | | ☐ | The data access. |
| `data_activated` | `char` | | ☐ | Boolean that indicates whether the user is activated. |
| `data_active_flag` | `char` | | ☐ | Boolean that indicates whether the user is activated. |
| `data_created` | `datetime` | | ☐ | The creation date and time of the user. |
| `data_default_currency` | `varchar2` | | ☐ | The user default currency. |
| `data_email` | `varchar2` | | ☐ | The user email. |
| `data_has_created_company` | `char` | | ☐ | Boolean that indicates whether the user has created a company. |
| `data_icon_url` | `varchar2` | | ☐ | The user icon URL. |
| `data_id` | `int64` | | ☐ | The user ID. |
| `data_is_deleted` | `char` | | ☐ | Boolean that indicates whether the user is deleted from the company. |
| `data_is_you` | `char` | | ☐ | Boolean that indicates if the requested user is the same which is logged in (in this case, always true). |
| `data_lang` | `int64` | | ☐ | The user language ID. |
| `data_last_login` | `datetime` | | ☐ | The last login date and time of the user. |
| `data_locale` | `varchar2` | | ☐ | The user locale. |
| `data_modified` | `datetime` | | ☐ | The last modification date and time of the user. |
| `data_name` | `varchar2` | | ☐ | The user name. |
| `data_phone` | `varchar2` | | ☐ | The user phone. |
| `data_role_id` | `int64` | | ☐ | The ID of the user role. |
| `data_timezone_name` | `varchar2` | | ☐ | The user timezone name. |
| `data_timezone_offset` | `varchar2` | | ☐ | The user timezone offset. |
| `id` | `int64` | | ☐ | The id. |
| `item` | `varchar2` | | ☐ | The item. |
| `since_timestamp` | `varchar2` | | ☐ | The since timestamp the rows were read for. |
## Foreign Keys
The values of these columns refer to a row of another table.
| Columns | Referenced Table | Referenced Columns | Guarantee |
|---|---|---|---|
| `id` | [[Activities-Activities\|Activities.Activities]] | `id` | In words only: The changed row of Activities, when item is 'activity'. |
| `id` | [[Activities-ActivityTypes\|Activities.ActivityTypes]] | `id` | In words only: The changed row of ActivityTypes, when item is 'activityType'. |
| `id` | [[Deals-Deals\|Deals.Deals]] | `id` | In words only: The changed row of Deals, when item is 'deal'. |
| `id` | [[Notes-Files\|Notes.Files]] | `id` | In words only: The changed row of Files, when item is 'file'. |
| `id` | [[Settings-Filters\|Settings.Filters]] | `id` | In words only: The changed row of Filters, when item is 'filter'. |
| `id` | [[Notes-Notes\|Notes.Notes]] | `id` | In words only: The changed row of Notes, when item is 'note'. |
| `id` | [[Contacts-Organizations\|Contacts.Organizations]] | `id` | In words only: The changed row of Organizations, when item is 'organization'. |
| `id` | [[Contacts-Persons\|Contacts.Persons]] | `id` | In words only: The changed row of Persons, when item is 'person'. |
| `id` | [[Pipelines-Pipelines\|Pipelines.Pipelines]] | `id` | In words only: The changed row of Pipelines, when item is 'pipeline'. |
| `id` | [[Products-Products\|Products.Products]] | `id` | In words only: The changed row of Products, when item is 'product'. |
| `id` | [[Pipelines-Stages\|Pipelines.Stages]] | `id` | In words only: The changed row of Stages, when item is 'stage'. |
| `id` | [[Users-Users\|Users.Users]] | `id` | In words only: The changed row of Users, when item is 'user'. |