すべての通知チャネルを検索する
通知チャネルは、以下の API を使用して検索できます。
リクエスト URL
ヘッダー
ヘッダーキー:Authorization
ヘッダー値:Bearer {{access_token}} (SixthSenceポータルで [設定] > [アクセストークン] > [アクセストークンを表示] に移動)
リクエスト
{
"from": 0,
"keyword": "string",
"limit": 0,
"order": "ASC",
"sortBy": "channelName",
"wildcard": true
}
パラメータ | 内容 |
---|---|
keyword | チャネル名を検索するためのキーワード |
limit | 返されるレコードの数 |
from | レコードの開始番号 |
sortBy | |
order |
例:
{
"keyword": "name",
"limit": 10,
"from": 0,
"sortBy": "lastUpdatedAt",
"order": "DESC"
}
レスポンス
{
"data": {},
"message": "string",
"success": true
}
例:
{
"message": "1 record(s) found",
"success": true,
"data": {
"notificationChannels": [
{
"channelId": "4KuExIUBVVmCg9TvYqE3",
"channelName": " test",
"type": "EMAIL",
"values": [
"username@rakuten.com"
],
"template" : null,
"lastUpdatedAt": 1670591058668,
"lastUpdatedBy": "Sixthsense migration",
"createdAt": 1670591058668,
"createdBy": "Sixthsense migration"
}
],
"total": 1
}
}