GetWaitlistEntry 方法

這個方法會根據提供的候位項目條目 ID 傳回使用者的候位名單項目。「透過 Google 預訂」會定期呼叫使用者取得候位名單的最新項目。候補名單項目必須在建立後的 30 天內擷取。

要求

取得候位名單要求

傳回值

取得等候名單項目回應


// 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;
}