Cloud

Build 25.0.9434
  • Kintone
    • Getting Started
      • Establishing a Connection
      • Creating a Custom OAuth Application
      • Firewall and Proxy
    • Data Model
      • Kintone Data Model
        • Tables
          • ActionSettings
          • AppPermissions
          • Comments
          • FieldPermissions
          • FormFields
          • FormLayout
          • GeneralNotifications
          • GeneralSettings
          • GraphSettings
          • PerRecordNotifications
          • ProcessManagement
          • RecordPermissions
          • ReminderNotifications
          • SampleApp
          • SampleApp_Table
          • Space
          • SpaceMembers
          • Views
        • Views
          • ActionSettingsEntities
          • ActionSettingsMappings
          • Apps
          • FieldPermissionsEntities
          • FormLayoutFields
          • PerRecordNotificationsTargets
          • ProcessManagementActions
          • RecordPermissionsEntities
          • ReminderNotificationsTargets
        • Stored Procedures
          • AddGuests
          • AddGuestsToSpace
          • AddThreadComment
          • AppsDeployStatus
          • CreateApp
          • DeleteGuests
          • DeployApps
          • UpdateAssignees
          • UpdateStatus
          • UpdateThread
      • CybozuUser Data Model
        • Views
          • UserDepartments
          • UserGroups
          • Users
      • System Tables
        • sys_catalogs
        • sys_schemas
        • sys_tables
        • sys_tablecolumns
        • sys_procedures
        • sys_procedureparameters
        • sys_keycolumns
        • sys_foreignkeys
        • sys_primarykeys
        • sys_indexes
        • sys_connection_props
        • sys_sqlinfo
        • sys_identity
        • sys_information
    • Connection String Options
      • Authentication
        • AuthScheme
        • URL
        • Schema
        • User
        • Password
        • BasicAuthUser
        • BasicAuthPassword
        • AppId
        • APIToken
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
        • Scope
      • Logging
        • Verbosity
      • Schema
        • BrowsableSchemas
      • Miscellaneous
        • AllowSpecialCharacters
        • CheckForSubtablesIn
        • GuestSpaceId
        • MaxRows
        • NumberMapToDouble
        • Pagesize
        • PseudoColumns
        • SubtableIdAsLong
        • SubtableSeparatorCharacter
        • TableNameMode
        • Timeout
        • UseCodeForFieldName
        • UseCursor
        • UseSimpleNames
        • UseUnitForNumericField
    • Third Party Copyrights

Kintone - CData Cloud

Overview

CData Cloud offers access to Kintone across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a SQL Server database can connect to Kintone through CData Cloud.

CData Cloud allows you to standardize and configure connections to Kintone as though it were any other OData endpoint or standard SQL Server.

Key Features

  • Full SQL Support: Kintone appears as standard relational databases, allowing you to perform operations - Filter, Group, Join, etc. - using standard SQL, regardless of whether these operations are supported by the underlying API.
  • CRUD Support: Both read and write operations are supported, restricted only by security settings that you can configure in Cloud or downstream in the source itself.
  • Secure Access: The administrator can create users and define their access to specific databases and read-only operations or grant full read & write privileges.
  • Comprehensive Data Model & Dynamic Discovery: CData Cloud provides comprehensive access to all of the data exposed in the underlying data source, including full access to dynamic data and easily searchable metadata.

CData Cloud

Getting Started

This page provides a guide to Establishing a Connection to Kintone in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.

Connecting to Kintone

Establishing a Connection shows how to authenticate to Kintone and configure any necessary connection properties to create a database in CData Cloud

Accessing Data from CData Cloud Services

Accessing data from Kintone through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.

CData Cloud

Establishing a Connection

Connect to Kintone by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.

Connecting to Kintone

In addition to the authentication values, set the following parameters to connect to and retrieve data from Kintone:

  • URL: The URL of your account.
  • GuestSpaceId: Optional. Set this when using a guest space.

Kintone REST API

Set Schema to "Kintone" for connecting to Kintone REST API.

Kintone REST API supports following authentication schemes:

  • Password Authentication
  • API Token
  • OAuth Authentication

Kintone USER API

Set Schema to "CybozuUser" for connecting to Kintone USER API.

Kintone USER API supports following authentication scheme:

  • Password Authentication

Authenticating to Kintone

Kintone supports the following authentication methods.

Password Authentication

You must set the following to authenticate to Kintone:

  • User: The username of your account.
  • Password: The password of your account.
  • AuthScheme: Set AuthScheme to Password.

API Token

You must set the following to authenticate to Kintone:

  • APIToken: The API Token.

    To generate an API token access the specific app and click on the cog wheel. Proceed to App Settings tab > API Token. Click on the Generate button, an API token will be generated. You can also specify multiple comma-seperated APITokens.

  • AppId: The Application Ids.

    The AppId is the number of that specific app in the sequence under Apps in Kintone UI dashboard. You can also specify multiple comma-seperated AppIds.

  • AuthScheme: Set AuthScheme to APIToken.

Additional Security

In addition to the mentioned authentication schemese, Kintone offers additional security in the form of both an additional Basic Auth header, and an SSL Certificate.

Using Client SSL

In addition to your authentication information, Kintone may be configured to require an SSL certificate to accept requests. To do so, set the following:

  • SSLClientCert: The file containing the certificate of the SSL Cert. Or alternatively, the name of the certificate store for the client certificate.
  • SSLClientCertType: The type of certificate.
  • SSLClientCertSubject: (Optional) If searching for a certificate in the certificate store, the store is searched for subjects containing the value of the property.
  • SSLClientCertPassword: If the certificate store is of a type that requires a password, this property is used to specify that password to open the certificate store.

Basic

Kintone environments using basic authentication will need to pass additional basic credentials. To do so, specify the following:

  • BasicAuthUser: The basic login name.
  • BasicAuthPassword: The basic password.

OAuth Authentication

If you do not have access to the user name and password or do not want to require them, use the OAuth user consent flow. To enable this authentication from all OAuth flows, you must set AuthScheme to OAuth and create a custom OAuth application.

Note: OAuth authentication does not support cursor API. OAuth is not recommended for retrieving more than 10k rows.

The following subsections describe how to authenticate to Kintone from three common authentication flows. For information about how to create a custom OAuth application, see Creating a Custom OAuth Application. For a complete list of connection string properties available in Kintone, see Connection.

Automatic refresh of the OAuth access token:

To have the Cloud automatically refresh the OAuth access token:

  1. Before connecting to data for the first time, set these connection parameters:
    • InitiateOAuth: REFRESH.
    • OAuthClientId: The client Id in your custom OAuth application settings.
    • OAuthClientSecret: The client secret in your custom OAuth application settings.
    • OAuthAccessToken: The access token returned by GetOAuthAccessToken.
    • OAuthSettingsLocation: The path where you want the Cloud to save the OAuth values, which persist across connections.
    • UseCursor: FALSE.
  2. On subsequent data connections, set:
    • InitiateOAuth
    • OAuthSettingsLocation

Manual refresh of the OAuth access token:

The only value needed to manually refresh the OAuth access token is the OAuth refresh token.

  1. To manually refresh the OAuthAccessToken after the ExpiresIn period (returned by GetOAuthAccessToken) has elapsed, call the RefreshOAuthAccessToken stored procedure.
  2. Set these connection properties:

    • OAuthClientId: The Client Id in your custom OAuth application settings.
    • OAuthClientSecret: The Client Secret in your custom OAuth application settings.

  3. Call RefreshOAuthAccessToken with OAuthRefreshToken set to the OAuth refresh token returned by GetOAuthAccessToken.
  4. After the new tokens have been retrieved, set the OAuthAccessToken property to the value returned by RefreshOAuthAccessToken. This opens a new connection.

Store the OAuth refresh token so that you can use it to manually refresh the OAuth access token after it has expired.

CData Cloud

Creating a Custom OAuth Application

Creating a Custom OAuth Application

If you do not have access to the user name and password or do not wish to require them, you can use OAuth authentication. Kintone uses the OAuth authentication standard, which requires the authenticating user to interact with Kintone via the browser. Authenticating via OAuth requires the use of the OAuth client credentials, client Id, and client secret.

To register a custom OAuth application and obtain the OAuth client credentials, client id, and client secret:

  1. Log into your Kintone and navigate to the User & System Administration page.
  2. Click on OAuth under System Administration.
  3. Click on the green Add OAuth Client button under Set up Advanced Services.
  4. Enter in the details of the OAuth client.
  5. Enter a value for the application's Redirect URI:

    • If you are making a desktop application, set the Callback URL to http://localhost:33333 or a different port number of your choice.
    • If you are making a web application, set the Callback URL to a page on your Web app that you want the user to be returned to after they have authorized your application.

  6. When you have filled in all required fields, click Save.

Enabled applications are displayed in the list and the process completes.

The OAuthClientId and ClientSecret are displayed along with the information you specified when setting up the application. Record the OAuthClientID and ClientSecret for future use.

CData Cloud

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

To authenticate to an HTTP proxy, set the following:

  • ProxyServer: the hostname or IP address of the proxy server that you want to route HTTP traffic through.
  • ProxyPort: the TCP port that the proxy server is running on.
  • ProxyAuthScheme: the authentication method the Cloud uses when authenticating to the proxy server.
  • ProxyUser: the username of a user account registered with the proxy server.
  • ProxyPassword: the password associated with the ProxyUser.

Other Proxies

Set the following properties:

  • To use a proxy-based firewall, set FirewallType, FirewallServer, and FirewallPort.
  • To tunnel the connection, set FirewallType to TUNNEL.
  • To authenticate, specify FirewallUser and FirewallPassword.
  • To authenticate to a SOCKS proxy, additionally set FirewallType to SOCKS5.

CData Cloud

Data Model

Using Kintone REST API

See Kintone Data Model for the available entities in the Kintone Data Model.

Using Kintone USER API

See CybozuUser Data Model for the available entities in the CybozuUSER Data Model.

CData Cloud

Kintone Data Model

The Cloud models the Kintone REST API as relational Tables, Views and Stored Procedures.

Tables

