獲取提醒的通知條件的設置
獲取提醒的通知條件的設置。
| HTTP 方法 | GET |
|---|---|
| URL | https://sample.cybozu.com/k/v1/app/notifications/reminder.json |
| URL(訪客空間) | https://sample.cybozu.com/k/guest/GUEST_SPACE_ID/v1/app/notifications/reminder.json |
| URL(操作測試環境) | https://sample.cybozu.com/k/v1/preview/app/notifications/reminder.json |
| URL(測試環境中的訪客空間) | https://sample.cybozu.com/k/guest/GUEST_SPACE_ID/v1/preview/app/notifications/reminder.json |
| 認證 | 密碼驗證 , API令牌認證 , 會話認證 , OAuth認證 |
| Content-Type | application/json(透過查詢字串指定查詢時不需指定此項) |
請求參數
| 參數名稱 | 類型 | 必須 | 說明 |
|---|---|---|---|
| app | 數值或字串 | 必須 | 應用ID |
| lang | 字串 | 可省略 | 要選取的名稱的語言 如果已在選擇公式欄位的選項欄位中設置了多語言對應,請指定。 多語言對應
|
應答屬性
| 屬性名稱 | 類型 | 說明 |
|---|---|---|
| notifications | 陣列 | 設定通知條件(提醒) |
| notifications[].timing | 物件 | 通知時間 |
| notifications[].timing.code | 字串 | 用作通知時間的參考日期和時間的欄位的欄位代碼 |
| notifications[].timing.daysLater | 字串 | 參考日期和時間之前或之後的多少天或幾天將收到通知 如果要在引用日期和時間之前通知,則返回負整數。 |
| notifications[].timing.hoursLater | 字串 | 從添加到基準日期和時間 timing.daysLater 的日期和時間中,應提前多少小時或小時通知如果在 timing.code中指定表示日期和時間的欄位,並且設置了「指定相對時間」, 則返回該值。如果早於引用日期和時間,則返回負整數。 |
| notifications[].timing.time | 字串 | 從添加到基準日期和 timing.daysLater 時間的日期開始何時通知在以下情況之一中返回值:
|
| notifications[].filterCond | 字串 | 提醒條件通知條件 它以查詢的形式表示。有關查詢格式的詳細資訊,請參閱以下頁面。 如何編寫查詢 如果指定了已刪除的使用者/組織/群組,則返回錯誤。 |
| notifications[].title | 字串 | 提醒條件通知中通知了哪些內容 |
| notifications[].targets | 陣列 | 通知收件者清單 |
| notifications[].targets[].entity | 物件 | 要通知的物件 |
| notifications[].targets[].entity.type | 字串 | 通知收件者的類型
|
| notifications[].targets[].entity.code | 字串 | 通知目標目標的代碼 因 entity.type的值而異。
|
| notifications[].targets[].includeSubs | 布爾值 | 設置是否由子單位繼承
entity.type為「ORGANIZATION」或「FIELD_ENTITY」並指定了組織選擇字段時,才會返回「false」。 |
| timezone | 字串 | 提醒時間的時區 從未設置提醒條件通知的應用將返回「null」。 |
| revision | 字串 | 應用設置的修訂號 |
所需存取權限
- 應用程式管理權限
範例
|
|
|
|
有關請求頭的詳細資訊,請參閱通用規格。
kintone REST API通用規格
|
|
|
|
有關請求頭的詳細資訊,請參閱通用規格。
kintone REST API通用規格
|
|
|
|
有關kintone.api()的說明,請參閱以下頁面。
傳送kintone REST API請求
|
|
根據您的環境,curl的格式可能會有所不同。
有關說明,請參閱以下頁面。
使用curl命令執行kintone REST API/3.執行API
|
|
