Enterprises: sendTestPushNotification

Bu kuruluş için Google Cloud Pub/Sub hizmetiyle EMM entegrasyonunu doğrulamak amacıyla bir test bildirimi gönderir.

İstek

HTTP isteği

POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/sendTestPushNotification

Parametreler

Parametre adı Değer Açıklama
Yol parametreleri
enterpriseId string Kurumun kimliği.

Yetkilendirme

Bu istek, aşağıdaki kapsamla yetkilendirme gerektiriyor:

Kapsam
https://www.googleapis.com/auth/androidenterprise

Daha fazla bilgi edinmek için kimlik doğrulama ve yetkilendirme sayfasını inceleyin.

İstek metni

Bu yöntemi içeren bir istek gövdesi sağlamayın.

Yanıt

Başarılı olursa bu yöntem aşağıdaki yapıya sahip bir yanıt gövdesi döndürür:

{
  "topicName": string,
  "messageId": string
}
Mülk adı Değer Açıklama Notlar
topicName string Bu kuruluşun kayıtlı hesabıyla ilgili bildirimlerin gönderileceği Cloud Pub/Sub konusunun adı.
messageId string Gönderilen test push bildiriminin mesaj kimliği.