روش سلامت چک
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این روش وضعیت سلامت سرور رزرو شما را برمیگرداند. Google را قادر میسازد تا به طور مداوم وضعیت سرویسدهی سرور رزرو شما را نظارت کند.
درخواست
هیچ یک
ارزش برگشتی
هیچ یک.
از کد وضعیت HTTP برای نشان دادن وضعیت سرویس سرور خود استفاده کنید. اگر سرور با موفقیت راهاندازی میشود، کد وضعیت HTTP 200 (OK) را برگردانید، یا برای نشان دادن خطا، لطفاً یکی از کدهای وضعیت HTTP را برگردانید.
لطفاً توجه داشته باشید که بازگرداندن کد وضعیت غیر 200 ممکن است بر وضعیت ادغام شما تأثیر بگذارد.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis method allows Google to monitor the health and serving status of your Booking Server.\u003c/p\u003e\n"],["\u003cp\u003eYou should return a 200 (OK) HTTP status code if your server is running successfully.\u003c/p\u003e\n"],["\u003cp\u003eReturn a non-200 HTTP status code to indicate an error, using the provided status code reference.\u003c/p\u003e\n"],["\u003cp\u003eUsing a non-200 status code may impact your integration status with Google.\u003c/p\u003e\n"]]],["The core content details a method for checking a Booking Server's health status. Google monitors this status, and no request or return value is needed. The server's status is conveyed solely through HTTP status codes. A 200 (OK) code signifies a healthy server, while other HTTP status codes from a specified list indicate errors. Non-200 codes can impact integration status.\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/reservations/waitlists/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."]]