Using the Cloud, you can work with all the tables in your account. The table schemas can be static or dynamic. The Comments table has a static schema with fixed columns, while other tables are dynamic, reflecting changes in the metadata -- when you connect, the Cloud retrieves table metadata from Kintone to generate the table schemas.

Static schemas are defined in schema files, which makes them easy to extend. Edit the schema file to customize the column behavior of the static Comments table, to change the data type for example. The schema files are located in the db subfolder of the Cloud installation folder.

Sub-Tables

In some Kintone apps, the user can add custom fields containing many records. The Cloud models these fields as dynamic subtables reflecting your changes.

Stored Procedures

Stored procedures are function-like interfaces to Kintone. They can be used to search, update, and modify information in Kintone. For example, use stored procedures to execute operations on apps or work with files.

Views

The Cloud models apps in the static Apps view.

CData Cloud

Tables

The Cloud models the data in Kintone as a list of tables in a relational database that can be queried using standard SQL statements.

CData Cloud - Kintone Tables

Name Description
ActionSettings Update and Query the available Action Settings in kintone.
AppPermissions Update and Query the App Permissions in kintone.
Comments Query the available comments in kintone.
FieldPermissions Update and Query the available FieldPermissions in kintone.
FormFields Create, update, delete, and query the Form Fields in Kintone.
FormLayout Update and Query the available Form Layout in kintone.
GeneralNotifications Update and Query the available GeneralNotifications in kintone.
GeneralSettings Update and Query the General Settings in kintone.
GraphSettings Update and Query the available Graph Settings in kintone.
PerRecordNotifications Update and Query the available PerRecord Notifications in kintone.
ProcessManagement Update and Query the Process Management in kintone.
RecordPermissions Update and Query the available RecordPermissions in kintone.
ReminderNotifications Update and Query the available Reminder Notifications in kintone.
SampleApp Sample App: Customer Management (Sales Support Pack).
SampleApp_Table Sample App: Customer Management (Sales Support Pack) Detail Table.
Space Create, Update, Delete and Query the available Space in kintone.
SpaceMembers Update and Query the available Space Members in kintone.
Views Update and Query the available Views in kintone.

CData Cloud

ActionSettings

Update and Query the available Action Settings in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM ActionSettings WHERE AppId = 6
SELECT * FROM ActionSettings WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM ActionSettings WHERE AppId = 6 AND IsPreview = false

Update

For updating the ActionSettings, provide the Actions as an aggregate. The AppId column is required to update the ActionSettings.

UPDATE ActionSettings SET Actions = '{"Action_Z":{"name":"Action_A","index":"0"}}' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId Integer False

The App ID of the kintone application.

Id [KEY] String True

The ID of the Action.

Index String False

The order of the Action, starting from 0.

Name String False

The name of the Action.

DestApp String False

The App ID of the copy destination app.

DestCode String False

The App Code of the copy destination app. An empty string is returned if an App Code is not set in the destination app's settings.

Mappings String False

An array of objects containing the Field Mappings options. An empty array is returned if the Field Mappings options are not configured.

Entities String False

An array of objects containing the entities the Action is granted to. This reflects the Available To options. Inactive users and deleted users/departments/groups will not be included in the response.

Revision String False

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the Action Settings details of the live App. Default value is true.

Actions String

Only used for performing Update.

CData Cloud

AppPermissions

Update and Query the App Permissions in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM AppPermissions WHERE AppId = 6
SELECT * FROM AppPermissions WHERE AppId = 6 AND IsPreview = false

Update

For updating the AppPermissions, provide the Rights as an aggregate. The AppId and IsPreview columns are required to update the AppPermissions.

UPDATE AppPermissions SET Rights = '[{"entity":{"type":"CREATOR"},"appEditable":true,"recordViewable":true,"recordAddable":true,"recordEditable":true,"recordDeletable":true,"recordImportable":true,"recordExportable":true}]' WHERE AppId = 6 AND IsPreview = true

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

EntityType [KEY] String False

The type of the entity the permission is granted to.

EntityCode String False

The code of the entity the permission is granted to.

IncludeSubs Boolean False

The permission inheritance settings of the department the permission is granted to.

AppEditable Boolean False

The App management permission of the entity. Entities with this permission are able to access and edit the App's settings.

RecordViewable Boolean False

The record view permission of the entity.

RecordAddable Boolean False

The record add permission of the entity.

RecordEditable Boolean False

The record edit permission of the entity.

RecordDeletable Boolean False

The record delete permission of the entity.

RecordImportable Boolean False

The file import permission of the entity.

RecordExportable Boolean False

The file export permission of the entity.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IsPreview Boolean

By setting this to False, you will be able to retrieve the App Permissions details of the live App. Default value is true.

Rights String

Only used for performing Update.

CData Cloud

Comments

Query the available comments in kintone.

Select

The RecordId and AppId columns are required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by these columns. The Kintone APIs also support filters on Id. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM Comments WHERE RecordId = 1 AND AppId = 5 AND Id = 1

Insert

The AppId and RecordId columns are required in the INSERT statement.

INSERT INTO Comments (AppId, RecordId, Text, MentionsAggregate) VALUES (5, 1, 'To do', '[{"code": "Administrator","type": "USER"}]')

Delete

Comments can be deleted by issuing a DELETE statement and specifying the RecordId, AppId, and Id.

DELETE FROM Comments WHERE RecordId = 1 AND AppId = 5 AND Id = 1

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The Comment Id.

AppId [KEY] Integer False

The App Id.

RecordId [KEY] Integer False

The Record Id.

Text String False

The comment including the line feed codes.

CreatorCode String True

The user code of the comment creator (log-in name).

CreatorName String True

The user name of the comment creator (display name).

CreatedAt Datetime True

The created date and time of the comment.

MentionsAggregate String False

An array including information of mentioned users.

CData Cloud

FieldPermissions

Update and Query the available FieldPermissions in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM FieldPermissions WHERE AppId = 6
SELECT * FROM FieldPermissions WHERE AppId = 6 AND IsPreview = false

Update

For updating the FieldPermissions, provide the Rights as an aggregate. The AppId and IsPreview columns are required to update the FieldPermissions.

UPDATE FieldPermissions SET Rights = 'Update FieldPermissions set Rights='[{"code":"Updated_by","entities":[{"accessibility":"READ","entity":{"type":"GROUP","code":"everyone"}}]}]' WHERE AppId = 6 AND IsPreview = true

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

Code [KEY] String False

The field code of a field that has permission settings.

Entities String False

An array listing the entities the permissions are granted to, in order of priority.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IsPreview Boolean

By setting this to False, you will be able to retrieve the FieldPermissions details of the live App. Default value is true.

Rights String

Only used for performing Update.

CData Cloud

FormFields

Create, update, delete, and query the Form Fields in Kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM FormFields WHERE AppId = 6
SELECT * FROM FormFields WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM FormFields WHERE AppId = 6 AND IsPreview = false

Insert

The AppId, Type, Code and Label columns are required in the INSERT statement.

INSERT INTO FormFields (AppId, Type, Code, Label) VALUES (6, 'SINGLE_LINE_TEXT', 'Text__single_line_CRUD', 'Test')

Insertion can also be executed by providing the AppId column and Properties column as a json aggregate:

INSERT INTO FormFields (AppId, Properties) VALUES (6, '{"Text__single_line_TD":{"type":"SINGLE_LINE_TEXT","code":"Text__single_line_TD","label":"Test"}}')

The Kintone API supports Bulk Insert as well:

INSERT INTO FormFields#TEMP (AppId, Type, Code, Label) VALUES (6, 'SINGLE_LINE_TEXT', 'Text__single_line_temp1', 'Label1')
INSERT INTO FormFields#TEMP (AppId, Type, Code, Label) VALUES (6, 'SINGLE_LINE_TEXT', 'Text__single_line_temp2', 'Label2')
INSERT INTO FormFields (AppId, Type, Code, Label) SELECT AppId, Type, Code, Label FROM FormFields#TEMP

Update

You can update FormFields in two different ways, depending on your use case:

Method 1: Update Using the Properties Column, If you want to update multiple form field details at once, you can use the Properties column. This column expects a JSON object that includes field attributes like code, label, and type etc. In this Method AppId column is required in where clause.

UPDATE FormFields SET Properties = '{"Text__single_line_TT":{"code":"Text__single_line_PT","label":"text","type":"SINGLE_LINE_TEXT"}}' WHERE AppId = 6

Method 2: Update Individual Columns, You can also update individual fields like label, code etc. directly without using the Properties column but this will update one field at a time. In this Method both AppId and Code columns are required in where clause.

UPDATE FormFields SET label='text', code='Item_update', type='SINGLE_LINE_TEXT' where appId=444 and code='Item';

Delete

You need to specify the comma separated values of Code column that you want to delete. The AppId Column is required to delete the FormFields.

DELETE FROM FormFields WHERE Code = 'Text__single_line_CRUD, Text__single_line_TD' AND AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

Code [KEY] String False

The field code.

Enabled String True

The on/off settings of features.

Label String False

The field name.

NoLabel Boolean False

The Hide field name option.

Type String False

The field type.

Required String False

The Required field option.

Unique String False

The Prohibit duplicate values option.

MaxValue String False

The maximum number of characters for the field.

MinValue String False

The minimum number of characters for the field.

MaxLength String False

The maximum number of digits for the field.

MinLength String False

The minimum number of digits for the field.

DefaultValue String False

The default value. An array will be returned for fields that can set multiple default values.

DefaultNowValue String False

The Default to the record creation date option.

Options String False

An object including data of the field's options.

Align String False

The layout of the options.

Expression String False

The formula expression used in the field.

HideExpression String False

The Hide formula settings for the field.

Digit String False

The Use thousands separators option.

ThumbnailSize String False

The size of the image thumbnail in pixels.

Protocol String False

The Link type settings for the field.

Format String False

The display format for fields with calculations.

DisplayScale String False

The number of decimal places to display for the field.

Unit String False

The Currency settings of the field.

UnitPosition String False

The display position of the Currency.

Entities String False

An array listing the preset users for the field.

ReferenceTable String False

An object containing the settings of the Related Records field.

LookUp String False

An object containing the settings of the Lookup field.

