Metoda HealthCheck
Ta metoda zwraca stan serwera rezerwacji. Umożliwia to Google ciągłe monitorowanie stanu serwera rezerwacji.
Wyślij prośbę
Brak
Zwracana wartość
Brak.
Użyj kodu stanu HTTP, aby wskazać stan wyświetlania serwera. Zwracaj kod stanu HTTP 200 (OK), jeśli serwer działa prawidłowo,
lub aby wskazać błąd, zwracaj jeden z kodów stanu HTTP.
Pamiętaj, że zwrócenie kodu stanu innego niż 200 może wpłynąć na stan integracji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-26 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-26 UTC."],[[["This method allows Google to monitor the health and serving status of your Booking Server."],["You need to use HTTP status codes to indicate the status of your server; 200 (OK) for successful operation and other codes for errors as defined in the provided reference."],["Returning a non-200 status code might negatively impact the status of your integration with Google."]]],["The method checks a Booking Server's health status, allowing continuous monitoring. No request or return value is required; the server's status is indicated solely through the HTTP status code. A 200 (OK) code means the server is operational. Any other HTTP status code, as defined in the provided reference, signifies an error and can impact integration status.\n"]]