Skip to main content
GET
Get orders for a game
對於給定的 4casters 賽事 ID,回傳呼叫方在該賽事上的未成交訂單和已撮合(未結算)投注。此端點不回傳已結算投注 — 請使用 獲取已結算注單。

請求

GET /user/getOrdersForGame
string
必填
4casters 賽事 ID。

回應

array
該賽事上的未成交訂單陣列,按開賽時間升序排列。形態與 獲取未撮合訂單 相同。
array
該賽事上已撮合(未結算)投注的陣列。形態與 獲取已撮合投注 相同。

示例

錯誤

授權

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

查詢參數

gameID
string
必填

A 4casters game id (ObjectID). Get game ids from GET /exchange/v2/getGames or GET /exchange/v2/getOrderbook.

回應

Orders and matched bets for the requested game

data
object