OpenGroup String False

The Show fields in this group option.

Fields String False

An object containing data of fields in a table. The parameters of this object are the same as the properties parameter.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the Form Field details of the live App. Default value is true.

Properties String

Only used for performing Insert or Update.

CData Cloud

FormLayout

Update and Query the available Form Layout in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM FormLayout WHERE AppId = 6
SELECT * FROM FormLayout WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM FormLayout WHERE AppId = 6 AND IsPreview = false

Update

For updating the FormLayout, provide the Layout as an aggregate. All fields in the form must be specified in the aggregate. The AppId column is required to update the FormLayout.

UPDATE FormLayout SET Layout = '[{"type":"ROW","fields":[{"type":"SPACER","code":"Table_0","size":{"width":"200"}}]}]' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

Fields String False

A list of fields in the row.

Type String False

The type of row.

The allowed values are ROW, SUBTABLE, GROUP.

Code String False

The field code of the Table or Group field. This parameter will not be returned for other row types.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IsPreview Boolean

By setting this to False, you will be able to retrieve the Form Layout details of the live App. Default value is true.

Layout String

Only used for performing Insert or Update.

CData Cloud

GeneralNotifications

Update and Query the available GeneralNotifications in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM GeneralNotifications WHERE AppId = 6
SELECT * FROM GeneralNotifications WHERE AppId = 6 AND IsPreview = false

Update

For updating the GeneralNotifications, provide the Notifications as an aggregate. The AppId column is required to update the GeneralNotifications.

UPDATE GeneralNotifications SET Notifications = '[{"entity":{"type":"FIELD_ENTITY","code":"Updated_by"},"includeSubs":false,"recordAdded":false,"commentAdded":true}],"notifyToCommenter":true' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

EntityType String False

The type of the entity the General Notification settings are configured to.

EntityCode [KEY] String False

The code of the entity the General Notification settings are configured to.

IncludeSubs Boolean False

The Include affiliated departments setting of the Department. Will always return false unless the notifications[].entity.type is set to ORGANIZATION or FIELD_ENTITY for a Department Selection Field.

RecordAdded Boolean False

Option to notify the entity when a record is added.

RecordEdited Boolean False

Option to notify the entity when a record is edited.

CommentAdded Boolean False

Option to notify the entity when a comment is posted.

StatusChanged Boolean False

Option to notify the entity when a status is changed.

FileImported Boolean False

Option to notify the entity when a file is imported.

NotifyToCommenter Boolean False

Option to notify all commenters of a record when a comment is posted on that record. This reflects the Send updated comment notifications to all commenters checkbox.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IsPreview Boolean

By setting this to False, you will be able to retrieve the GeneralNotifications details of the live App. Default value is true.

Notifications String

Only used for performing Update.

CData Cloud

GeneralSettings

Update and Query the General Settings in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM GeneralSettings WHERE AppId = 6
SELECT * FROM GeneralSettings WHERE AppId = 6 AND IsPreview = false

Update

You must specify the AppId and IconKey of the GeneralSetting to update.

UPDATE GeneralSettings SET Name = 'UpdatedName', Description = 'Test Description', IconType = 'PRESET', IconKey = 'APP72' WHERE IconKey = 'APP72' AND AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer True

The App ID of the kintone application.

IconKey [KEY] String False

The key identifier of the icon. Responded, if the preset icons within Kintone are used.

IconType String False

The icon type: FILE, PRESET.

IconFile String False

An object containing data of uploaded icon files.

Name String False

The App name.

Description String False

The app description in HTML format.

Theme String False

The color theme.

Revision String True

The revision number of the App settings.

TitleFieldSelectionMode String False

The option of The field to be used as the record title settings: AUTO, MANUAL.

TitleFieldCode String False

The field code of the field used as the title of the record.

EnableBulkDeletion Boolean False

The Enable bulk deletion of records setting.

EnableComments Boolean False

The Enable comments setting.

EnableDuplicateRecord Boolean False

The Enable the feature to

EnableThumbnails Boolean False

The Show thumbnails setting.

FirstMonthOfFiscalYear Integer False

The First month of Fiscal Year setting. The number of the month will be returned.

NumberPrecisionDecimalPlaces Integer False

The Number of Decimal Places to Round setting.

NumberPrecisionDigits Integer False

The Total Number of Digits setting.

NumberPrecisionRoundingMode String False

The Rounding setting: HALF_EVEN, UP, DOWN.

EnableInlineRecordEditing Boolean False

Whether to enable inline editing in the record list

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the General Settings details of the live App. Default value is true.

CData Cloud

GraphSettings

Update and Query the available Graph Settings in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM GraphSettings WHERE AppId = 6
SELECT * FROM GraphSettings WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM GraphSettings WHERE AppId = 6 AND IsPreview = false

Update

For updating the GraphSettings, provide the Reports as an aggregate. The AppId column is required to update the GraphSettings.

UPDATE GraphSettings SET Reports = '{"Graph1":{"chartType":"BAR","chartMode":"PERCENTAGE","name":"Updated_Graph_Name","index":"0","groups":[{"code":"Created_by"}]}}' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId Integer False

The App ID of the kintone application.

Id [KEY] String True

The ID of the graph.

Index String False

The order of the graphs, starting from 0.

Name String False

The name of the graph. The maximum limit is 64 characters. When the lang request parameter is specified, the graph's name in that language will be returned.

PeriodicReport String False

An objects containing the Periodic Reports (External link) options. If the Generate reports periodically option have never been configured, null will be returned.

Sorts String False

An array of objects containing the Sort by options.

Aggregations String False

The type of the Function option.

ChartMode String False

The display mode (External link) of the graph.

ChartType String False

The chart type (External link) of the graph.

FilterCond String False

The record's filter condition in query string format that reflects the Filter option.

Groups String False

The type of the Function option.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the Graph Settings details of the live App. Default value is true.

Reports String

Only used for performing Update.

CData Cloud

PerRecordNotifications

Update and Query the available PerRecord Notifications in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM PerRecordNotifications WHERE AppId = 6
SELECT * FROM PerRecordNotifications WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM PerRecordNotifications WHERE AppId = 6 AND IsPreview = false

Update

For updating the PerRecordNotifications, provide the Notifications as an aggregate. The AppId column is required to update the PerRecordNotifications.

UPDATE PerRecordNotifications SET Notifications = '[{"filterCond":"Record_number = 18","title":"Test Title","targets":[{"entity":{"type":"FIELD_ENTITY","code":"Created_by"},"includeSubs":false}]}]' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

FilterCond String False

The record's filter condition in query string format.

Title [KEY] String False

The notification subject that is saved under Summary.

Targets String False

An array of objects containing the recipients of the Per Record Notification.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the PerRecordNotifications details of the live App. Default value is true.

Notifications String

Only used for performing Update.

CData Cloud

ProcessManagement

Update and Query the Process Management in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM ProcessManagement WHERE AppId = 6
SELECT * FROM ProcessManagement WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM ProcessManagement WHERE AppId = 6 AND IsPreview = false

Update

For updating the ProcessManagement, provide the States and Actions as an aggregate. The AppId column is required to update the ProcessManagement.

UPDATE ProcessManagement SET Enable = true, States = '{"In progress":{"name":"In progress","index":"1","assignee":{"type":"ONE","entities":[]}},"Ready":{"name":"Ready","index":"3","assignee":{"type":"ONE","entities":[]}},"Completed":{"name":"Completed","index":"2","assignee":{"type":"ONE","entities":[]}},"Not started":{"name":"Not started","index":"0","assignee":{"type":"ONE","entities":[{"entity":{"type":"FIELD_ENTITY","code":"Created_by"},"includeSubs":false}]}}}', Actions = '[{"name":"Start","from":"Not started","to":"In progress","filterCond":""},{"name":"Complete","from":"Completed","to":"Completed","filterCond":""}]' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

Enable Boolean False

The on/off settings of the process management settings.

Actions String False

An array containing data of the Actions. They are listed in the same order as in the GUI. Null is returned for Apps that have never enabled the process management settings before.

Revision String True

The revision number of the App settings.

Name String False

The status name.

Index String False

The display order (ascending) of the Status, when listed with the other statuses.

AssigneeType String False

The Assignee List type of the Status.

AssigneeEntities String False

An array listing data of the Assignees. They are listed in the same order as in the GUI.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the Process Management details of the live App. Default value is true.

States String

Only used for performing Update.

CData Cloud

RecordPermissions

Update and Query the available RecordPermissions in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM RecordPermissions WHERE AppId = 6
SELECT * FROM RecordPermissions WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM RecordPermissions WHERE AppId = 6 AND IsPreview = false

Update

For updating the AppPermissions, provide the Rights as an aggregate. The AppId and IsPreview columns are required to update the RecordPermissions.

UPDATE RecordPermissions SET Rights = '[{"filterCond":"","entities":[{"entity":{"type":"GROUP","code":"everyone"},"viewable":false,"editable":false,"deletable":false,"includeSubs":true}]}]' WHERE AppId = 6 AND IsPreview = true

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

FilterCond String False

The filter condition of the record permission.

Entities String False

An array listing the entities the permissions are granted to, in order of priority.

Revision String False

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the RecordPermissions details of the live App. Default value is true.

Rights String

Only used for performing Update.

CData Cloud

ReminderNotifications

Update and Query the available Reminder Notifications in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM ReminderNotifications WHERE AppId = 6
SELECT * FROM ReminderNotifications WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM ReminderNotifications WHERE AppId = 6 AND IsPreview = false

Update

For updating the ReminderNotifications, provide the Notifications as an aggregate. The AppId column is required to update the ReminderNotifications.

UPDATE ReminderNotifications SET Notifications = '[{"timing":{"code":"Updated_datetime","daysLater":-2,"hoursLater":-5},"filterCond":"Record_number = 14","title":"Reminder: Tomorrow is the deadline.","targets":[{"entity":{"type":"FIELD_ENTITY","code":"Created_by"},"includeSubs":false}]}]' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

The App ID of the kintone application.

FilterCond String False

The record's filter condition in query string format.

Title String False

The notification subject that is saved under Summary.

TimingCode [KEY] String False

