重要: Play EMM API の新しい登録受け付けは終了しました。
詳細
Enterprises: acknowledgeNotificationSet
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
次から受信した通知を確認する
Enterprises.PullNotificationSet を使用して、後続の呼び出しが
同じ通知を受け取れます
リクエスト
HTTP リクエスト
POST https://www.googleapis.com/androidenterprise/v1/enterprises/acknowledgeNotificationSet
パラメータ
パラメータ名 |
値 |
説明 |
省略可能なクエリ パラメータ |
notificationSetId |
string |
Enterprises.PullNotificationSet から返される通知セット ID。指定する必要があります。
|
承認
このリクエストには、次のスコープによる認証が必要です。
スコープ |
https://www.googleapis.com/auth/androidenterprise |
詳しくは、認証と認可のページをご覧ください。
リクエスト本文
このメソッドをリクエストの本文に含めないでください。
レスポンス
成功すると、このメソッドによって空のレスポンスの本文が返されます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[null,null,["最終更新日 2024-09-12 UTC。"],[[["\u003cp\u003eAcknowledges received Enterprise notifications to avoid redundancy.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the \u003ccode\u003enotificationSetId\u003c/code\u003e obtained from \u003ccode\u003eEnterprises.PullNotificationSet\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUses a simple POST request with no request body for acknowledgement.\u003c/p\u003e\n"],["\u003cp\u003eReturns an empty response body upon successful acknowledgement.\u003c/p\u003e\n"]]],[],null,["# Enterprises: acknowledgeNotificationSet\n\n| **Note:** Requires [authorization](#auth).\n\nAcknowledges notifications that were received from\nEnterprises.PullNotificationSet to prevent subsequent calls from returning\nthe same notifications.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/acknowledgeNotificationSet\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|---------------------|----------|------------------------------------------------------------------------------------------------|\n| **Optional query parameters** |||\n| `notificationSetId` | `string` | The notification set ID as returned by Enterprises.PullNotificationSet. This must be provided. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]