獲取記錄的通知條件的設置
獲取記錄的通知條件設置。
| HTTP 方法 | GET |
|---|---|
| URL | https://sample.cybozu.com/k/v1/app/notifications/perRecord.json |
| URL(訪客空間) | https://sample.cybozu.com/k/guest/GUEST_SPACE_ID/v1/app/notifications/perRecord.json |
| URL(操作測試環境) | https://sample.cybozu.com/k/v1/preview/app/notifications/perRecord.json |
| URL(測試環境中的訪客空間) | https://sample.cybozu.com/k/guest/GUEST_SPACE_ID/v1/preview/app/notifications/perRecord.json |
| 認證 | 密碼驗證 , API令牌認證 , 會話認證 , OAuth認證 |
| Content-Type | application/json(透過查詢字串指定查詢時不需要指定此項) |
請求參數
| 參數名稱 | 類型 | 必須 | 說明 |
|---|---|---|---|
| app | 數值或字串 | 必須 | 應用ID |
| lang | 字串 | 可省略 | 要選取的名稱的語言 如果已在選擇公式欄位的選項欄位中設置了多語言對應,請指定。 多語言對應
|
回應屬性
| 屬性名稱 | 類型 | 說明 |
|---|---|---|
| notifications | 陣列 | 通知條件設置清單 |
| 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」指定組織選擇欄位,則返回「true」。 |
| revision | 字串 | 應用設置的修訂號 |
所需存取權限
- 應用程式管理權限
範例
|
|
|
|
有關請求頭的詳細資訊,請參閱通用規格。
kintone REST API通用規格
|
|
|
|
有關請求頭的詳細資訊,請參閱通用規格。
kintone REST API通用規格
|
|
|
|
有關kintone.api()的說明,請參閱以下頁面。
傳送kintone REST API請求
|
|
根據您的環境,curl的格式可能會有所不同。
有關說明,請參閱以下頁面。
使用curl命令執行kintone REST API/3.執行API
|
|