The field code of the field used to determine the Reminder notification's timing.

TimingDaysLater Integer False

The number of days after the notifications[].timing.code date/datetime when the Reminder notification is sent. A negative value indicates the number of days before the notifications[].timing.code date/datetime.

TimingHoursLater Integer False

The number of hours after the notifications[].timing.code datetime, shifted by daysLater, when the Reminder notification is sent.

TimingTime String False

The time when the Reminder notification is sent. The parameter is returned if the notifications[].timing.code parameter is set to a date field or the

Targets String False

An array of objects containing the recipients of the Reminder Notification.

Revision String True

The revision number of the App settings.

Timezone String False

The timezone that determines the Reminder notification's timing. This reflects the Reminder Time Zone dropdown option. If the App's Reminder Notification settings have never been configured, null will be returned.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the Reminder Notifications details of the live App. Default value is true.

Notifications String

Only used for performing Update.

CData Cloud

SampleApp

Sample App: Customer Management (Sales Support Pack).

Columns

Name Type ReadOnly References Description
RecordId Int True

Sample: Record ID

Revision Int True

Sample: Revision

AppId Int True

Sample: App ID

Remarks String True

Sample: Remarks

UpdaterCode String True

Sample: Updater Code

UpdaterName String True

Sample: Updater Name

CreatorCode String True

Sample: Creator Code

CreatorName String True

Sample: Creator Name

PostalCode String True

Sample: Postal Code

DepartmentName String True

Sample: Department Name

EmailAddress String True

Sample: Email Address

PersonInChargeName String True

Sample: Person in Charge Name

UpdateDateAndTime Datetime True

Sample: Update Date and Time

CustomerName String True

Sample: Customer Name

Address String True

Sample: Address

TEL String True

Sample: TEL

CData Cloud

SampleApp_Table

Sample App: Customer Management (Sales Support Pack) Detail Table.

Columns

Name Type ReadOnly References Description
CustomerManagementId Int True

Sample: Customer Management (Sales Support Pack) Id

Id Int True

Sample: Id

Revision Int True

Sample: Revision

AppId Int True

Sample: App ID

ProjectName String True

Sample: Project Name

Probability String True

Sample: Probability

ExpectedOrderDate Datetime True

Sample: Expected Order Date

TotalCost Double True

Sample: Total Cost

SalesRepresentativeAggregate String True

Sample: Sales Representative Aggregate

CData Cloud

Space

Create, Update, Delete and Query the available Space in kintone.

Select

The Id column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM Space WHERE Id = 7

Insert

The SpaceTemplateID, Name, Members columns are required in the INSERT statement.

INSERT INTO Space(SpaceTemplateID, Name, Members) Values(1, 'New_Space', '[{"entity":{"type":"USER","code":"[email protected]"},"isAdmin":true}]')

Update

The Id column is required to update the Space.

UPDATE Space SET body='Space Body' WHERE Id = 16

Delete

The Id column is required to delete the Space.

DELETE FROM Space WHERE Id = 16

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The Space ID.

Name String False

The name of the Space.

DefaultThread String False

The Thread ID of the default thread that was created when the Space was made.

IsPrivate Boolean False

The Private settings of the Space.

CreatorCode String False

The code (log in name) of the creator. An empty string is returned for inactive or deleted users.

CreatorName String False

The display name of the creator. An empty string is returned for inactive or deleted users.

ModifierCode String False

The code (log in name) of the updater. An empty string is returned for inactive or deleted users.

ModifierName String False

The display name of the updater. An empty string is returned for inactive or deleted users.

MemberCount String False

The number of members of the Space.

CoverType String False

The image type of the Cover Photo.

CoverKey String False

The key of the Cover Photo.

CoverUrl String False

The URL of the Cover Photo.

Body String False

The HTML of the Space body. Null is returned if the HTML in the body is empty. However, if the body has been set before, the HTML tags may be set even if nothing is displayed on the screen and the string will be returned.

UseMultiThread Boolean False

The Enable multiple threads setting.

IsGuest Boolean False

The Guest Space setting.

FixedMember Boolean False

AttachedApps String False

A list of Apps that are in the thread. This does not include Apps that are not live yet.

ShowAnnouncement Boolean False

The display status for the Announcement widget.

ShowThreadList Boolean False

The display status for the Threads widget.

ShowAppList Boolean False

The display status for the Apps widget.

ShowMemberList Boolean False

The display status for the People widget.

ShowRelatedLinkList Boolean False

The display status for the Related Apps and Spaces widget.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
SpaceTemplateID String

The Space Template ID. It is required while creating a new Space.

Members String

A list of members of the Space. It is required while creating a new Space. At least one Space Administrator must be specified. Inactive and deleted users cannot be specified.

CData Cloud

SpaceMembers

Update and Query the available Space Members in kintone.

Select

The Id column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM SpaceMembers WHERE Id = 1

Update

For updating the SpaceMembers, provide the Members column as an aggregate. The Id column is required to update the SpaceMembers.

UPDATE SpaceMembers SET Members='[{"entity":{"type":"USER","code":"[email protected]"},"isAdmin":true}]' WHERE Id = 1

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The Space ID.

EntityCode String False

The code of the Space member.

EntityType String False

The entity type of the Space member.

IsAdmin Boolean False

The Space Admin settings of the Space member.

IsImplicit Boolean False

If the Space Member is added as a User or not.

IncludeSubs Boolean False

The Include Affiliated Departments setting of the Department Space Member.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Members String

A list of members of the Space. It is required while creating a new Space. At least one Space Administrator must be specified. Inactive and deleted users cannot be specified.

CData Cloud

Views

Update and Query the available Views in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM Views WHERE AppId = 6
SELECT * FROM Views WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM Views WHERE AppId = 6 AND IsPreview = false

Update

For updating the Views, provide the Views as an aggregate. View names that are not stated in the aggregate will be deleted. The AppId column is required to update the Views.

UPDATE VIEWS SET Views = '{"(Assigned to me)":{"index":0,"type":"LIST","name":"(Assigned to me)","filterCond":"Assignee in (LOGINUSER())","sort":"Record_number asc"},"subTableTest2":{"index":1,"type":"CALENDAR","name":"subTableTest","date":"Updated_datetime","filterCond":"","sort":"Record_number asc"}}' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The View ID.

AppId Integer False

The App ID of the kintone application.

Index String False

The display order (ascending) of the View, when listed with other views.

Name String False

The name of the View.

Title String False

The field code set for the Title Field. Responded for Calendar Views.

Type String False

The type of View.

The allowed values are LIST, CALENDAR, CUSTOM.

BuiltinType String False

The type of the built-in View.

Date String False

The field code set for the Date Field. Responded for Calendar Views.

Fields String False

The list of field codes for the fields displayed in the View.

FilterCond String False

The filter condition as a query.

Html String False

The HTML code set for the View. Responded for Custom Views.

Pager Boolean False

The pagination settings. Responded for Custom Views.

Device String False

The scope of where the view is displayed.

Sort String False

The sort order as a query.

Revision String True

The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String

The localized language to retrieve the data.

IsPreview Boolean

By setting this to False, you will be able to retrieve the Views details of the live App. Default value is true.

Views String

Only used for performing Update.

CData Cloud

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Cloud - Kintone Views

Name Description
ActionSettingsEntities Query the available Action Settings Entities in kintone.
ActionSettingsMappings Query the available Action Settings Mappings in kintone.
Apps Query the available apps in kintone.
FieldPermissionsEntities Query the Field Permissions Entities in kintone.
FormLayoutFields Query the available Form Layout Fields in kintone.
PerRecordNotificationsTargets Query the PerRecord Notifications Targets in kintone.
ProcessManagementActions Query the Process Management Actions in kintone.
RecordPermissionsEntities Query the available Record Permissions Entities in kintone.
ReminderNotificationsTargets Query the available Reminder Notifications Targets in kintone.

CData Cloud

ActionSettingsEntities

Query the available Action Settings Entities in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM ActionSettingsEntities WHERE AppId = 6
SELECT * FROM ActionSettingsEntities WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM ActionSettingsEntities WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId Integer The App ID of the kintone application.
Id String The ID of the Action.
Code String The code of the entity the Action is granted to. For guest users, the login name is preceded by guest/.
Type String The type of the entity the Action is granted to.

The allowed values are USER, GROUP, ORGANIZATION.

Revision String The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String The localized language to retrieve the data.
IsPreview Boolean By setting this to False, you will be able to retrieve the Action Settings details of the live App. Default value is true.

CData Cloud

ActionSettingsMappings

Query the available Action Settings Mappings in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM ActionSettingsMappings WHERE AppId = 6
SELECT * FROM ActionSettingsMappings WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM ActionSettingsMappings WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId Integer The App ID of the kintone application.
Id String The ID of the Action.
SrcType String The type of source data that is to be copied.

The allowed values are FIELD, RECORD_URL.

SrcField String The field code of the field specified in the Field Mappings options as the source. This parameter is returned only if the actions.{actionname}.mappings[].srcType parameter is set to FIELD.
DestField String The field code of the field specified in the Field Mappings options as the destination.
Revision String The revision number of the App settings.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String The localized language to retrieve the data.
IsPreview Boolean By setting this to False, you will be able to retrieve the Action Settings details of the live App. Default value is true.

CData Cloud

Apps

Query the available apps in kintone.

Select

By default, the Cloud will use the Kintone APIs to process search criteria that refer to the following columns and will process other filters client-side within the Cloud: the Kintone API supports searches on the AppId, Code, and SpaceId columns. These columns support server-side processing for the = and IN operators while the Name column supports only the LIKE operator. For example, the following query is processed server side:

SELECT * FROM Apps WHERE AppId IN (20, 21, 51, 56) AND Name LIKE '%To Do%'

Columns

