เมธอด GetWaitlistEntry

เมธอดนี้จะแสดงเมธอด คิวรอเรียกสำหรับผู้ใช้ตามรหัสเข้าคิวรอที่ระบุ Actions Center จะโทรติดต่อศูนย์การดำเนินการเป็นระยะๆ เพื่อรับข้อมูลอัปเดตเกี่ยวกับ คิวรอเรียก ข้อมูลคิวรอควรดึงข้อมูลได้เป็นเวลา 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;
}

รับตัวอย่างรายการรอเรียก

รับคำขอ

{ "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 }
  }
}