Important : Nous n'acceptons plus de nouvelles inscriptions à l'API EMM Play.
En savoir plus
Enterprises: acknowledgeNotificationSet
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Accusé de réception des notifications de
Enterprises.PullNotificationSet pour empêcher le retour des appels ultérieurs
les mêmes notifications.
Requête
Requête HTTP
POST https://www.googleapis.com/androidenterprise/v1/enterprises/acknowledgeNotificationSet
Paramètres
Nom du paramètre |
Valeur |
Description |
Paramètres de requête facultatifs |
notificationSetId |
string |
ID de l'ensemble de notifications renvoyé par Enterprises.PullNotificationSet.
Ce champ doit être fourni.
|
Autorisation
Cette requête nécessite une autorisation ayant le champ d'application suivant:
Champ d'application |
https://www.googleapis.com/auth/androidenterprise |
Pour en savoir plus, consultez la page Authentification et autorisation.
Corps de la requête
Ne spécifiez pas de corps de requête pour cette méthode.
Réponse
Si la requête aboutit, cette méthode renvoie un corps de réponse vide.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/09/12 (UTC).
[null,null,["Dernière mise à jour le 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."]]