すべての通知テンプレートの検索
GET
/iam/governance/selfservice/api/v1/notification/search/basic
テンプレート名またはイベント名をURLパラメータとして指定することで、すべての通知テンプレートを取得します。ソートとページ区切りがサポートされています。
リクエスト
問合せパラメータ
- eventName(optional): string
検索する必要があるイベント名。
- limit(optional): integer(int32)
startindexから返される通知テンプレートの数。
- offset(optional): integer(int32)
結果を返す際のページ区切りの開始索引。
- orderBy(optional): string
ソートを実行する必要がある属性(コロンとソート順序が後に続きます)。
- templateName(optional): string
検索する必要があるテンプレート名
レスポンス
サポートされているメディア・タイプ
- application/json
200レスポンス
操作に成功しました。
ネストされたスキーマ: SearchResult
型:
ソースの表示
object
- createuser(optional): string
通知テンプレートのユーザーを作成します。
- customId(optional): string
通知テンプレートのカスタムID。
- eventName(optional): string
通知テンプレートのイベント名。
- id(optional): number
通知テンプレートのID。
- locale(optional): string
通知テンプレートのロケール。
- status(optional): string
通知テンプレートのステータス。
- subject(optional): string
通知テンプレートの件名。
- templateName(optional): string
通知テンプレートの名前。
400レスポンス
入力が無効です。
例
この例では、検索条件に一致するすべてのエンティティを取得します。ここに示す情報は、擬似システムを使用した場合のものであり、プロトタイプとして提供しています。
cURLの例
curl -i -X GET -u username:password \ --header 'Content-Type: application/json' \ 'http://pseudo.com:14000/iam/governance/selfservice/api/v1/notification/search/basic
レスポンス本文の例
JSON形式のレスポンス本文のコンテンツの例を次に示します。
{ "links":[ { "rel":"self", "href":"http://pseudo.com/iam/governance/selfservice/api/v1/notification/search/basic?offset=1&limit=10" }, { "rel":"first", "href":"http://pseudo.com/iam/governance/selfservice/api/v1/notification/search/basic?offset=1&limit=10" }, { "rel":"next", "href":"http://pseudo.com/iam/governance/selfservice/api/v1/notification/search/basic?offset=11&limit=10" } ], "count":10, "hasMore":true, "totalResult":19, "offset":1, "limit":10, "searchResultTOS":[ { "templatename":"Add Proxy Notification", "id":12, "eventname":"Add Proxy", "subject":"?????? - ???????????????????????????????????????????????????", "locale":"ja_JP", "status":"Disabled", "createuser":"-1", "customId":"Add Proxy Notificationja_JP?????? - ???????????????????????????????????????????????????" }, { "templatename":"Bulk Request Creation", "id":6, "eventname":"Bulk Request Creation", "subject":"???????????????????????????????????????", "locale":"th_TH", "status":"Enabled", "createuser":"-1", "customId":"Bulk Request Creationth_TH???????????????????????????????????????" }, { "templatename":"Create User Self Service Notification", "id":7, "eventname":"Self-Register User", "subject":"Congratulations - New Account has been created", "locale":"en_US", "status":"Enabled", "createuser":"-1", "customId":"Create User Self Service Notificationen_USCongratulations - New Account has been created" }, { "templatename":"End Date", "id":11, "eventname":"User Deleted Notification", "subject":"The end date of user $Display_Name expired.", "locale":"en_US", "status":"Enabled", "createuser":"-1", "customId":"End Dateen_USThe end date of user $Display_Name expired." }, { "templatename":"Failed Account Creation", "id":15, "eventname":"Failed Account Creation", "subject":"Poskytovanie konta SSO zlyhalo", "locale":"sk_SK", "status":"Enabled", "createuser":"-1", "customId":"Failed Account Creationsk_SKPoskytovanie konta SSO zlyhalo" }, { "templatename":"Failed Account Self Creation", "id":16, "eventname":"Failed Account Self Creation", "subject":"Provisioning dell'account SSO non riuscito", "locale":"it_IT", "status":"Enabled", "createuser":"-1", "customId":"Failed Account Self Creationit_ITProvisioning dell'account SSO non riuscito" }, { "templatename":"Failed Job Notification", "id":14, "eventname":"Failed Job", "subject":"Job er fejlet", "locale":"da_DK", "status":"Enabled", "createuser":"-1", "customId":"Failed Job Notificationda_DKJob er fejlet" }, { "templatename":"Forgot Password with URL Notification", "id":17, "eventname":"ForgotPasswordWithURL", "subject":"Glemt passordet", "locale":"no_NO", "status":"Enabled", "createuser":"-1", "customId":"Forgot Password with URL Notificationno_NOGlemt passordet" }, { "templatename":"Forgotten Username Notification", "id":13, "eventname":"Forgotten Username", "subject":"???????????? ???????? ????????????????", "locale":"ar_AE", "status":"Enabled", "createuser":"-1", "customId":"Forgotten Username Notificationar_AE???????????? ???????? ????????????????" }, { "templatename":"Generated Password Notification", "id":8, "eventname":"Generated Password ", "subject":"New Account Information", "locale":"en_US", "status":"Enabled", "createuser":"-1", "customId":"Generated Password Notificationen_USNew Account Information" } ] }