Name Type References Description
AppId [KEY] Integer The App ID of the kintone application.
Code String The App Code of the app. This will be blank if an App Code is not set in the settings of the App.
Name String The name of the App. If Localization settings are used, this column will return the localized name dependant on the language settings of the kintone user using this API.
Description String The description of the App. If Localization settings are used, this column will return the localized app description dependent on the language settings of the kintone user using this API.
SpaceId String If the app was created inside a space, this column will return the space Id. If not, this column returns null.
ThreadId String If the app was created inside a space, this column will return the thread Id of the thread of the space it belongs to. For users who have not altered their User Interface Settings to the classic design, apps will automatically belong to the first thread of the space when the app is made in the space. Users who use the classic design will find that they can create apps that are thread-specific instead of space-specific. If the app was not created in a space, null is returned.
CreatedAt Datetime The date of when the app was created.
CreatorCode String The log-in name of the creator. Nothing is returned for inactive users and deleted users.
CreatorName String The display name of the creator. Nothing is returned for inactive users and deleted users.
ModifiedAt Datetime The date of when the app was last modified.
ModifierCode String The log-in name of the last updater. Nothing is returned for inactive users and deleted users.
ModifierName String The display name of the last updater. Nothing is returned for inactive users and deleted users.
Alias String The alias name of the App. Use connection property TableNameMode=AppId to make this column as unique.
ItemUrl String The unique URL of the app, used to identify and access the specific app on Kintone.

CData Cloud

FieldPermissionsEntities

Query the Field Permissions Entities in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM FieldPermissionsEntities WHERE AppId = 6
SELECT * FROM FieldPermissionsEntities WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId [KEY] Integer The App ID of the kintone application.
Code [KEY] String The field code of a field that has permission settings.
EntityType String The type of the entity the permission is granted to.
EntityCode String The code of the entity the permission is granted to.
Accessibility String The permission granted to the entity.

The allowed values are READ, WRITE, NONE.

IncludeSubs Boolean The permission inheritance settings of the department the permission is granted to.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IsPreview Boolean By setting this to False, you will be able to retrieve the FieldPermissions details of the live App. Default value is true.

CData Cloud

FormLayoutFields

Query the available Form Layout Fields in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM FormLayoutFields WHERE AppId = 6
SELECT * FROM FormLayoutFields WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM FormLayoutFields WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId Integer The App ID of the kintone application.
Code String The field code.
Type String The type of field.
ElementId String The element ID of the Space field. Only returned for Space fields.
Label String The text set in the Label field. Only returned for Label fields.
Width String The width of the field in pixels.
Height String The height of the field in pixels, including the height of the field name.
InnerHeight String The height of the field in pixels, excluding the height of the field name.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IsPreview Boolean By setting this to False, you will be able to retrieve the Form Layout details of the live App. Default value is true.

CData Cloud

PerRecordNotificationsTargets

Query the PerRecord Notifications Targets in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM PerRecordNotificationsTargets WHERE AppId = 6
SELECT * FROM PerRecordNotificationsTargets WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM PerRecordNotificationsTargets WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId Integer The App ID of the kintone application.
Title String The notification subject that is saved under Summary.
EntityType String The type of the entity the Per Record Notification settings are configured to.
EntityCode String The code of the entity the Per Record Notification settings are configured to.
IncludeSubs Boolean The Include affiliated departments setting of the Department.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String The localized language to retrieve the data.
IsPreview Boolean By setting this to False, you will be able to retrieve the PerRecord Notifications Targets details of the live App. Default value is true.

CData Cloud

ProcessManagementActions

Query the Process Management Actions in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM ProcessManagementActions WHERE AppId = 6
SELECT * FROM ProcessManagementActions WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM ProcessManagementActions WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId Integer The App ID of the kintone application.
Name String The Action name.
From String The status before taking action.
To String The status after taking action.
FilterCond String The branch criteria of the action.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String The localized language to retrieve the data.
IsPreview Boolean By setting this to False, you will be able to retrieve the Process Management Actions details of the live App. Default value is true.

CData Cloud

RecordPermissionsEntities

Query the available Record Permissions Entities in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM RecordPermissionsEntities WHERE AppId = 6
SELECT * FROM RecordPermissionsEntities WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM RecordPermissionsEntities WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId Integer The App ID of the kintone application.
FilterCond String The filter condition of the record permission.
EntityType String The type of the entity the permission is granted to.
EntityCode String The code of the entity the permission is granted to.
Viewable Boolean The view permission of the entity.
Editable Boolean The edit permission of the entity.
Deletable Boolean The delete permission of the entity.
IncludeSubs Boolean The permission inheritance settings of the department the permission is granted to.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String The localized language to retrieve the data.
IsPreview Boolean By setting this to False, you will be able to retrieve the Record Permissions Entities details of the live App. Default value is true.

CData Cloud

ReminderNotificationsTargets

Query the available Reminder Notifications Targets in kintone.

Select

The AppId column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM ReminderNotificationsTargets WHERE AppId = 6
SELECT * FROM ReminderNotificationsTargets WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM ReminderNotificationsTargets WHERE AppId = 6 AND IsPreview = false

Columns

Name Type References Description
AppId [KEY] Integer The App ID of the kintone application.
TimingCode [KEY] String The field code of the field used to determine the Reminder notification's timing.
EntityType String The type of the entity the Reminder Notification settings are configured to.
EntityCode String The code of the entity the Reminder Notification settings are configured to.
IncludeSubs Boolean The Include affiliated departments setting of the Department. The Include affiliated departments setting of the Department.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Lang String The localized language to retrieve the data.
IsPreview Boolean By setting this to False, you will be able to retrieve the Reminder Notifications Targets details of the live App. Default value is true.

CData Cloud

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Kintone.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Kintone, along with an indication of whether the procedure succeeded or failed.

CData Cloud - Kintone Stored Procedures

Name Description
AddGuests Adds Guest users to Kintone. This does not affiliate Guest users with any Guest Spaces, and does not send any invitation emails. To affiliate a Guest user with a Guest Space, use the AddGuestsToSpace Stored Procedure. Only Kintone Administrators can use this API.
AddGuestsToSpace Add the Guest users with a Guest Space. Only the Guest Space Administrator can use this API.
AddThreadComment Adds a comment to a Thread of a Space.
AppsDeployStatus Get app deployment statuses.
CreateApp Creates apps.
DeleteGuests Deletes a Guest user from Kintone. Only Kintone Administrators can use this API.
DeployApps Deploys apps.
UpdateAssignees Updates assignees.
UpdateStatus Updates the status of an app record.
UpdateThread Updates a Thread of a Space.

CData Cloud

AddGuests

Adds Guest users to Kintone. This does not affiliate Guest users with any Guest Spaces, and does not send any invitation emails. To affiliate a Guest user with a Guest Space, use the AddGuestsToSpace Stored Procedure. Only Kintone Administrators can use this API.

Stored Procedure Specific Information

Kintone allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. For example:

Insert into GuestsAggregate#TEMP(Name, Code, Password, Timezone) Values('Jack', '[email protected]', '#jack@123', 'America/Los_Angeles')
Insert into GuestsAggregate#TEMP(Name, Code, Password, Timezone) Values('Geeky', '[email protected]', '#geeky@321', 'America/Los_Angeles')
EXECUTE AddGuests GuestsAggregate = 'GuestsAggregate#TEMP'

The second way of using the Stored Procedure is by adding the aggregate itself:

EXECUTE AddGuests GuestsAggregate = '[{"code":"[email protected]","password":"#abcd@123","timezone":"America/Los_Angeles","locale":"en","name":"John Doe","company":"Company Name","division":"Sales","callto":"skypecallto"}]'

Input

Name Type Required Description
Name String False The display name of the user. Must be between 1 - 128 characters.
Code String False The email address (log in name) of the Guest user.
Password String False The log in password of the Guest user. It must be alphanumeric.
Timezone String False The timezone of the Guest user.
Locale String False The language settings of the Guest user. Available values are auto, en, zh, ja. If not provided, auto will be set as default.
Image String False The profile image of the Guest user. Specify a fileKey of an uploaded file.
SurNameReading String False The Phonetic Surname settings of the Guest User. The maximum limit is 64 characters.
GivenNameReading String False The Phonetic Given Name settings of the Guest User. The maximum limit is 64 characters.
Company String False The Company name to display on the Guest User's profile.
Division String False The Department name to display on the Guest User's profile.
Phone String False The Phone number to display on the Guest User's profile.
CallTo String False The Skype Name of the Guest user.
GuestsAggregate String False The Guests Aggregate.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

AddGuestsToSpace

Add the Guest users with a Guest Space. Only the Guest Space Administrator can use this API.

Stored Procedure Specific Information

Kintone allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. For example:

EXECUTE AddGuestsToSpace GuestSpaceId = '6', Guests = '["[email protected]","[email protected]","[email protected]"]'

Input

Name Type Required Description
GuestSpaceId String True The Guest Space ID.
Guests String True A list of email addresses of Guest users.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

AddThreadComment

Adds a comment to a Thread of a Space.

Stored Procedure Specific Information

Kintone allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. For example:

EXECUTE AddThreadComment SpaceId = 8, ThreadId = 8, Text = 'Test Comment'

Input

Name Type Required Description
SpaceId Integer True The Id of the space.
ThreadId Integer True The Id of the thread.
Text String False The comment contents. A line break can be specified by LF. The maximum characters of the comment is 65535. Required, if files is not set.
Mentions String False An array including mentions, that notify other Kintone users.
Files String False An array including data of attachment files. The maximum number of the files is 5. Required, if text is not set.

Result Set Columns

Name Type Description
Id String The comment ID of the created comment.
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

AppsDeployStatus

Get app deployment statuses.

Input

Name Type Required Description
AppIds String True The Id of the app. This can be a list of comma-separated Ids.
GuestSpaceId String False This parameter is used for apps that are in the guest space. Do not add this parameter if the connection property GuestSpaceId is specified in the connection string.

Result Set Columns

Name Type Description
AppId String The Id of the app.
Status String The status of the app.

CData Cloud

CreateApp

Creates apps.

Input

Name Type Required Description
Name String True Specify the name of the application in less than 64 characters.
Space String False The Id of the space. Do not specify this if the connection property GuestSpaceId is set in the connection string.
ThreadId String False The Id of the thread. This is required if the Space parameter or the connection property GuestSpaceId is specified.
IsGuestSpace Boolean False This is a boolean value that indicates whether the Space parameter is a normal space or a guest space. Set this value to true for guest spaces.

