طريقة الحصول على قائمة الانتظار

تُرجع هذه الطريقة إدخال قائمة الانتظار لمستخدم استنادًا إلى رقم تعريف إدخال قائمة الانتظار المقدَّم. سيتصل "مركز الإجراءات" بهذا الاسم بشكل دوري للحصول على تحديثات بشأن إجراءات إدخال قائمة الانتظار. يجب أن تكون إدخالات قائمة الانتظار قابلة للاسترداد لمدة 30 يومًا من وقت إنشائه.

طلب

GetWaitlistEntryRequest

القيمة المعروضة

GetWaitlistEntryResponse

// Get the waitlist entry corresponding to the provided waitlist entry ID.
message GetWaitlistEntryRequest {
  // Required. The partner-provided waitlist entry ID to request info for.
  string waitlist_entry_id = 1;
}

// Response with the waitlist entry corresponding to the provided
// waitlist entry ID.
message GetWaitlistEntryResponse {
  // Required. The partner-provided information about a user’s waitlist entry.
  WaitlistEntry waitlist_entry = 1;
}

نماذج GetWlistEntry

الحصول على الطلب

{ "waitlist_entry_id": "MYS-1668739060" }

تلقّي ردّ

{
  "waitlist_entry": {
    "wait_estimate": {
      "party_size": 3,
      "wait_length": { "parties_ahead_count": 3 }
    },
    "waitlist_entry_state": "WAITING",
    "waitlist_entry_state_times": { "created_time_seconds": 1234567890 }
  }
}