此方法会返回 候位名单条目(基于提供的候位名单条目 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 } } }