HealthCheck yöntemi
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu yöntem, rezervasyon sunucunuzun sağlık durumunu döndürür. Bu, Google'ın Rezervasyon sunucunuzun sunma durumunu sürekli olarak izlemesini sağlar.
İstek
Yok
Döndürülen değer
Yok.
Sunucunuzun yayınlama durumunu belirtmek için HTTP durum kodu kullanın. Sunucu çalışır durumdaysa 200 (OK) HTTP durum kodunu döndürün veya hata belirtmek için lütfen HTTP durum kodlarından birini döndürün.
200 olmayan bir durum kodu döndürmenin entegrasyon durumunuzu etkileyebileceğini lütfen unutmayın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eThis method allows Google to monitor the health of your Booking Server.\u003c/p\u003e\n"],["\u003cp\u003eYou need to use HTTP status codes to indicate the server's health (200 for OK, other codes for errors).\u003c/p\u003e\n"],["\u003cp\u003eReturning a non-200 status code might impact your integration with Google.\u003c/p\u003e\n"]]],["The Booking Server health status is checked via an HTTP request with no request body or return value. A successful server is indicated by an HTTP status code of 200 (OK). Any other HTTP status code, as defined in the provided status code documentation, signals an error. Returning a non-200 status code may negatively impact integration. Google uses this method to monitor the operational status of the server.\n"],null,["# HealthCheck method\n\nThis method returns your Booking Server health status. It enables Google to\ncontinuously monitor the serving state of your Booking server.\n\n**Request**\n\nNone\n\n**Return value**\n\nNone.\n\nUse HTTP status code to indicate the serving status of your server. Return\nan HTTP status code 200 (OK) if the server is up and running successfully,\nor to indicate an error please return one of\n[HTTP status code](/actions-center/verticals/local-services/e2e/reference/booking-server-api-rest/e2e-methods/status-codes).\n\n\nPlease note that returning a non-200 status code may affect your integration status."]]