The default value is false.

Result Set Columns

Name Type Description
AppId String The Id of the app.
Revision String The revision of the app.
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

DeleteGuests

Deletes a Guest user from Kintone. Only Kintone Administrators can use this API.

Stored Procedure Specific Information

Kintone allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. For example:

For Deleting the Guests, provide the comma separated values of Guests.

EXECUTE DeleteGuests Guests = '["[email protected]","[email protected]"]'

Input

Name Type Required Description
Guests String True A list of email addresses of Guest users. Up to 100 Guests can be deleted.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

DeployApps

Deploys apps.

Note: This procedure makes use of indexed parameters. Indexed parameters facilitate providing multiple instances a single parameter as inputs for the procedure.

Suppose there is an input parameter named Param#. To input multiple instances of an indexed parameter like this, execute:

EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"

In the table below, indexed parameters are denoted with a '#' character at the end of their names.

Input

Name Type Required Description
AppId# String True The App Id. This can be a list of comma-separated Ids.
Revision# String False Specify the revision of the setting that reflects the operational environment. If the specified revision is not up to date, the request will fail.
Revert Boolean False If you want to cancel the change to the application settings, set this to true.

The default value is false.

GuestSpaceId String False This parameter is used for apps that are in the guest space. Do not add this parameter if the connection property GuestSpaceid is specified in the connection string.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

UpdateAssignees

Updates assignees.

Input

Name Type Required Description
AppId String True The App Id.
RecordId String True The record Id.
Assignees String True The user codes of the assignees. If empty, no users will be assigned. The maximum number of assignees is 100.
Revision String False The revision number of the record before updating the assignees. If the specified revision is not the latest revision, the request will result in an error.
GuestSpaceId String False This parameter is used for apps that are in the guest space. Do not add this parameter if the connection property GuestSpaceId is specified in the connection string.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.
Revision String The revision number of the record after updating the status. The revision number will increase by 2, as two operations are performed - running the action and updating the status.

CData Cloud

UpdateStatus

Updates the status of an app record.

Note: This procedure makes use of indexed parameters. Indexed parameters facilitate providing multiple instances a single parameter as inputs for the procedure.

Suppose there is an input parameter named Param#. To input multiple instances of an indexed parameter like this, execute:

EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"

In the table below, indexed parameters are denoted with a '#' character at the end of their names.

Input

Name Type Required Description
AppId String True The App Id.
RecordId# String True The record Id.
Action# String True The name of the action you want to run. If the localization feature has been used to apply multiple translations of the action, specify the name of the action in the language settings of the user that will run the API.
Assignee# String False The next Assignee. Specify the log-in name of the Assignee.
Revision# String False The revision number of the record before updating the status. If the specified revision is not the latest revision, the request will result in an error.
GuestSpaceId String False This parameter is used for apps that are in the guest space. Do not add this parameter if the connection property GuestSpaceId is specified in the connection string.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.
Id String The record Id.
Revision String The revision number of the record after updating the status. The revision number will increase by 2, as two operations are preformed - running the action and updating the status.

CData Cloud

UpdateThread

Updates a Thread of a Space.

Stored Procedure Specific Information

Kintone allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. For example:

EXECUTE UpdateThread ThreadId = 13, Name = 'Test Thread', Body = 'This is for testing'

Input

Name Type Required Description
ThreadId Integer True The Thread ID. The Thread ID can be found in the URL of the Thread.
Name String False The new name of the Thread. Must be between 1 - 128 characters. The name will not be updated if this parameter is ignored. The Thread name of single threaded Spaces cannot be updated.
Body String False The contents of the Thread body.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

CybozuUser Data Model

The Cloud models the Kintone USER API as relational Views.

Views

The Cloud models User, UserGroups and UserDepartments information in view.

CData Cloud

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Cloud - Kintone Views

Name Description
UserDepartments Gets information of Departments that a User belongs to, and Job Title information related to the Department.
UserGroups Gets information of Groups that a User belongs to.
Users Gets information of users.

CData Cloud

UserDepartments

Gets information of Departments that a User belongs to, and Job Title information related to the Department.

Select

The UserCode column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM UserDepartments where UserCode = 'loginname';

Columns

Name Type References Description
OrganizationId [KEY] Long The ID of the Department.
TitleId [KEY] Long The ID of the Job Title.
OrganizationCode String The Code of the Department.
OrganizationName String The display name of the Department.
OrganizationLocalName String The localized name of the Department.
OrganizationLocalNameLocale String The locale of the localized name of the Department.
OrganizationParentCode String The code of the Parent Department. null, if the parent is the Root.
OrganizationDescription String The description of the Department.
TitleCode String The code of the Job Title.
TitleName String The name of the Job Title.
TitleDescription String The description of the Job Title.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
UserCode String The log in name of the User.

CData Cloud

UserGroups

Gets information of Groups that a User belongs to.

Select

The UserCode column is required in the WHERE clause. The Cloud will use the Kintone APIs to filter the results by this column. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM UserGroups where UserCode = 'loginname';

Columns

Name Type References Description
GroupId [KEY] Long The ID of the Group.
GroupCode String The code of the Group.
GroupName String The display name of the Group.
GroupDescription String The description of the Group.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
UserCode String The log in name of the User.

CData Cloud

Users

Gets information of users.

Select

The Cloud uses the Kintone API to process supported filters. By default, the Cloud will process other filters client-side within the Cloud.

For example, the following queries are processed server side:

SELECT * FROM Users where id = 1;
SELECT * FROM Users where id in (1,2);
SELECT * FROM Users where Code = 'loginname';
SELECT * FROM Users where code in ('loginname1','loginname2');

Columns

Name Type References Description
Id [KEY] Long The user ID.
Code String The log in name of the User.
CreatedTime Datetime The created datetime of the User.
UpdatedTime Datetime The updated datetime of the User.
Valid Boolean If the Status of the user is Active or not.
Name String The display name of the User.
SurName String The last name of the User.
GivenName String The first name of the User.
SurNameReading String The phonetic reading of the Last name.
GivenNameReading String The phonetic reading of the First name.
LocalName String The localized display name of the User.
LocalNameLocale String The locale of the localized display name of the User.
Timezone String The time zone ID of the user's set time zone.
Locale String The language setting of the user.
Description String The About Me section of the user's profile.
Phone String The phone number of the User.
MobilePhone String The mobile phone number of the User.
ExtensionNumber String The extension number of the User.
Email String The Email address of the User.
SkypeID String The Skype ID of the User.
Url String The URL section of the user's profile.
EmployeeNumber String The Employee Number of the User.
BirthDate Datetime The Birthday of the User.
JoinDate Datetime The Hire Date of the User.
PrimaryOrganization Integer The Department ID of the Priority Department of the User. Set to null if there is no Priority Department.
SortOrder Integer The Display Order priority of the User.
CustomItemValues String A list of pairs of Custom Field Names and Custom Field Codes.

CData Cloud

System Tables

You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.

Schema Tables

The following tables return database metadata for Kintone:

  • sys_catalogs: Lists the available databases.
  • sys_schemas: Lists the available schemas.
  • sys_tables: Lists the available tables and views.
  • sys_tablecolumns: Describes the columns of the available tables and views.
  • sys_procedures: Describes the available stored procedures.
  • sys_procedureparameters: Describes stored procedure parameters.
  • sys_keycolumns: Describes the primary and foreign keys.
  • sys_indexes: Describes the available indexes.

Data Source Tables

The following tables return information about how to connect to and query the data source:

  • sys_connection_props: Returns information on the available connection properties.
  • sys_sqlinfo: Describes the SELECT queries that the Cloud can offload to the data source.

Query Information Tables

The following table returns query statistics for data modification queries, including batch operations::

  • sys_identity: Returns information about batch operations or single updates.

CData Cloud

sys_catalogs

Lists the available databases.

The following query retrieves all databases determined by the connection string:

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String The database name.

CData Cloud

sys_schemas

Lists the available schemas.

The following query retrieves all available schemas:

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String The database name.
SchemaName String The schema name.

CData Cloud

sys_tables

Lists the available tables.

The following query retrieves the available tables and views:

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String The database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view.
TableType String The table type (table or view).
Description String A description of the table or view.
IsUpdateable Boolean Whether the table can be updated.

CData Cloud

sys_tablecolumns

Describes the columns of the available tables and views.

The following query returns the columns and data types for the Comments table:

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Comments' 

Columns

Name Type Description
CatalogName String The name of the database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view containing the column.
ColumnName String The column name.
DataTypeName String The data type name.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The storage size of the column.
DisplaySize Int32 The designated column's normal maximum width in characters.
NumericPrecision Int32 The maximum number of digits in numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The column scale or number of digits to the right of the decimal point.
IsNullable Boolean Whether the column can contain null.
Description String A brief description of the column.
Ordinal Int32 The sequence number of the column.
IsAutoIncrement String Whether the column value is assigned in fixed increments.
IsGeneratedColumn String Whether the column is generated.
IsHidden Boolean Whether the column is hidden.
IsArray Boolean Whether the column is an array.
IsReadOnly Boolean Whether the column is read-only.
IsKey Boolean Indicates whether a field returned from sys_tablecolumns is the primary key of the table.
ColumnType String The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN.

CData Cloud

sys_procedures

Lists the available stored procedures.

The following query retrieves the available stored procedures:

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String The database containing the stored procedure.
SchemaName String The schema containing the stored procedure.
ProcedureName String The name of the stored procedure.
Description String A description of the stored procedure.
ProcedureType String The type of the procedure, such as PROCEDURE or FUNCTION.

CData Cloud

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the DownloadFile stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'DownloadFile' AND Direction = 1 OR Direction = 2

To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'DownloadFile' AND IncludeResultColumns='True'

Columns

