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 should return a 200 (OK) HTTP status code if your server is running successfully."],["Utilize other HTTP status codes to indicate errors, as outlined in the provided documentation."],["Returning a non-200 status code might negatively impact your integration status."]]],["The method checks the Booking Server's health status, allowing continuous monitoring. No request or return value is needed. 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"]]