PerRecordNotifications
Update and Query the available PerRecord Notifications in kintone.
Select
The AppId column is required in the WHERE clause. The driver will use the Kintone APIs to filter the results by this column. By default, the driver will process other filters client-side within the driver.
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. |