Name Type Description
CatalogName String The name of the database containing the stored procedure.
SchemaName String The name of the schema containing the stored procedure.
ProcedureName String The name of the stored procedure containing the parameter.
ColumnName String The name of the stored procedure parameter.
Direction Int32 An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
DataTypeName String The name of the data type.
NumericPrecision Int32 The maximum precision for numeric data. The column length in characters for character and date-time data.
Length Int32 The number of characters allowed for character data. The number of digits allowed for numeric data.
NumericScale Int32 The number of digits to the right of the decimal point in numeric data.
IsNullable Boolean Whether the parameter can contain null.
IsRequired Boolean Whether the parameter is required for execution of the procedure.
IsArray Boolean Whether the parameter is an array.
Description String The description of the parameter.
Ordinal Int32 The index of the parameter.
Values String The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated.
SupportsStreams Boolean Whether the parameter represents a file that you can pass as either a file path or a stream.
IsPath Boolean Whether the parameter is a target path for a schema creation operation.
Default String The value used for this parameter when no value is specified.
SpecificName String A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here.
IsCDataProvided Boolean Whether the procedure is added/implemented by CData, as opposed to being a native Kintone procedure.

Pseudo-Columns

Name Type Description
IncludeResultColumns Boolean Whether the output should include columns from the result set in addition to parameters. Defaults to False.

CData Cloud

sys_keycolumns

Describes the primary and foreign keys.

The following query retrieves the primary key for the Comments table:

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Comments' 
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
IsKey Boolean Whether the column is a primary key in the table referenced in the TableName field.
IsForeignKey Boolean Whether the column is a foreign key referenced in the TableName field.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.

CData Cloud

sys_foreignkeys

Describes the foreign keys.

The following query retrieves all foreign keys which refer to other tables:

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.
ForeignKeyType String Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key.

CData Cloud

sys_primarykeys

Describes the primary keys.

The following query retrieves the primary keys from all tables and views:

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
KeySeq String The sequence number of the primary key.
KeyName String The name of the primary key.

CData Cloud

sys_indexes

Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.

The following query retrieves all indexes that are not primary keys:

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String The name of the database containing the index.
SchemaName String The name of the schema containing the index.
TableName String The name of the table containing the index.
IndexName String The index name.
ColumnName String The name of the column associated with the index.
IsUnique Boolean True if the index is unique. False otherwise.
IsPrimary Boolean True if the index is a primary key. False otherwise.
Type Int16 An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3).
SortOrder String The sort order: A for ascending or D for descending.
OrdinalPosition Int16 The sequence number of the column in the index.

CData Cloud

sys_connection_props

Returns information on the available connection properties and those set in the connection string.

The following query retrieves all connection properties that have been set in the connection string or set through a default value:

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String The name of the connection property.
ShortDescription String A brief description.
Type String The data type of the connection property.
Default String The default value if one is not explicitly set.
Values String A comma-separated list of possible values. A validation error is thrown if another value is specified.
Value String The value you set or a preconfigured default.
Required Boolean Whether the property is required to connect.
Category String The category of the connection property.
IsSessionProperty String Whether the property is a session property, used to save information about the current connection.
Sensitivity String The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms.
PropertyName String A camel-cased truncated form of the connection property name.
Ordinal Int32 The index of the parameter.
CatOrdinal Int32 The index of the parameter category.
Hierarchy String Shows dependent properties associated that need to be set alongside this one.
Visible Boolean Informs whether the property is visible in the connection UI.
ETC String Various miscellaneous information about the property.

CData Cloud

sys_sqlinfo

Describes the SELECT query processing that the Cloud can offload to the data source.

See SQL Compliance for SQL syntax details.

Discovering the Data Source's SELECT Capabilities

Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.

NameDescriptionPossible Values
AGGREGATE_FUNCTIONSSupported aggregation functions.AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTWhether COUNT function is supported.YES, NO
IDENTIFIER_QUOTE_OPEN_CHARThe opening character used to escape an identifier.[
IDENTIFIER_QUOTE_CLOSE_CHARThe closing character used to escape an identifier.]
SUPPORTED_OPERATORSA list of supported SQL operators.=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYWhether GROUP BY is supported, and, if so, the degree of support.NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESThe supported varieties of outer joins supported.NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINSWhether outer joins are supported.YES, NO
SUBQUERIESWhether subqueries are supported, and, if so, the degree of support.NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSSupported string functions.LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSSupported numeric functions.ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSSupported date/time functions.NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESIndicates tables skipped during replication.
REPLICATION_TIMECHECK_COLUMNSA string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication.
IDENTIFIER_PATTERNString value indicating what string is valid for an identifier.
SUPPORT_TRANSACTIONIndicates if the provider supports transactions such as commit and rollback.YES, NO
DIALECTIndicates the SQL dialect to use.
KEY_PROPERTIESIndicates the properties which identify the uniform database.
SUPPORTS_MULTIPLE_SCHEMASIndicates if multiple schemas may exist for the provider.YES, NO
SUPPORTS_MULTIPLE_CATALOGSIndicates if multiple catalogs may exist for the provider.YES, NO
DATASYNCVERSIONThe CData Data Sync version needed to access this driver.Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYThe CData Data Sync category of this driver.Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLWhether enhanced SQL functionality beyond what is offered by the API is supported.TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSWhether batch operations are supported.YES, NO
SQL_CAPAll supported SQL capabilities for this driver.SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONSA string value specifies the preferred cacheOptions.
ENABLE_EF_ADVANCED_QUERYIndicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side.YES, NO
PSEUDO_COLUMNSA string array indicating the available pseudo columns.
MERGE_ALWAYSIf the value is true, The Merge Mode is forcibly executed in Data Sync.TRUE, FALSE
REPLICATION_MIN_DATE_QUERYA select query to return the replicate start datetime.
REPLICATION_MIN_FUNCTIONAllows a provider to specify the formula name to use for executing a server side min.
REPLICATION_START_DATEAllows a provider to specify a replicate startdate.
REPLICATION_MAX_DATE_QUERYA select query to return the replicate end datetime.
REPLICATION_MAX_FUNCTIONAllows a provider to specify the formula name to use for executing a server side max.
IGNORE_INTERVALS_ON_INITIAL_REPLICATEA list of tables which will skip dividing the replicate into chunks on the initial replicate.
CHECKCACHE_USE_PARENTIDIndicates whether the CheckCache statement should be done against the parent key column.TRUE, FALSE
CREATE_SCHEMA_PROCEDURESIndicates stored procedures that can be used for generating schema files.

The following query retrieves the operators that can be used in the WHERE clause:

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.

Columns

Name Type Description
NAME String A component of SQL syntax, or a capability that can be processed on the server.
VALUE String Detail on the supported SQL or SQL syntax.

CData Cloud

sys_identity

Returns information about attempted modifications.

The following query retrieves the Ids of the modified rows in a batch operation:

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String The database-generated Id returned from a data modification operation.
Batch String An identifier for the batch. 1 for a single operation.
Operation String The result of the operation in the batch: INSERTED, UPDATED, or DELETED.
Message String SUCCESS or an error message if the update in the batch failed.

CData Cloud

sys_information

Describes the available system information.

The following query retrieves all columns:

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductStringThe name of the product.
VersionStringThe version number of the product.
DatasourceStringThe name of the datasource the product connects to.
NodeIdStringThe unique identifier of the machine where the product is installed.
HelpURLStringThe URL to the product's help documentation.
LicenseStringThe license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.)
LocationStringThe file path location where the product's library is stored.
EnvironmentStringThe version of the environment or rumtine the product is currently running under.
DataSyncVersionStringThe tier of CData Sync required to use this connector.
DataSyncCategoryStringThe category of CData Sync functionality (e.g., Source, Destination).

CData Cloud

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
AuthSchemeWhether to connect to Kintone with User/Password or APIToken or OAuth.
URLThe Kintone URL. For example: https://SUBDOMAIN_NAME.cybozu.com .
SchemaSpecify the Kintone API version to use.
UserSpecifies the authenticating user's user ID.
PasswordSpecifies the authenticating user's password.
BasicAuthUserThe additional username required for domains using basic authentication.
BasicAuthPasswordThe additional password required for domains using basic authentication.
AppIdThe AppId used along with the APIToken for authentication.
APITokenThe APIToken used for authentication.

OAuth


PropertyDescription
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.

Logging


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Schema


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Miscellaneous


PropertyDescription
AllowSpecialCharactersDetermines whether or not to allow special characters. If true special characters will not be replaced.
CheckForSubtablesInA comma-separated list of Kintone apps to retrieve subtables from.
GuestSpaceIdRestrict query results to a guest space.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
NumberMapToDoubleDetermines whether or not to change the datatype of number fields from decimal to double.
PagesizeSpecifies the maximum number of records per page the provider returns when requesting data from Kintone.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
SubtableIdAsLongSpecifies whether the Id column in subtables should use the Long data type.
SubtableSeparatorCharacterThe character used for dividing tables from subtables in the format tablename + char + subtable.
TableNameModeThe dynamic table identifier for each AppId.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UseCodeForFieldNameDetermines whether to use Label or Code for Field Name.
UseCursorBoolean determining if cursors should be used to retrieve records.
UseSimpleNamesSpecifies whether or not simple names should be used for tables and columns.
UseUnitForNumericFieldDetermines whether to display unit with Field Name.
CData Cloud

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
AuthSchemeWhether to connect to Kintone with User/Password or APIToken or OAuth.
URLThe Kintone URL. For example: https://SUBDOMAIN_NAME.cybozu.com .
SchemaSpecify the Kintone API version to use.
UserSpecifies the authenticating user's user ID.
PasswordSpecifies the authenticating user's password.
BasicAuthUserThe additional username required for domains using basic authentication.
BasicAuthPasswordThe additional password required for domains using basic authentication.
AppIdThe AppId used along with the APIToken for authentication.
APITokenThe APIToken used for authentication.
CData Cloud

AuthScheme

Whether to connect to Kintone with User/Password or APIToken or OAuth.

Possible Values

Password, APIToken, OAuth

Data Type

string

Default Value

"Password"

Remarks

  • Password: Set this to perform Password authentication.
  • APIToken: Set this to perform APIToken authentication.
  • OAuth: Set this to perform OAuth 2.0 authentication.

CData Cloud

URL

The Kintone URL. For example: https://SUBDOMAIN_NAME.cybozu.com .

Data Type

string

Default Value

""

Remarks

The Kintone URL. For example:

https://SUBDOMAIN_NAME.cybozu.com

