get WaitlistEntry का तरीका

यह तरीका नतीजे के तौर पर दिए गए वेटलिस्ट के एंट्री आईडी के आधार पर, उपयोगकर्ता के लिए वेटलिस्ट एंट्री. उपयोगकर्ता की समस्याओं के बारे में अपडेट पाने के लिए, कार्रवाई केंद्र समय-समय पर इसे कॉल करेगा वेटलिस्ट में शामिल होने का मौका. वेटलिस्ट में शामिल उपयोगकर्ताओं को 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;
}

GetwailistEntry के नमूने

अनुरोध पाएं

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