這個方法會傳回一個 根據提供的等候名單項目 ID 判斷使用者的等候名單項目。 動作中心會定期呼叫此項目,取得使用者的 加入等候名單。候位名單項目應可擷取 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; }
GetWaitlistEntry 範例
取得請求
{ "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 } } }