CData Cloud

Schema

Specify the Kintone API version to use.

Possible Values

Kintone, CybozuUser

Data Type

string

Default Value

"Kintone"

Remarks

Select from the following to specify which API version of Kintone to use:

  • Kintone for Kintone REST API.
  • CybozuUser for Kintone USER API.

CData Cloud

User

Specifies the authenticating user's user ID.

Data Type

string

Default Value

""

Remarks

The authenticating server requires both User and Password to validate the user's identity.

CData Cloud

Password

Specifies the authenticating user's password.

Data Type

string

Default Value

""

Remarks

The authenticating server requires both User and Password to validate the user's identity.

CData Cloud

BasicAuthUser

The additional username required for domains using basic authentication.

Data Type

string

Default Value

""

Remarks

The basic authentication username, used to connect to basic-authentication-enabled domains. Basic authentication provides a double authentication: if you are connecting to a domain using basic authentication, set BasicAuthUser and BasicAuthPassword in addition to User and Password.

CData Cloud

BasicAuthPassword

The additional password required for domains using basic authentication.

Data Type

string

Default Value

""

Remarks

The basic authentication password, used to connect to basic-authentication-enabled domains. Basic authentication provides a double authentication: if you are connecting to a domain using basic authentication, set BasicAuthUser and BasicAuthPassword in addition to User and Password.

CData Cloud

AppId

The AppId used along with the APIToken for authentication.

Data Type

string

Default Value

""

Remarks

The AppId is the number of that specific app in the sequence under Apps in Kintone UI dashboard.

You can also specify multiple comma-seperated AppIds.

CData Cloud

APIToken

The APIToken used for authentication.

Data Type

string

Default Value

""

Remarks

The APIToken used for authentication.To create an API token. Access the specific app to create the API tokens for and click on the cog wheel. Proceed to App Settings tab > API Token > click on the Generate button, an API token will be generated.

You can also specify multiple comma-seperated APITokens in case of operations involving Lookup fields or Related Record fields.

CData Cloud

OAuth

This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.


PropertyDescription
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.
CData Cloud

OAuthClientId

Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.

Data Type

string

Default Value

""

Remarks

This property is required in two cases:

  • When using a custom OAuth application, such as in web-based authentication flows, service-based authentication, or certificate-based flows that require application registration.
  • If the driver does not provide embedded OAuth credentials.

(When the driver provides embedded OAuth credentials, this value may already be provided by the Cloud and thus not require manual entry.)

OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.

OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.

While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Cloud

OAuthClientSecret

Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).

Data Type

string

Default Value

""

Remarks

This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.

The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.

OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.

Notes:

  • This value should be stored securely and never exposed in public repositories, scripts, or unsecured environments.
  • Client secrets may also expire after a set period. Be sure to monitor expiration dates and rotate secrets as needed to maintain uninterrupted access.

For more information on how this property is used when configuring a connection, see Establishing a Connection

CData Cloud

Scope

Specifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.

Data Type

string

Default Value

""

Remarks

Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.

When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.

When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.

CData Cloud

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
CData Cloud

Verbosity

Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Data Type

string

Default Value

"1"

Remarks

This property defines the level of detail the Cloud includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.

The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.

When combined with the LogModules property, Verbosity can refine logging to specific categories of information.

CData Cloud

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
CData Cloud

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Data Type

string

Default Value

""

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

CData Cloud

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
AllowSpecialCharactersDetermines whether or not to allow special characters. If true special characters will not be replaced.
CheckForSubtablesInA comma-separated list of Kintone apps to retrieve subtables from.
GuestSpaceIdRestrict query results to a guest space.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
NumberMapToDoubleDetermines whether or not to change the datatype of number fields from decimal to double.
PagesizeSpecifies the maximum number of records per page the provider returns when requesting data from Kintone.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
SubtableIdAsLongSpecifies whether the Id column in subtables should use the Long data type.
SubtableSeparatorCharacterThe character used for dividing tables from subtables in the format tablename + char + subtable.
TableNameModeThe dynamic table identifier for each AppId.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UseCodeForFieldNameDetermines whether to use Label or Code for Field Name.
UseCursorBoolean determining if cursors should be used to retrieve records.
UseSimpleNamesSpecifies whether or not simple names should be used for tables and columns.
UseUnitForNumericFieldDetermines whether to display unit with Field Name.
CData Cloud

AllowSpecialCharacters

Determines whether or not to allow special characters. If true special characters will not be replaced.

Data Type

bool

Default Value

false

Remarks

Determines whether or not to allow special characters. If true special characters will not be replaced.

CData Cloud

CheckForSubtablesIn

A comma-separated list of Kintone apps to retrieve subtables from.

Data Type

string

Default Value

"*"

Remarks

Set this field to * to check for subtables in all Kintone apps. Set this field to 'None' to not search for any subtables. Kintone subtables are exposed as separate tables and retrieving the list of all subtables from the API is a time-consuming operation. By specifying only some app names in this field, the performance of the Cloud increases. You can also set this field to * to check for subtables in all Kintone apps, but note that if there is a large number of apps, listing the tables will take much longer.

CData Cloud

GuestSpaceId

Restrict query results to a guest space.

Data Type

string

Default Value

""

Remarks

This connection property restricts query results to the specified guest space.

You can find the GuestSpaceId from the Cloud in the SpaceId column of the Apps table. Or, obtain the GuestSpaceId from the URL when you navigate to the created space. For example, in the following URL, the GuestSpaceId would be "3":

https://xlqc1.cybozu.com/k/guest/3/#/space/3/thread/3

CData Cloud

MaxRows

Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.

Data Type

int

Default Value

-1

Remarks

The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)

Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

CData Cloud

NumberMapToDouble

Determines whether or not to change the datatype of number fields from decimal to double.

Data Type

bool

Default Value

false

Remarks

Determines whether or not to change the datatype of number fields from decimal to double. If true the datatype will be changed from decimal to double.

CData Cloud

Pagesize

Specifies the maximum number of records per page the provider returns when requesting data from Kintone.

Data Type

int

Default Value

500

Remarks

When processing a query, instead of requesting all of the queried data at once from Kintone, the Cloud can request the queried data in pieces called pages.

This connection property determines the maximum number of results that the Cloud requests per page.

Note: Setting large page sizes may improve overall query execution time, but doing so causes the Cloud to use more memory when executing queries and risks triggering a timeout.

CData Cloud

PseudoColumns

Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.

Data Type

string

Default Value

""

Remarks

This property allows you to define which pseudocolumns the Cloud exposes as table columns.

To specify individual pseudocolumns, use the following format:

Table1=Column1;Table1=Column2;Table2=Column3

To include all pseudocolumns for all tables use:

*=*

CData Cloud

SubtableIdAsLong

Specifies whether the Id column in subtables should use the Long data type.

Data Type

bool

Default Value

false

Remarks

By default, the Id column in subtables is returned as an Integer. Setting SubtableIdAsLong to true changes the type of this column to Long.

This property is useful if your subtables contain a large number of records, where the Integer type might be insufficient to represent all values reliably.

CData Cloud

SubtableSeparatorCharacter

The character used for dividing tables from subtables in the format tablename + char + subtable.

Data Type

string

Default Value

"_"

Remarks

If an app has a subtable, it is represented as a separate table. Its name will be the AppName + SubtableSeparatorCharacter + SubtableName. Use this property to set a custom character as the separator and easily identify subtables from apps. This property allows you to set different special characters in the subtable's name without breaking your app's naming conventions.

CData Cloud

TableNameMode

The dynamic table identifier for each AppId.

Possible Values

AppName, AppId

Data Type

string

Default Value

"AppName"

Remarks

The dynamic table identifier for each AppId can be either the AppName or the AppId to uniquely identify the table. By default, the identifier will be the AppName.

  • AppName: Set this to identify the dynamic table of the respective App with its AppName.
  • AppId: Set this to identify the dynamic table of the respective App with its AppId.

CData Cloud

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.

Data Type

int

Default Value

60

Remarks

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.

Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.

Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.

Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

CData Cloud

UseCodeForFieldName

Determines whether to use Label or Code for Field Name.

Data Type

bool

Default Value

false

Remarks

If true, Code is used for Field Name.

CData Cloud

UseCursor

Boolean determining if cursors should be used to retrieve records.

Data Type

bool

Default Value

true

Remarks

Boolean determining if cursors should be used to retrieve records.

CData Cloud

UseSimpleNames

Specifies whether or not simple names should be used for tables and columns.

Data Type

bool

Default Value

false

Remarks

Kintone tables can include special characters in their names that are typically not allowed in standard databases. This property makes the Cloud easier to use with traditional database tools.

Setting UseSimpleNames to True simplifies the names of the columns that are returned. It enforces a naming scheme where only alphanumeric characters and underscores are valid for displayed column names.

Notes:

  • Any non-alphanumeric characters are converted to underscores.
  • If the column or table names exceed 128 characters in length they are truncated to 128 characters to comply with SQL Server standards.

CData Cloud

UseUnitForNumericField

Determines whether to display unit with Field Name.

Data Type

bool

Default Value

true

Remarks

If set to false, Unit will not be displayed with Field Name.

CData Cloud

Third Party Copyrights

LZMA from 7Zip LZMA SDK

LZMA SDK is placed in the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

LZMA2 from XZ SDK

Version 1.9 and older are in the public domain.

Xamarin.Forms

Xamarin SDK

The MIT License (MIT)

Copyright (c) .NET Foundation Contributors

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NSIS 3.10

Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS

"Contribution" means:

a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:

i) changes to the Program, and

ii) additions to the Program;

where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.

"Contributor" means any person or entity that distributes the Program.

"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.

2. GRANT OF RIGHTS

a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.

b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.

c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.

d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.

3. REQUIREMENTS

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:

a) it complies with the terms and conditions of this Agreement; and

b) its license agreement:

i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;

ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;

iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and

iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.

When the Program is made available in source code form:

a) it must be made available under this Agreement; and

b) a copy of this Agreement must be included with each copy of the Program.

Contributors may not remove or alter any copyright notices contained within the Program.

Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.

4. COMMERCIAL DISTRIBUTION

Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL

If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.

This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434