# PermissionRegistrationsByPermissionId: Tixly Permission Registrations by Permission ID Fetches all registrations to the specified permission, can be filtered to a time period. ## Documentation Fetches all registrations to the specified permission, can be filtered to a time period. - Catalog: `Tixly` - Schema: `Permission` - Label: Permission Registrations by Permission ID This is a read-only table function. The Tixly API may not support changing the data or the Invantive UniversalSQL driver for Tixly does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Tixly API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `PermissionRegistrationsByPermissionId`. 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 | |---|:---:|:---:|:---:|---| | `DateFrom` | `` | ☐ | | If this is set, then only get registrations after this date | | `DateTo` | `` | ☐ | | If this is set, then only get registrations before this date | | `id` | `` | ☑ | | Id of the permission | ## Columns of Table Function The columns of the table function `PermissionRegistrationsByPermissionId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `AddressOne` | `varchar2` | Address One | ☐ | | | `AddressTwo` | `varchar2` | Address Two | ☐ | | | `City` | `varchar2` | City | ☐ | | | `CountryId` | `int32` | | ☐ | | | `Country` | `varchar2` | Country | ☐ | | | `CreatedUTCUnix` | `int64` | | ☐ | | | `Created` | `datetime` | Created | ☐ | | | `CustomerId` | `int32` | Customer ID | ☐ | | | `Email` | `varchar2` | Email | ☐ | | | `EventId` | `int32` | Event ID | ☐ | | | `HouseExtension` | `varchar2` | House Extension | ☐ | | | `HouseNumber` | `varchar2` | House Number | ☐ | | | `Id` | `int32` | ID | ☐ | | | `Mobile` | `varchar2` | Mobile | ☐ | | | `Name` | `varchar2` | Name | ☐ | | | `OrderId` | `int32` | Order ID | ☐ | | | `PermissionId` | `int32` | Permission ID | ☐ | | | `StateId` | `int32` | | ☐ | | | `State` | `varchar2` | | ☐ | | | `StreetName` | `varchar2` | Street Name | ☐ | | | `ZipCode` | `varchar2` | ZIP-code | ☐ | |